Package odata.msgraph.client.beta.entity
Class TeamsAppDefinition
- java.lang.Object
-
- odata.msgraph.client.beta.entity.Entity
-
- odata.msgraph.client.beta.entity.TeamsAppDefinition
-
- All Implemented Interfaces:
com.github.davidmoten.odata.client.ODataEntityType,com.github.davidmoten.odata.client.ODataType
public class TeamsAppDefinition extends Entity implements com.github.davidmoten.odata.client.ODataEntityType
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classTeamsAppDefinition.Builder
-
Field Summary
Fields Modifier and Type Field Description protected TeamsAppInstallationScopesallowedInstallationScopesprotected StringazureADAppIdprotected IdentitySetcreatedByprotected Stringdescriptionprotected StringdisplayNameprotected OffsetDateTimelastModifiedDateTimeprotected TeamsAppPublishingStatepublishingStateprotected Stringshortdescriptionprotected StringteamsAppIdprotected Stringversion-
Fields inherited from class odata.msgraph.client.beta.entity.Entity
changedFields, contextPath, id, odataType, unmappedFields
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedTeamsAppDefinition()
-
Method Summary
-
-
-
Field Detail
-
allowedInstallationScopes
protected TeamsAppInstallationScopes allowedInstallationScopes
-
azureADAppId
protected String azureADAppId
-
createdBy
protected IdentitySet createdBy
-
description
protected String description
-
displayName
protected String displayName
-
lastModifiedDateTime
protected OffsetDateTime lastModifiedDateTime
-
publishingState
protected TeamsAppPublishingState publishingState
-
shortdescription
protected String shortdescription
-
teamsAppId
protected String teamsAppId
-
version
protected String version
-
-
Method Detail
-
odataTypeName
public String odataTypeName()
- Specified by:
odataTypeNamein interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
odataTypeNamein classEntity
-
builderTeamsAppDefinition
public static TeamsAppDefinition.Builder builderTeamsAppDefinition()
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
-
getAllowedInstallationScopes
public Optional<TeamsAppInstallationScopes> getAllowedInstallationScopes()
-
withAllowedInstallationScopes
public TeamsAppDefinition withAllowedInstallationScopes(TeamsAppInstallationScopes allowedInstallationScopes)
-
withAzureADAppId
public TeamsAppDefinition withAzureADAppId(String azureADAppId)
-
getCreatedBy
public Optional<IdentitySet> getCreatedBy()
-
withCreatedBy
public TeamsAppDefinition withCreatedBy(IdentitySet createdBy)
-
withDescription
public TeamsAppDefinition withDescription(String description)
-
withDisplayName
public TeamsAppDefinition withDisplayName(String displayName)
-
getLastModifiedDateTime
public Optional<OffsetDateTime> getLastModifiedDateTime()
-
withLastModifiedDateTime
public TeamsAppDefinition withLastModifiedDateTime(OffsetDateTime lastModifiedDateTime)
-
getPublishingState
public Optional<TeamsAppPublishingState> getPublishingState()
-
withPublishingState
public TeamsAppDefinition withPublishingState(TeamsAppPublishingState publishingState)
-
withShortdescription
public TeamsAppDefinition withShortdescription(String shortdescription)
-
withTeamsAppId
public TeamsAppDefinition withTeamsAppId(String teamsAppId)
-
withVersion
public TeamsAppDefinition withVersion(String version)
-
withUnmappedField
public TeamsAppDefinition withUnmappedField(String name, String value)
- Overrides:
withUnmappedFieldin classEntity
-
getBot
public TeamworkBotRequest getBot()
-
getColorIcon
public TeamsAppIconRequest getColorIcon()
-
getOutlineIcon
public TeamsAppIconRequest getOutlineIcon()
-
getUnmappedFields
public com.github.davidmoten.odata.client.UnmappedFields getUnmappedFields()
- Specified by:
getUnmappedFieldsin interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
getUnmappedFieldsin classEntity
-
patch
public TeamsAppDefinition patch()
Submits only changed fields for update and returns an immutable copy ofthiswith changed fields reset.
-
put
public TeamsAppDefinition put()
Submits all fields for update and returns an immutable copy ofthiswith changed fields reset (they were ignored anyway).
-
-