Class TenantTag
- java.lang.Object
-
- odata.msgraph.client.beta.entity.Entity
-
- odata.msgraph.client.beta.managed.tenants.entity.TenantTag
-
- All Implemented Interfaces:
com.github.davidmoten.odata.client.ODataEntityType,com.github.davidmoten.odata.client.ODataType
public class TenantTag extends Entity implements com.github.davidmoten.odata.client.ODataEntityType
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classTenantTag.Builder
-
Field Summary
Fields Modifier and Type Field Description protected StringcreatedByUserIdprotected OffsetDateTimecreatedDateTimeprotected OffsetDateTimedeletedDateTimeprotected Stringdescriptionprotected StringdisplayNameprotected StringlastActionByUserIdprotected OffsetDateTimelastActionDateTimeprotected List<TenantInfo>tenantsprotected StringtenantsNextLink-
Fields inherited from class odata.msgraph.client.beta.entity.Entity
changedFields, contextPath, id, odataType, unmappedFields
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedTenantTag()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description com.github.davidmoten.odata.client.ActionRequestReturningNonCollectionUnwrapped<TenantTag>assignTag(List<String> tenantIds)static TenantTag.BuilderbuilderTenantTag()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.internal.ChangedFieldsgetChangedFields()Optional<String>getCreatedByUserId()Optional<OffsetDateTime>getCreatedDateTime()Optional<OffsetDateTime>getDeletedDateTime()Optional<String>getDescription()Optional<String>getDisplayName()Optional<String>getLastActionByUserId()Optional<OffsetDateTime>getLastActionDateTime()com.github.davidmoten.odata.client.CollectionPage<TenantInfo>getTenants()com.github.davidmoten.odata.client.CollectionPage<TenantInfo>getTenants(com.github.davidmoten.odata.client.HttpRequestOptions options)com.github.davidmoten.odata.client.UnmappedFieldsgetUnmappedFields()StringodataTypeName()TenantTagpatch()Submits only changed fields for update and returns an immutable copy ofthiswith changed fields reset.voidpostInject(boolean addKeysToContextPath)TenantTagput()Submits all fields for update and returns an immutable copy ofthiswith changed fields reset (they were ignored anyway).StringtoString()com.github.davidmoten.odata.client.ActionRequestReturningNonCollectionUnwrapped<TenantTag>unassignTag(List<String> tenantIds)TenantTagwithCreatedByUserId(String createdByUserId)TenantTagwithCreatedDateTime(OffsetDateTime createdDateTime)TenantTagwithDeletedDateTime(OffsetDateTime deletedDateTime)TenantTagwithDescription(String description)TenantTagwithDisplayName(String displayName)TenantTagwithLastActionByUserId(String lastActionByUserId)TenantTagwithLastActionDateTime(OffsetDateTime lastActionDateTime)TenantTagwithTenants(List<TenantInfo> tenants)TenantTagwithUnmappedField(String name, String value)
-
-
-
Field Detail
-
createdByUserId
protected String createdByUserId
-
createdDateTime
protected OffsetDateTime createdDateTime
-
deletedDateTime
protected OffsetDateTime deletedDateTime
-
description
protected String description
-
displayName
protected String displayName
-
lastActionByUserId
protected String lastActionByUserId
-
lastActionDateTime
protected OffsetDateTime lastActionDateTime
-
tenants
protected List<TenantInfo> tenants
-
tenantsNextLink
protected String tenantsNextLink
-
-
Method Detail
-
odataTypeName
public String odataTypeName()
- Specified by:
odataTypeNamein interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
odataTypeNamein classEntity
-
builderTenantTag
public static TenantTag.Builder builderTenantTag()
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 TenantTag withCreatedDateTime(OffsetDateTime createdDateTime)
-
getDeletedDateTime
public Optional<OffsetDateTime> getDeletedDateTime()
-
withDeletedDateTime
public TenantTag withDeletedDateTime(OffsetDateTime deletedDateTime)
-
getLastActionDateTime
public Optional<OffsetDateTime> getLastActionDateTime()
-
withLastActionDateTime
public TenantTag withLastActionDateTime(OffsetDateTime lastActionDateTime)
-
getTenants
public com.github.davidmoten.odata.client.CollectionPage<TenantInfo> getTenants()
-
withTenants
public TenantTag withTenants(List<TenantInfo> tenants)
-
getTenants
public com.github.davidmoten.odata.client.CollectionPage<TenantInfo> getTenants(com.github.davidmoten.odata.client.HttpRequestOptions options)
-
withUnmappedField
public TenantTag withUnmappedField(String name, String value)
- Overrides:
withUnmappedFieldin classEntity
-
getUnmappedFields
public com.github.davidmoten.odata.client.UnmappedFields getUnmappedFields()
- Specified by:
getUnmappedFieldsin interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
getUnmappedFieldsin classEntity
-
patch
public TenantTag patch()
Submits only changed fields for update and returns an immutable copy ofthiswith changed fields reset.
-
put
public TenantTag put()
Submits all fields for update and returns an immutable copy ofthiswith changed fields reset (they were ignored anyway).
-
assignTag
public com.github.davidmoten.odata.client.ActionRequestReturningNonCollectionUnwrapped<TenantTag> assignTag(List<String> tenantIds)
-
unassignTag
public com.github.davidmoten.odata.client.ActionRequestReturningNonCollectionUnwrapped<TenantTag> unassignTag(List<String> tenantIds)
-
-