Package odata.msgraph.client.beta.entity
Class Channel
- java.lang.Object
-
- odata.msgraph.client.beta.entity.Entity
-
- odata.msgraph.client.beta.entity.Channel
-
- All Implemented Interfaces:
com.github.davidmoten.odata.client.ODataEntityType,com.github.davidmoten.odata.client.ODataType
public class Channel extends Entity implements com.github.davidmoten.odata.client.ODataEntityType
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classChannel.Builder
-
Field Summary
Fields Modifier and Type Field Description protected OffsetDateTimecreatedDateTimeprotected Stringdescriptionprotected StringdisplayNameprotected Stringemailprotected BooleanisFavoriteByDefaultprotected ChannelMembershipTypemembershipTypeprotected ChannelModerationSettingsmoderationSettingsprotected StringwebUrl-
Fields inherited from class odata.msgraph.client.beta.entity.Entity
changedFields, contextPath, id, odataType, unmappedFields
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedChannel()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static Channel.BuilderbuilderChannel()Returns a builder which is used to create a new instance of this class (given that this class is immutable).com.github.davidmoten.odata.client.ActionRequestNoReturncompleteMigration()com.github.davidmoten.odata.client.internal.ChangedFieldsgetChangedFields()Optional<OffsetDateTime>getCreatedDateTime()Optional<String>getDescription()Optional<String>getDisplayName()Optional<String>getEmail()DriveItemRequestgetFilesFolder()Optional<Boolean>getIsFavoriteByDefault()ConversationMemberCollectionRequestgetMembers()Optional<ChannelMembershipType>getMembershipType()ChatMessageCollectionRequestgetMessages()Org.OData.Capabilities.V1.ChangeTrackingOptional<ChannelModerationSettings>getModerationSettings()TeamsTabCollectionRequestgetTabs()com.github.davidmoten.odata.client.UnmappedFieldsgetUnmappedFields()Optional<String>getWebUrl()StringodataTypeName()Channelpatch()Submits only changed fields for update and returns an immutable copy ofthiswith changed fields reset.voidpostInject(boolean addKeysToContextPath)com.github.davidmoten.odata.client.ActionRequestReturningNonCollectionUnwrapped<ProvisionChannelEmailResult>provisionEmail()Channelput()Submits all fields for update and returns an immutable copy ofthiswith changed fields reset (they were ignored anyway).com.github.davidmoten.odata.client.ActionRequestNoReturnremoveEmail()StringtoString()ChannelwithCreatedDateTime(OffsetDateTime createdDateTime)ChannelwithDescription(String description)ChannelwithDisplayName(String displayName)ChannelwithEmail(String email)ChannelwithIsFavoriteByDefault(Boolean isFavoriteByDefault)ChannelwithMembershipType(ChannelMembershipType membershipType)ChannelwithModerationSettings(ChannelModerationSettings moderationSettings)ChannelwithUnmappedField(String name, String value)ChannelwithWebUrl(String webUrl)
-
-
-
Field Detail
-
createdDateTime
protected OffsetDateTime createdDateTime
-
description
protected String description
-
displayName
protected String displayName
-
email
protected String email
-
isFavoriteByDefault
protected Boolean isFavoriteByDefault
-
membershipType
protected ChannelMembershipType membershipType
-
moderationSettings
protected ChannelModerationSettings moderationSettings
-
webUrl
protected String webUrl
-
-
Method Detail
-
odataTypeName
public String odataTypeName()
- Specified by:
odataTypeNamein interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
odataTypeNamein classEntity
-
builderChannel
public static Channel.Builder builderChannel()
Returns a builder which is used to create a new instance of this class (given that this class is immutable).- Returns:
- a new Builder for this class
-
getChangedFields
public com.github.davidmoten.odata.client.internal.ChangedFields getChangedFields()
- Specified by:
getChangedFieldsin interfacecom.github.davidmoten.odata.client.ODataEntityType- Overrides:
getChangedFieldsin classEntity
-
postInject
public void postInject(boolean addKeysToContextPath)
- Specified by:
postInjectin interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
postInjectin classEntity
-
getCreatedDateTime
public Optional<OffsetDateTime> getCreatedDateTime()
-
withCreatedDateTime
public Channel withCreatedDateTime(OffsetDateTime createdDateTime)
-
getMembershipType
public Optional<ChannelMembershipType> getMembershipType()
-
withMembershipType
public Channel withMembershipType(ChannelMembershipType membershipType)
-
getModerationSettings
public Optional<ChannelModerationSettings> getModerationSettings()
-
withModerationSettings
public Channel withModerationSettings(ChannelModerationSettings moderationSettings)
-
withUnmappedField
public Channel withUnmappedField(String name, String value)
- Overrides:
withUnmappedFieldin classEntity
-
getFilesFolder
public DriveItemRequest getFilesFolder()
-
getMembers
public ConversationMemberCollectionRequest getMembers()
-
getMessages
public ChatMessageCollectionRequest getMessages()
Org.OData.Capabilities.V1.ChangeTracking
Supported = true
- Returns:
- navigational property messages
-
getTabs
public TeamsTabCollectionRequest getTabs()
-
getUnmappedFields
public com.github.davidmoten.odata.client.UnmappedFields getUnmappedFields()
- Specified by:
getUnmappedFieldsin interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
getUnmappedFieldsin classEntity
-
patch
public Channel patch()
Submits only changed fields for update and returns an immutable copy ofthiswith changed fields reset.
-
put
public Channel put()
Submits all fields for update and returns an immutable copy ofthiswith changed fields reset (they were ignored anyway).
-
completeMigration
public com.github.davidmoten.odata.client.ActionRequestNoReturn completeMigration()
-
provisionEmail
public com.github.davidmoten.odata.client.ActionRequestReturningNonCollectionUnwrapped<ProvisionChannelEmailResult> provisionEmail()
-
removeEmail
public com.github.davidmoten.odata.client.ActionRequestNoReturn removeEmail()
-
-