Package odata.msgraph.client.beta.entity
Class ConnectedOrganization
- java.lang.Object
-
- odata.msgraph.client.beta.entity.Entity
-
- odata.msgraph.client.beta.entity.ConnectedOrganization
-
- All Implemented Interfaces:
com.github.davidmoten.odata.client.ODataEntityType,com.github.davidmoten.odata.client.ODataType
public class ConnectedOrganization extends Entity implements com.github.davidmoten.odata.client.ODataEntityType
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classConnectedOrganization.Builder
-
Field Summary
Fields Modifier and Type Field Description protected StringcreatedByprotected OffsetDateTimecreatedDateTimeprotected Stringdescriptionprotected StringdisplayNameprotected List<IdentitySource>identitySourcesprotected StringidentitySourcesNextLinkprotected StringmodifiedByprotected OffsetDateTimemodifiedDateTimeprotected ConnectedOrganizationStatestate-
Fields inherited from class odata.msgraph.client.beta.entity.Entity
changedFields, contextPath, id, odataType, unmappedFields
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedConnectedOrganization()
-
Method Summary
-
-
-
Field Detail
-
createdBy
protected String createdBy
-
createdDateTime
protected OffsetDateTime createdDateTime
-
description
protected String description
-
displayName
protected String displayName
-
identitySources
protected List<IdentitySource> identitySources
-
identitySourcesNextLink
protected String identitySourcesNextLink
-
modifiedBy
protected String modifiedBy
-
modifiedDateTime
protected OffsetDateTime modifiedDateTime
-
state
protected ConnectedOrganizationState state
-
-
Method Detail
-
odataTypeName
public String odataTypeName()
- Specified by:
odataTypeNamein interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
odataTypeNamein classEntity
-
builderConnectedOrganization
public static ConnectedOrganization.Builder builderConnectedOrganization()
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
-
withCreatedBy
public ConnectedOrganization withCreatedBy(String createdBy)
-
getCreatedDateTime
public Optional<OffsetDateTime> getCreatedDateTime()
-
withCreatedDateTime
public ConnectedOrganization withCreatedDateTime(OffsetDateTime createdDateTime)
-
withDescription
public ConnectedOrganization withDescription(String description)
-
withDisplayName
public ConnectedOrganization withDisplayName(String displayName)
-
getIdentitySources
public com.github.davidmoten.odata.client.CollectionPage<IdentitySource> getIdentitySources()
-
withIdentitySources
public ConnectedOrganization withIdentitySources(List<IdentitySource> identitySources)
-
getIdentitySources
public com.github.davidmoten.odata.client.CollectionPage<IdentitySource> getIdentitySources(com.github.davidmoten.odata.client.HttpRequestOptions options)
-
withModifiedBy
public ConnectedOrganization withModifiedBy(String modifiedBy)
-
getModifiedDateTime
public Optional<OffsetDateTime> getModifiedDateTime()
-
withModifiedDateTime
public ConnectedOrganization withModifiedDateTime(OffsetDateTime modifiedDateTime)
-
getState
public Optional<ConnectedOrganizationState> getState()
-
withState
public ConnectedOrganization withState(ConnectedOrganizationState state)
-
withUnmappedField
public ConnectedOrganization withUnmappedField(String name, String value)
- Overrides:
withUnmappedFieldin classEntity
-
getExternalSponsors
public DirectoryObjectCollectionRequest getExternalSponsors()
-
getInternalSponsors
public DirectoryObjectCollectionRequest getInternalSponsors()
-
getUnmappedFields
public com.github.davidmoten.odata.client.UnmappedFields getUnmappedFields()
- Specified by:
getUnmappedFieldsin interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
getUnmappedFieldsin classEntity
-
patch
public ConnectedOrganization patch()
Submits only changed fields for update and returns an immutable copy ofthiswith changed fields reset.
-
put
public ConnectedOrganization put()
Submits all fields for update and returns an immutable copy ofthiswith changed fields reset (they were ignored anyway).
-
-