
odata.msgraph.client.entity.Application Maven / Gradle / Ivy
package odata.msgraph.client.entity;
import com.fasterxml.jackson.annotation.JsonAnyGetter;
import com.fasterxml.jackson.annotation.JsonAnySetter;
import com.fasterxml.jackson.annotation.JsonIgnore;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonInclude.Include;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.annotation.JsonPropertyOrder;
import com.github.davidmoten.guavamini.Preconditions;
import com.github.davidmoten.odata.client.ActionRequestNoReturn;
import com.github.davidmoten.odata.client.ActionRequestReturningNonCollectionUnwrapped;
import com.github.davidmoten.odata.client.ClientException;
import com.github.davidmoten.odata.client.CollectionPage;
import com.github.davidmoten.odata.client.HttpMethod;
import com.github.davidmoten.odata.client.HttpRequestOptions;
import com.github.davidmoten.odata.client.NameValue;
import com.github.davidmoten.odata.client.ODataEntityType;
import com.github.davidmoten.odata.client.RequestOptions;
import com.github.davidmoten.odata.client.StreamProvider;
import com.github.davidmoten.odata.client.StreamUploader;
import com.github.davidmoten.odata.client.StreamUploaderChunked;
import com.github.davidmoten.odata.client.StreamUploaderSingleCall;
import com.github.davidmoten.odata.client.UnmappedFields;
import com.github.davidmoten.odata.client.UploadStrategy;
import com.github.davidmoten.odata.client.Util;
import com.github.davidmoten.odata.client.annotation.Action;
import com.github.davidmoten.odata.client.annotation.NavigationProperty;
import com.github.davidmoten.odata.client.annotation.Property;
import com.github.davidmoten.odata.client.internal.ChangedFields;
import com.github.davidmoten.odata.client.internal.Checks;
import com.github.davidmoten.odata.client.internal.ParameterMap;
import com.github.davidmoten.odata.client.internal.RequestHelper;
import com.github.davidmoten.odata.client.internal.TypedObject;
import com.github.davidmoten.odata.client.internal.UnmappedFieldsImpl;
import java.lang.Boolean;
import java.lang.Object;
import java.lang.Override;
import java.lang.String;
import java.lang.StringBuilder;
import java.time.OffsetDateTime;
import java.util.Arrays;
import java.util.Collections;
import java.util.List;
import java.util.Map;
import java.util.Optional;
import odata.msgraph.client.complex.AddIn;
import odata.msgraph.client.complex.ApiApplication;
import odata.msgraph.client.complex.AppRole;
import odata.msgraph.client.complex.Certification;
import odata.msgraph.client.complex.InformationalUrl;
import odata.msgraph.client.complex.KeyCredential;
import odata.msgraph.client.complex.OptionalClaims;
import odata.msgraph.client.complex.ParentalControlSettings;
import odata.msgraph.client.complex.PasswordCredential;
import odata.msgraph.client.complex.PublicClientApplication;
import odata.msgraph.client.complex.RequiredResourceAccess;
import odata.msgraph.client.complex.SpaApplication;
import odata.msgraph.client.complex.VerifiedPublisher;
import odata.msgraph.client.complex.WebApplication;
import odata.msgraph.client.entity.collection.request.DirectoryObjectCollectionRequest;
import odata.msgraph.client.entity.collection.request.ExtensionPropertyCollectionRequest;
import odata.msgraph.client.entity.collection.request.FederatedIdentityCredentialCollectionRequest;
import odata.msgraph.client.entity.collection.request.HomeRealmDiscoveryPolicyCollectionRequest;
import odata.msgraph.client.entity.collection.request.TokenIssuancePolicyCollectionRequest;
import odata.msgraph.client.entity.collection.request.TokenLifetimePolicyCollectionRequest;
import odata.msgraph.client.entity.request.DirectoryObjectRequest;
/**
*
* Org.OData.Capabilities.V1.ChangeTracking
*
* Supported = true
*/@JsonPropertyOrder({
"@odata.type",
"addIns",
"api",
"appId",
"applicationTemplateId",
"appRoles",
"certification",
"createdDateTime",
"defaultRedirectUri",
"description",
"disabledByMicrosoftStatus",
"displayName",
"groupMembershipClaims",
"identifierUris",
"info",
"isDeviceOnlyAuthSupported",
"isFallbackPublicClient",
"keyCredentials",
"logo",
"notes",
"oauth2RequirePostResponse",
"optionalClaims",
"parentalControlSettings",
"passwordCredentials",
"publicClient",
"publisherDomain",
"requiredResourceAccess",
"samlMetadataUrl",
"serviceManagementReference",
"signInAudience",
"spa",
"tags",
"tokenEncryptionKeyId",
"verifiedPublisher",
"web"})
@JsonInclude(Include.NON_NULL)
public class Application extends DirectoryObject implements ODataEntityType {
@Override
public String odataTypeName() {
return "microsoft.graph.application";
}
@JsonProperty("addIns")
protected List addIns;
@JsonProperty("addIns@nextLink")
protected String addInsNextLink;
@JsonProperty("api")
protected ApiApplication api;
@JsonProperty("appId")
protected String appId;
@JsonProperty("applicationTemplateId")
protected String applicationTemplateId;
@JsonProperty("appRoles")
protected List appRoles;
@JsonProperty("appRoles@nextLink")
protected String appRolesNextLink;
@JsonProperty("certification")
protected Certification certification;
@JsonProperty("createdDateTime")
protected OffsetDateTime createdDateTime;
@JsonProperty("defaultRedirectUri")
protected String defaultRedirectUri;
@JsonProperty("description")
protected String description;
@JsonProperty("disabledByMicrosoftStatus")
protected String disabledByMicrosoftStatus;
@JsonProperty("displayName")
protected String displayName;
@JsonProperty("groupMembershipClaims")
protected String groupMembershipClaims;
@JsonProperty("identifierUris")
protected List identifierUris;
@JsonProperty("identifierUris@nextLink")
protected String identifierUrisNextLink;
@JsonProperty("info")
protected InformationalUrl info;
@JsonProperty("isDeviceOnlyAuthSupported")
protected Boolean isDeviceOnlyAuthSupported;
@JsonProperty("isFallbackPublicClient")
protected Boolean isFallbackPublicClient;
@JsonProperty("keyCredentials")
protected List keyCredentials;
@JsonProperty("keyCredentials@nextLink")
protected String keyCredentialsNextLink;
@JsonProperty("logo")
protected String logo;
@JsonProperty("notes")
protected String notes;
@JsonProperty("oauth2RequirePostResponse")
protected Boolean oauth2RequirePostResponse;
@JsonProperty("optionalClaims")
protected OptionalClaims optionalClaims;
@JsonProperty("parentalControlSettings")
protected ParentalControlSettings parentalControlSettings;
@JsonProperty("passwordCredentials")
protected List passwordCredentials;
@JsonProperty("passwordCredentials@nextLink")
protected String passwordCredentialsNextLink;
@JsonProperty("publicClient")
protected PublicClientApplication publicClient;
@JsonProperty("publisherDomain")
protected String publisherDomain;
@JsonProperty("requiredResourceAccess")
protected List requiredResourceAccess;
@JsonProperty("requiredResourceAccess@nextLink")
protected String requiredResourceAccessNextLink;
@JsonProperty("samlMetadataUrl")
protected String samlMetadataUrl;
@JsonProperty("serviceManagementReference")
protected String serviceManagementReference;
@JsonProperty("signInAudience")
protected String signInAudience;
@JsonProperty("spa")
protected SpaApplication spa;
@JsonProperty("tags")
protected List tags;
@JsonProperty("tags@nextLink")
protected String tagsNextLink;
@JsonProperty("tokenEncryptionKeyId")
protected String tokenEncryptionKeyId;
@JsonProperty("verifiedPublisher")
protected VerifiedPublisher verifiedPublisher;
@JsonProperty("web")
protected WebApplication web;
protected Application() {
super();
}
/**
* Returns a builder which is used to create a new
* instance of this class (given that this class is immutable).
*
* @return a new Builder for this class
*/
// Suffix used on builder factory method to differentiate the method
// from static builder methods on superclasses
public static Builder builderApplication() {
return new Builder();
}
public static final class Builder {
private String id;
private OffsetDateTime deletedDateTime;
private List addIns;
private String addInsNextLink;
private ApiApplication api;
private String appId;
private String applicationTemplateId;
private List appRoles;
private String appRolesNextLink;
private Certification certification;
private OffsetDateTime createdDateTime;
private String defaultRedirectUri;
private String description;
private String disabledByMicrosoftStatus;
private String displayName;
private String groupMembershipClaims;
private List identifierUris;
private String identifierUrisNextLink;
private InformationalUrl info;
private Boolean isDeviceOnlyAuthSupported;
private Boolean isFallbackPublicClient;
private List keyCredentials;
private String keyCredentialsNextLink;
private String logo;
private String notes;
private Boolean oauth2RequirePostResponse;
private OptionalClaims optionalClaims;
private ParentalControlSettings parentalControlSettings;
private List passwordCredentials;
private String passwordCredentialsNextLink;
private PublicClientApplication publicClient;
private String publisherDomain;
private List requiredResourceAccess;
private String requiredResourceAccessNextLink;
private String samlMetadataUrl;
private String serviceManagementReference;
private String signInAudience;
private SpaApplication spa;
private List tags;
private String tagsNextLink;
private String tokenEncryptionKeyId;
private VerifiedPublisher verifiedPublisher;
private WebApplication web;
private ChangedFields changedFields = ChangedFields.EMPTY;
Builder() {
// prevent instantiation
}
public Builder id(String id) {
this.id = id;
this.changedFields = changedFields.add("id");
return this;
}
public Builder deletedDateTime(OffsetDateTime deletedDateTime) {
this.deletedDateTime = deletedDateTime;
this.changedFields = changedFields.add("deletedDateTime");
return this;
}
public Builder addIns(List addIns) {
this.addIns = addIns;
this.changedFields = changedFields.add("addIns");
return this;
}
public Builder addIns(AddIn... addIns) {
return addIns(Arrays.asList(addIns));
}
public Builder addInsNextLink(String addInsNextLink) {
this.addInsNextLink = addInsNextLink;
this.changedFields = changedFields.add("addIns");
return this;
}
public Builder api(ApiApplication api) {
this.api = api;
this.changedFields = changedFields.add("api");
return this;
}
public Builder appId(String appId) {
this.appId = appId;
this.changedFields = changedFields.add("appId");
return this;
}
public Builder applicationTemplateId(String applicationTemplateId) {
this.applicationTemplateId = applicationTemplateId;
this.changedFields = changedFields.add("applicationTemplateId");
return this;
}
public Builder appRoles(List appRoles) {
this.appRoles = appRoles;
this.changedFields = changedFields.add("appRoles");
return this;
}
public Builder appRoles(AppRole... appRoles) {
return appRoles(Arrays.asList(appRoles));
}
public Builder appRolesNextLink(String appRolesNextLink) {
this.appRolesNextLink = appRolesNextLink;
this.changedFields = changedFields.add("appRoles");
return this;
}
public Builder certification(Certification certification) {
this.certification = certification;
this.changedFields = changedFields.add("certification");
return this;
}
public Builder createdDateTime(OffsetDateTime createdDateTime) {
this.createdDateTime = createdDateTime;
this.changedFields = changedFields.add("createdDateTime");
return this;
}
public Builder defaultRedirectUri(String defaultRedirectUri) {
this.defaultRedirectUri = defaultRedirectUri;
this.changedFields = changedFields.add("defaultRedirectUri");
return this;
}
public Builder description(String description) {
this.description = description;
this.changedFields = changedFields.add("description");
return this;
}
public Builder disabledByMicrosoftStatus(String disabledByMicrosoftStatus) {
this.disabledByMicrosoftStatus = disabledByMicrosoftStatus;
this.changedFields = changedFields.add("disabledByMicrosoftStatus");
return this;
}
public Builder displayName(String displayName) {
this.displayName = displayName;
this.changedFields = changedFields.add("displayName");
return this;
}
public Builder groupMembershipClaims(String groupMembershipClaims) {
this.groupMembershipClaims = groupMembershipClaims;
this.changedFields = changedFields.add("groupMembershipClaims");
return this;
}
public Builder identifierUris(List identifierUris) {
this.identifierUris = identifierUris;
this.changedFields = changedFields.add("identifierUris");
return this;
}
public Builder identifierUris(String... identifierUris) {
return identifierUris(Arrays.asList(identifierUris));
}
public Builder identifierUrisNextLink(String identifierUrisNextLink) {
this.identifierUrisNextLink = identifierUrisNextLink;
this.changedFields = changedFields.add("identifierUris");
return this;
}
public Builder info(InformationalUrl info) {
this.info = info;
this.changedFields = changedFields.add("info");
return this;
}
public Builder isDeviceOnlyAuthSupported(Boolean isDeviceOnlyAuthSupported) {
this.isDeviceOnlyAuthSupported = isDeviceOnlyAuthSupported;
this.changedFields = changedFields.add("isDeviceOnlyAuthSupported");
return this;
}
public Builder isFallbackPublicClient(Boolean isFallbackPublicClient) {
this.isFallbackPublicClient = isFallbackPublicClient;
this.changedFields = changedFields.add("isFallbackPublicClient");
return this;
}
public Builder keyCredentials(List keyCredentials) {
this.keyCredentials = keyCredentials;
this.changedFields = changedFields.add("keyCredentials");
return this;
}
public Builder keyCredentials(KeyCredential... keyCredentials) {
return keyCredentials(Arrays.asList(keyCredentials));
}
public Builder keyCredentialsNextLink(String keyCredentialsNextLink) {
this.keyCredentialsNextLink = keyCredentialsNextLink;
this.changedFields = changedFields.add("keyCredentials");
return this;
}
public Builder logo(String logo) {
this.logo = logo;
this.changedFields = changedFields.add("logo");
return this;
}
public Builder notes(String notes) {
this.notes = notes;
this.changedFields = changedFields.add("notes");
return this;
}
public Builder oauth2RequirePostResponse(Boolean oauth2RequirePostResponse) {
this.oauth2RequirePostResponse = oauth2RequirePostResponse;
this.changedFields = changedFields.add("oauth2RequirePostResponse");
return this;
}
public Builder optionalClaims(OptionalClaims optionalClaims) {
this.optionalClaims = optionalClaims;
this.changedFields = changedFields.add("optionalClaims");
return this;
}
public Builder parentalControlSettings(ParentalControlSettings parentalControlSettings) {
this.parentalControlSettings = parentalControlSettings;
this.changedFields = changedFields.add("parentalControlSettings");
return this;
}
public Builder passwordCredentials(List passwordCredentials) {
this.passwordCredentials = passwordCredentials;
this.changedFields = changedFields.add("passwordCredentials");
return this;
}
public Builder passwordCredentials(PasswordCredential... passwordCredentials) {
return passwordCredentials(Arrays.asList(passwordCredentials));
}
public Builder passwordCredentialsNextLink(String passwordCredentialsNextLink) {
this.passwordCredentialsNextLink = passwordCredentialsNextLink;
this.changedFields = changedFields.add("passwordCredentials");
return this;
}
public Builder publicClient(PublicClientApplication publicClient) {
this.publicClient = publicClient;
this.changedFields = changedFields.add("publicClient");
return this;
}
public Builder publisherDomain(String publisherDomain) {
this.publisherDomain = publisherDomain;
this.changedFields = changedFields.add("publisherDomain");
return this;
}
public Builder requiredResourceAccess(List requiredResourceAccess) {
this.requiredResourceAccess = requiredResourceAccess;
this.changedFields = changedFields.add("requiredResourceAccess");
return this;
}
public Builder requiredResourceAccess(RequiredResourceAccess... requiredResourceAccess) {
return requiredResourceAccess(Arrays.asList(requiredResourceAccess));
}
public Builder requiredResourceAccessNextLink(String requiredResourceAccessNextLink) {
this.requiredResourceAccessNextLink = requiredResourceAccessNextLink;
this.changedFields = changedFields.add("requiredResourceAccess");
return this;
}
public Builder samlMetadataUrl(String samlMetadataUrl) {
this.samlMetadataUrl = samlMetadataUrl;
this.changedFields = changedFields.add("samlMetadataUrl");
return this;
}
public Builder serviceManagementReference(String serviceManagementReference) {
this.serviceManagementReference = serviceManagementReference;
this.changedFields = changedFields.add("serviceManagementReference");
return this;
}
public Builder signInAudience(String signInAudience) {
this.signInAudience = signInAudience;
this.changedFields = changedFields.add("signInAudience");
return this;
}
public Builder spa(SpaApplication spa) {
this.spa = spa;
this.changedFields = changedFields.add("spa");
return this;
}
public Builder tags(List tags) {
this.tags = tags;
this.changedFields = changedFields.add("tags");
return this;
}
public Builder tags(String... tags) {
return tags(Arrays.asList(tags));
}
public Builder tagsNextLink(String tagsNextLink) {
this.tagsNextLink = tagsNextLink;
this.changedFields = changedFields.add("tags");
return this;
}
public Builder tokenEncryptionKeyId(String tokenEncryptionKeyId) {
this.tokenEncryptionKeyId = tokenEncryptionKeyId;
this.changedFields = changedFields.add("tokenEncryptionKeyId");
return this;
}
public Builder verifiedPublisher(VerifiedPublisher verifiedPublisher) {
this.verifiedPublisher = verifiedPublisher;
this.changedFields = changedFields.add("verifiedPublisher");
return this;
}
public Builder web(WebApplication web) {
this.web = web;
this.changedFields = changedFields.add("web");
return this;
}
public Application build() {
Application _x = new Application();
_x.contextPath = null;
_x.changedFields = changedFields;
_x.unmappedFields = new UnmappedFieldsImpl();
_x.odataType = "microsoft.graph.application";
_x.id = id;
_x.deletedDateTime = deletedDateTime;
_x.addIns = addIns;
_x.addInsNextLink = addInsNextLink;
_x.api = api;
_x.appId = appId;
_x.applicationTemplateId = applicationTemplateId;
_x.appRoles = appRoles;
_x.appRolesNextLink = appRolesNextLink;
_x.certification = certification;
_x.createdDateTime = createdDateTime;
_x.defaultRedirectUri = defaultRedirectUri;
_x.description = description;
_x.disabledByMicrosoftStatus = disabledByMicrosoftStatus;
_x.displayName = displayName;
_x.groupMembershipClaims = groupMembershipClaims;
_x.identifierUris = identifierUris;
_x.identifierUrisNextLink = identifierUrisNextLink;
_x.info = info;
_x.isDeviceOnlyAuthSupported = isDeviceOnlyAuthSupported;
_x.isFallbackPublicClient = isFallbackPublicClient;
_x.keyCredentials = keyCredentials;
_x.keyCredentialsNextLink = keyCredentialsNextLink;
_x.logo = logo;
_x.notes = notes;
_x.oauth2RequirePostResponse = oauth2RequirePostResponse;
_x.optionalClaims = optionalClaims;
_x.parentalControlSettings = parentalControlSettings;
_x.passwordCredentials = passwordCredentials;
_x.passwordCredentialsNextLink = passwordCredentialsNextLink;
_x.publicClient = publicClient;
_x.publisherDomain = publisherDomain;
_x.requiredResourceAccess = requiredResourceAccess;
_x.requiredResourceAccessNextLink = requiredResourceAccessNextLink;
_x.samlMetadataUrl = samlMetadataUrl;
_x.serviceManagementReference = serviceManagementReference;
_x.signInAudience = signInAudience;
_x.spa = spa;
_x.tags = tags;
_x.tagsNextLink = tagsNextLink;
_x.tokenEncryptionKeyId = tokenEncryptionKeyId;
_x.verifiedPublisher = verifiedPublisher;
_x.web = web;
return _x;
}
}
@Override
@JsonIgnore
public ChangedFields getChangedFields() {
return changedFields;
}
@Override
public void postInject(boolean addKeysToContextPath) {
if (addKeysToContextPath && id != null) {
contextPath = contextPath.clearQueries().addKeys(new NameValue(id.toString()));
}
}
@Property(name="addIns")
@JsonIgnore
public CollectionPage getAddIns() {
return new CollectionPage(contextPath, AddIn.class, this.addIns, Optional.ofNullable(addInsNextLink), Collections.emptyList(), HttpRequestOptions.EMPTY);
}
public Application withAddIns(List addIns) {
Application _x = _copy();
_x.changedFields = changedFields.add("addIns");
_x.odataType = Util.nvl(odataType, "microsoft.graph.application");
_x.addIns = addIns;
return _x;
}
@Property(name="addIns")
@JsonIgnore
public CollectionPage getAddIns(HttpRequestOptions options) {
return new CollectionPage(contextPath, AddIn.class, this.addIns, Optional.ofNullable(addInsNextLink), Collections.emptyList(), options);
}
@Property(name="api")
@JsonIgnore
public Optional getApi() {
return Optional.ofNullable(api);
}
public Application withApi(ApiApplication api) {
Application _x = _copy();
_x.changedFields = changedFields.add("api");
_x.odataType = Util.nvl(odataType, "microsoft.graph.application");
_x.api = api;
return _x;
}
@Property(name="appId")
@JsonIgnore
public Optional getAppId() {
return Optional.ofNullable(appId);
}
public Application withAppId(String appId) {
Application _x = _copy();
_x.changedFields = changedFields.add("appId");
_x.odataType = Util.nvl(odataType, "microsoft.graph.application");
_x.appId = appId;
return _x;
}
@Property(name="applicationTemplateId")
@JsonIgnore
public Optional getApplicationTemplateId() {
return Optional.ofNullable(applicationTemplateId);
}
public Application withApplicationTemplateId(String applicationTemplateId) {
Application _x = _copy();
_x.changedFields = changedFields.add("applicationTemplateId");
_x.odataType = Util.nvl(odataType, "microsoft.graph.application");
_x.applicationTemplateId = applicationTemplateId;
return _x;
}
@Property(name="appRoles")
@JsonIgnore
public CollectionPage getAppRoles() {
return new CollectionPage(contextPath, AppRole.class, this.appRoles, Optional.ofNullable(appRolesNextLink), Collections.emptyList(), HttpRequestOptions.EMPTY);
}
public Application withAppRoles(List appRoles) {
Application _x = _copy();
_x.changedFields = changedFields.add("appRoles");
_x.odataType = Util.nvl(odataType, "microsoft.graph.application");
_x.appRoles = appRoles;
return _x;
}
@Property(name="appRoles")
@JsonIgnore
public CollectionPage getAppRoles(HttpRequestOptions options) {
return new CollectionPage(contextPath, AppRole.class, this.appRoles, Optional.ofNullable(appRolesNextLink), Collections.emptyList(), options);
}
@Property(name="certification")
@JsonIgnore
public Optional getCertification() {
return Optional.ofNullable(certification);
}
public Application withCertification(Certification certification) {
Application _x = _copy();
_x.changedFields = changedFields.add("certification");
_x.odataType = Util.nvl(odataType, "microsoft.graph.application");
_x.certification = certification;
return _x;
}
@Property(name="createdDateTime")
@JsonIgnore
public Optional getCreatedDateTime() {
return Optional.ofNullable(createdDateTime);
}
public Application withCreatedDateTime(OffsetDateTime createdDateTime) {
Application _x = _copy();
_x.changedFields = changedFields.add("createdDateTime");
_x.odataType = Util.nvl(odataType, "microsoft.graph.application");
_x.createdDateTime = createdDateTime;
return _x;
}
@Property(name="defaultRedirectUri")
@JsonIgnore
public Optional getDefaultRedirectUri() {
return Optional.ofNullable(defaultRedirectUri);
}
public Application withDefaultRedirectUri(String defaultRedirectUri) {
Application _x = _copy();
_x.changedFields = changedFields.add("defaultRedirectUri");
_x.odataType = Util.nvl(odataType, "microsoft.graph.application");
_x.defaultRedirectUri = defaultRedirectUri;
return _x;
}
@Property(name="description")
@JsonIgnore
public Optional getDescription() {
return Optional.ofNullable(description);
}
public Application withDescription(String description) {
Application _x = _copy();
_x.changedFields = changedFields.add("description");
_x.odataType = Util.nvl(odataType, "microsoft.graph.application");
_x.description = description;
return _x;
}
@Property(name="disabledByMicrosoftStatus")
@JsonIgnore
public Optional getDisabledByMicrosoftStatus() {
return Optional.ofNullable(disabledByMicrosoftStatus);
}
public Application withDisabledByMicrosoftStatus(String disabledByMicrosoftStatus) {
Application _x = _copy();
_x.changedFields = changedFields.add("disabledByMicrosoftStatus");
_x.odataType = Util.nvl(odataType, "microsoft.graph.application");
_x.disabledByMicrosoftStatus = disabledByMicrosoftStatus;
return _x;
}
@Property(name="displayName")
@JsonIgnore
public Optional getDisplayName() {
return Optional.ofNullable(displayName);
}
public Application withDisplayName(String displayName) {
Application _x = _copy();
_x.changedFields = changedFields.add("displayName");
_x.odataType = Util.nvl(odataType, "microsoft.graph.application");
_x.displayName = displayName;
return _x;
}
@Property(name="groupMembershipClaims")
@JsonIgnore
public Optional getGroupMembershipClaims() {
return Optional.ofNullable(groupMembershipClaims);
}
public Application withGroupMembershipClaims(String groupMembershipClaims) {
Application _x = _copy();
_x.changedFields = changedFields.add("groupMembershipClaims");
_x.odataType = Util.nvl(odataType, "microsoft.graph.application");
_x.groupMembershipClaims = groupMembershipClaims;
return _x;
}
@Property(name="identifierUris")
@JsonIgnore
public CollectionPage getIdentifierUris() {
return new CollectionPage(contextPath, String.class, this.identifierUris, Optional.ofNullable(identifierUrisNextLink), Collections.emptyList(), HttpRequestOptions.EMPTY);
}
public Application withIdentifierUris(List identifierUris) {
Application _x = _copy();
_x.changedFields = changedFields.add("identifierUris");
_x.odataType = Util.nvl(odataType, "microsoft.graph.application");
_x.identifierUris = identifierUris;
return _x;
}
@Property(name="identifierUris")
@JsonIgnore
public CollectionPage getIdentifierUris(HttpRequestOptions options) {
return new CollectionPage(contextPath, String.class, this.identifierUris, Optional.ofNullable(identifierUrisNextLink), Collections.emptyList(), options);
}
@Property(name="info")
@JsonIgnore
public Optional getInfo() {
return Optional.ofNullable(info);
}
public Application withInfo(InformationalUrl info) {
Application _x = _copy();
_x.changedFields = changedFields.add("info");
_x.odataType = Util.nvl(odataType, "microsoft.graph.application");
_x.info = info;
return _x;
}
@Property(name="isDeviceOnlyAuthSupported")
@JsonIgnore
public Optional getIsDeviceOnlyAuthSupported() {
return Optional.ofNullable(isDeviceOnlyAuthSupported);
}
public Application withIsDeviceOnlyAuthSupported(Boolean isDeviceOnlyAuthSupported) {
Application _x = _copy();
_x.changedFields = changedFields.add("isDeviceOnlyAuthSupported");
_x.odataType = Util.nvl(odataType, "microsoft.graph.application");
_x.isDeviceOnlyAuthSupported = isDeviceOnlyAuthSupported;
return _x;
}
@Property(name="isFallbackPublicClient")
@JsonIgnore
public Optional getIsFallbackPublicClient() {
return Optional.ofNullable(isFallbackPublicClient);
}
public Application withIsFallbackPublicClient(Boolean isFallbackPublicClient) {
Application _x = _copy();
_x.changedFields = changedFields.add("isFallbackPublicClient");
_x.odataType = Util.nvl(odataType, "microsoft.graph.application");
_x.isFallbackPublicClient = isFallbackPublicClient;
return _x;
}
@Property(name="keyCredentials")
@JsonIgnore
public CollectionPage getKeyCredentials() {
return new CollectionPage(contextPath, KeyCredential.class, this.keyCredentials, Optional.ofNullable(keyCredentialsNextLink), Collections.emptyList(), HttpRequestOptions.EMPTY);
}
public Application withKeyCredentials(List keyCredentials) {
Application _x = _copy();
_x.changedFields = changedFields.add("keyCredentials");
_x.odataType = Util.nvl(odataType, "microsoft.graph.application");
_x.keyCredentials = keyCredentials;
return _x;
}
@Property(name="keyCredentials")
@JsonIgnore
public CollectionPage getKeyCredentials(HttpRequestOptions options) {
return new CollectionPage(contextPath, KeyCredential.class, this.keyCredentials, Optional.ofNullable(keyCredentialsNextLink), Collections.emptyList(), options);
}
@Property(name="logo")
@JsonIgnore
public Optional getLogo() {
return RequestHelper.createStreamForEdmStream(contextPath, this, "logo", logo);
}
/**
* If metadata indicate that the stream is editable then returns
* a {@link StreamUploader} which can be used to upload the stream
* to the {@code logo} property, using HTTP POST.
*
* @return a StreamUploader if upload permitted
*/
@Property(name="logo")
public Optional postLogo() {
return postLogo(UploadStrategy.singleCall());
}
/**
* If metadata indicate that the stream is editable then returns
* a {@link StreamUploaderChunked} which can be used to upload the stream
* to the {@code logo} property, using HTTP POST.
*
* @return a StreamUploaderChunked if upload permitted
*/
@Property(name="logo")
public Optional postChunkedLogo() {
return postLogo(UploadStrategy.chunked());
}
@Property(name="logo")
public > Optional postLogo(UploadStrategy strategy) {
return strategy.builder(contextPath.addSegment("logo"), this, "logo", HttpMethod.POST);
}
/**
* If metadata indicate that the stream is editable then returns
* a {@link StreamUploader} which can be used to upload the stream
* to the {@code logo} property, using HTTP PATCH.
*
* @return a StreamUploader if upload permitted
*/
@Property(name="logo")
public Optional patchLogo() {
return patchLogo(UploadStrategy.singleCall());
}
/**
* If metadata indicate that the stream is editable then returns
* a {@link StreamUploaderChunked} which can be used to upload the stream
* to the {@code logo} property, using HTTP PATCH.
*
* @return a StreamUploaderChunked if upload permitted
*/
@Property(name="logo")
public Optional patchChunkedLogo() {
return patchLogo(UploadStrategy.chunked());
}
@Property(name="logo")
public > Optional patchLogo(UploadStrategy strategy) {
return strategy.builder(contextPath.addSegment("logo"), this, "logo", HttpMethod.PATCH);
}
/**
* If metadata indicate that the stream is editable then returns
* a {@link StreamUploader} which can be used to upload the stream
* to the {@code logo} property, using HTTP PUT.
*
* @return a StreamUploader if upload permitted
*/
@Property(name="logo")
public Optional putLogo() {
return putLogo(UploadStrategy.singleCall());
}
/**
* If metadata indicate that the stream is editable then returns
* a {@link StreamUploaderChunked} which can be used to upload the stream
* to the {@code logo} property, using HTTP PUT.
*
* @return a StreamUploaderChunked if upload permitted
*/
@Property(name="logo")
public Optional putChunkedLogo() {
return putLogo(UploadStrategy.chunked());
}
@Property(name="logo")
public > Optional putLogo(UploadStrategy strategy) {
return strategy.builder(contextPath.addSegment("logo"), this, "logo", HttpMethod.PUT);
}
@Property(name="notes")
@JsonIgnore
public Optional getNotes() {
return Optional.ofNullable(notes);
}
public Application withNotes(String notes) {
Application _x = _copy();
_x.changedFields = changedFields.add("notes");
_x.odataType = Util.nvl(odataType, "microsoft.graph.application");
_x.notes = notes;
return _x;
}
@Property(name="oauth2RequirePostResponse")
@JsonIgnore
public Optional getOauth2RequirePostResponse() {
return Optional.ofNullable(oauth2RequirePostResponse);
}
public Application withOauth2RequirePostResponse(Boolean oauth2RequirePostResponse) {
Application _x = _copy();
_x.changedFields = changedFields.add("oauth2RequirePostResponse");
_x.odataType = Util.nvl(odataType, "microsoft.graph.application");
_x.oauth2RequirePostResponse = oauth2RequirePostResponse;
return _x;
}
@Property(name="optionalClaims")
@JsonIgnore
public Optional getOptionalClaims() {
return Optional.ofNullable(optionalClaims);
}
public Application withOptionalClaims(OptionalClaims optionalClaims) {
Application _x = _copy();
_x.changedFields = changedFields.add("optionalClaims");
_x.odataType = Util.nvl(odataType, "microsoft.graph.application");
_x.optionalClaims = optionalClaims;
return _x;
}
@Property(name="parentalControlSettings")
@JsonIgnore
public Optional getParentalControlSettings() {
return Optional.ofNullable(parentalControlSettings);
}
public Application withParentalControlSettings(ParentalControlSettings parentalControlSettings) {
Application _x = _copy();
_x.changedFields = changedFields.add("parentalControlSettings");
_x.odataType = Util.nvl(odataType, "microsoft.graph.application");
_x.parentalControlSettings = parentalControlSettings;
return _x;
}
@Property(name="passwordCredentials")
@JsonIgnore
public CollectionPage getPasswordCredentials() {
return new CollectionPage(contextPath, PasswordCredential.class, this.passwordCredentials, Optional.ofNullable(passwordCredentialsNextLink), Collections.emptyList(), HttpRequestOptions.EMPTY);
}
public Application withPasswordCredentials(List passwordCredentials) {
Application _x = _copy();
_x.changedFields = changedFields.add("passwordCredentials");
_x.odataType = Util.nvl(odataType, "microsoft.graph.application");
_x.passwordCredentials = passwordCredentials;
return _x;
}
@Property(name="passwordCredentials")
@JsonIgnore
public CollectionPage getPasswordCredentials(HttpRequestOptions options) {
return new CollectionPage(contextPath, PasswordCredential.class, this.passwordCredentials, Optional.ofNullable(passwordCredentialsNextLink), Collections.emptyList(), options);
}
@Property(name="publicClient")
@JsonIgnore
public Optional getPublicClient() {
return Optional.ofNullable(publicClient);
}
public Application withPublicClient(PublicClientApplication publicClient) {
Application _x = _copy();
_x.changedFields = changedFields.add("publicClient");
_x.odataType = Util.nvl(odataType, "microsoft.graph.application");
_x.publicClient = publicClient;
return _x;
}
@Property(name="publisherDomain")
@JsonIgnore
public Optional getPublisherDomain() {
return Optional.ofNullable(publisherDomain);
}
public Application withPublisherDomain(String publisherDomain) {
Application _x = _copy();
_x.changedFields = changedFields.add("publisherDomain");
_x.odataType = Util.nvl(odataType, "microsoft.graph.application");
_x.publisherDomain = publisherDomain;
return _x;
}
@Property(name="requiredResourceAccess")
@JsonIgnore
public CollectionPage getRequiredResourceAccess() {
return new CollectionPage(contextPath, RequiredResourceAccess.class, this.requiredResourceAccess, Optional.ofNullable(requiredResourceAccessNextLink), Collections.emptyList(), HttpRequestOptions.EMPTY);
}
public Application withRequiredResourceAccess(List requiredResourceAccess) {
Application _x = _copy();
_x.changedFields = changedFields.add("requiredResourceAccess");
_x.odataType = Util.nvl(odataType, "microsoft.graph.application");
_x.requiredResourceAccess = requiredResourceAccess;
return _x;
}
@Property(name="requiredResourceAccess")
@JsonIgnore
public CollectionPage getRequiredResourceAccess(HttpRequestOptions options) {
return new CollectionPage(contextPath, RequiredResourceAccess.class, this.requiredResourceAccess, Optional.ofNullable(requiredResourceAccessNextLink), Collections.emptyList(), options);
}
@Property(name="samlMetadataUrl")
@JsonIgnore
public Optional getSamlMetadataUrl() {
return Optional.ofNullable(samlMetadataUrl);
}
public Application withSamlMetadataUrl(String samlMetadataUrl) {
Application _x = _copy();
_x.changedFields = changedFields.add("samlMetadataUrl");
_x.odataType = Util.nvl(odataType, "microsoft.graph.application");
_x.samlMetadataUrl = samlMetadataUrl;
return _x;
}
@Property(name="serviceManagementReference")
@JsonIgnore
public Optional getServiceManagementReference() {
return Optional.ofNullable(serviceManagementReference);
}
public Application withServiceManagementReference(String serviceManagementReference) {
Application _x = _copy();
_x.changedFields = changedFields.add("serviceManagementReference");
_x.odataType = Util.nvl(odataType, "microsoft.graph.application");
_x.serviceManagementReference = serviceManagementReference;
return _x;
}
@Property(name="signInAudience")
@JsonIgnore
public Optional getSignInAudience() {
return Optional.ofNullable(signInAudience);
}
public Application withSignInAudience(String signInAudience) {
Application _x = _copy();
_x.changedFields = changedFields.add("signInAudience");
_x.odataType = Util.nvl(odataType, "microsoft.graph.application");
_x.signInAudience = signInAudience;
return _x;
}
@Property(name="spa")
@JsonIgnore
public Optional getSpa() {
return Optional.ofNullable(spa);
}
public Application withSpa(SpaApplication spa) {
Application _x = _copy();
_x.changedFields = changedFields.add("spa");
_x.odataType = Util.nvl(odataType, "microsoft.graph.application");
_x.spa = spa;
return _x;
}
@Property(name="tags")
@JsonIgnore
public CollectionPage getTags() {
return new CollectionPage(contextPath, String.class, this.tags, Optional.ofNullable(tagsNextLink), Collections.emptyList(), HttpRequestOptions.EMPTY);
}
public Application withTags(List tags) {
Application _x = _copy();
_x.changedFields = changedFields.add("tags");
_x.odataType = Util.nvl(odataType, "microsoft.graph.application");
_x.tags = tags;
return _x;
}
@Property(name="tags")
@JsonIgnore
public CollectionPage getTags(HttpRequestOptions options) {
return new CollectionPage(contextPath, String.class, this.tags, Optional.ofNullable(tagsNextLink), Collections.emptyList(), options);
}
@Property(name="tokenEncryptionKeyId")
@JsonIgnore
public Optional getTokenEncryptionKeyId() {
return Optional.ofNullable(tokenEncryptionKeyId);
}
public Application withTokenEncryptionKeyId(String tokenEncryptionKeyId) {
Application _x = _copy();
_x.changedFields = changedFields.add("tokenEncryptionKeyId");
_x.odataType = Util.nvl(odataType, "microsoft.graph.application");
_x.tokenEncryptionKeyId = tokenEncryptionKeyId;
return _x;
}
@Property(name="verifiedPublisher")
@JsonIgnore
public Optional getVerifiedPublisher() {
return Optional.ofNullable(verifiedPublisher);
}
public Application withVerifiedPublisher(VerifiedPublisher verifiedPublisher) {
Application _x = _copy();
_x.changedFields = changedFields.add("verifiedPublisher");
_x.odataType = Util.nvl(odataType, "microsoft.graph.application");
_x.verifiedPublisher = verifiedPublisher;
return _x;
}
@Property(name="web")
@JsonIgnore
public Optional getWeb() {
return Optional.ofNullable(web);
}
public Application withWeb(WebApplication web) {
Application _x = _copy();
_x.changedFields = changedFields.add("web");
_x.odataType = Util.nvl(odataType, "microsoft.graph.application");
_x.web = web;
return _x;
}
public Application withUnmappedField(String name, String value) {
Application _x = _copy();
_x.setUnmappedField(name, value);
return _x;
}
@NavigationProperty(name="createdOnBehalfOf")
@JsonIgnore
public DirectoryObjectRequest getCreatedOnBehalfOf() {
return new DirectoryObjectRequest(contextPath.addSegment("createdOnBehalfOf"), RequestHelper.getValue(unmappedFields, "createdOnBehalfOf"));
}
@NavigationProperty(name="extensionProperties")
@JsonIgnore
public ExtensionPropertyCollectionRequest getExtensionProperties() {
return new ExtensionPropertyCollectionRequest(
contextPath.addSegment("extensionProperties"), RequestHelper.getValue(unmappedFields, "extensionProperties"));
}
@NavigationProperty(name="federatedIdentityCredentials")
@JsonIgnore
public FederatedIdentityCredentialCollectionRequest getFederatedIdentityCredentials() {
return new FederatedIdentityCredentialCollectionRequest(
contextPath.addSegment("federatedIdentityCredentials"), RequestHelper.getValue(unmappedFields, "federatedIdentityCredentials"));
}
@NavigationProperty(name="homeRealmDiscoveryPolicies")
@JsonIgnore
public HomeRealmDiscoveryPolicyCollectionRequest getHomeRealmDiscoveryPolicies() {
return new HomeRealmDiscoveryPolicyCollectionRequest(
contextPath.addSegment("homeRealmDiscoveryPolicies"), RequestHelper.getValue(unmappedFields, "homeRealmDiscoveryPolicies"));
}
@NavigationProperty(name="owners")
@JsonIgnore
public DirectoryObjectCollectionRequest getOwners() {
return new DirectoryObjectCollectionRequest(
contextPath.addSegment("owners"), RequestHelper.getValue(unmappedFields, "owners"));
}
@NavigationProperty(name="tokenIssuancePolicies")
@JsonIgnore
public TokenIssuancePolicyCollectionRequest getTokenIssuancePolicies() {
return new TokenIssuancePolicyCollectionRequest(
contextPath.addSegment("tokenIssuancePolicies"), RequestHelper.getValue(unmappedFields, "tokenIssuancePolicies"));
}
@NavigationProperty(name="tokenLifetimePolicies")
@JsonIgnore
public TokenLifetimePolicyCollectionRequest getTokenLifetimePolicies() {
return new TokenLifetimePolicyCollectionRequest(
contextPath.addSegment("tokenLifetimePolicies"), RequestHelper.getValue(unmappedFields, "tokenLifetimePolicies"));
}
@JsonAnySetter
private void setUnmappedField(String name, Object value) {
if (unmappedFields == null) {
unmappedFields = new UnmappedFieldsImpl();
}
unmappedFields.put(name, value);
}
@JsonAnyGetter
private UnmappedFieldsImpl unmappedFields() {
return unmappedFields == null ? UnmappedFieldsImpl.EMPTY : unmappedFields;
}
@Override
public UnmappedFields getUnmappedFields() {
return unmappedFields();
}
/**
* Submits only changed fields for update and returns an
* immutable copy of {@code this} with changed fields reset.
*
* @return a copy of {@code this} with changed fields reset
* @throws ClientException if HTTP response is not as expected
*/
public Application patch() {
RequestHelper.patch(this, contextPath, RequestOptions.EMPTY);
Application _x = _copy();
_x.changedFields = null;
return _x;
}
/**
* Submits all fields for update and returns an immutable copy of {@code this}
* with changed fields reset (they were ignored anyway).
*
* @return a copy of {@code this} with changed fields reset
* @throws ClientException if HTTP response is not as expected
*/
public Application put() {
RequestHelper.put(this, contextPath, RequestOptions.EMPTY);
Application _x = _copy();
_x.changedFields = null;
return _x;
}
private Application _copy() {
Application _x = new Application();
_x.contextPath = contextPath;
_x.changedFields = changedFields;
_x.unmappedFields = unmappedFields.copy();
_x.odataType = odataType;
_x.id = id;
_x.deletedDateTime = deletedDateTime;
_x.addIns = addIns;
_x.api = api;
_x.appId = appId;
_x.applicationTemplateId = applicationTemplateId;
_x.appRoles = appRoles;
_x.certification = certification;
_x.createdDateTime = createdDateTime;
_x.defaultRedirectUri = defaultRedirectUri;
_x.description = description;
_x.disabledByMicrosoftStatus = disabledByMicrosoftStatus;
_x.displayName = displayName;
_x.groupMembershipClaims = groupMembershipClaims;
_x.identifierUris = identifierUris;
_x.info = info;
_x.isDeviceOnlyAuthSupported = isDeviceOnlyAuthSupported;
_x.isFallbackPublicClient = isFallbackPublicClient;
_x.keyCredentials = keyCredentials;
_x.logo = logo;
_x.notes = notes;
_x.oauth2RequirePostResponse = oauth2RequirePostResponse;
_x.optionalClaims = optionalClaims;
_x.parentalControlSettings = parentalControlSettings;
_x.passwordCredentials = passwordCredentials;
_x.publicClient = publicClient;
_x.publisherDomain = publisherDomain;
_x.requiredResourceAccess = requiredResourceAccess;
_x.samlMetadataUrl = samlMetadataUrl;
_x.serviceManagementReference = serviceManagementReference;
_x.signInAudience = signInAudience;
_x.spa = spa;
_x.tags = tags;
_x.tokenEncryptionKeyId = tokenEncryptionKeyId;
_x.verifiedPublisher = verifiedPublisher;
_x.web = web;
return _x;
}
@Action(name = "setVerifiedPublisher")
@JsonIgnore
public ActionRequestNoReturn setVerifiedPublisher(String verifiedPublisherId) {
Preconditions.checkNotNull(verifiedPublisherId, "verifiedPublisherId cannot be null");
Map _parameters = ParameterMap
.put("verifiedPublisherId", "Edm.String", Checks.checkIsAscii(verifiedPublisherId))
.build();
return new ActionRequestNoReturn(this.contextPath.addActionOrFunctionSegment("microsoft.graph.setVerifiedPublisher"), _parameters);
}
@Action(name = "unsetVerifiedPublisher")
@JsonIgnore
public ActionRequestNoReturn unsetVerifiedPublisher() {
Map _parameters = ParameterMap.empty();
return new ActionRequestNoReturn(this.contextPath.addActionOrFunctionSegment("microsoft.graph.unsetVerifiedPublisher"), _parameters);
}
@Action(name = "addKey")
@JsonIgnore
public ActionRequestReturningNonCollectionUnwrapped addKey(KeyCredential keyCredential, PasswordCredential passwordCredential, String proof) {
Preconditions.checkNotNull(keyCredential, "keyCredential cannot be null");
Preconditions.checkNotNull(proof, "proof cannot be null");
Map _parameters = ParameterMap
.put("keyCredential", "microsoft.graph.keyCredential", keyCredential)
.put("passwordCredential", "microsoft.graph.passwordCredential", passwordCredential)
.put("proof", "Edm.String", Checks.checkIsAscii(proof))
.build();
return new ActionRequestReturningNonCollectionUnwrapped(this.contextPath.addActionOrFunctionSegment("microsoft.graph.addKey"), KeyCredential.class, _parameters);
}
@Action(name = "addPassword")
@JsonIgnore
public ActionRequestReturningNonCollectionUnwrapped addPassword(PasswordCredential passwordCredential) {
Map _parameters = ParameterMap
.put("passwordCredential", "microsoft.graph.passwordCredential", passwordCredential)
.build();
return new ActionRequestReturningNonCollectionUnwrapped(this.contextPath.addActionOrFunctionSegment("microsoft.graph.addPassword"), PasswordCredential.class, _parameters);
}
@Action(name = "removeKey")
@JsonIgnore
public ActionRequestNoReturn removeKey(String keyId, String proof) {
Preconditions.checkNotNull(keyId, "keyId cannot be null");
Preconditions.checkNotNull(proof, "proof cannot be null");
Map _parameters = ParameterMap
.put("keyId", "Edm.Guid", keyId)
.put("proof", "Edm.String", Checks.checkIsAscii(proof))
.build();
return new ActionRequestNoReturn(this.contextPath.addActionOrFunctionSegment("microsoft.graph.removeKey"), _parameters);
}
@Action(name = "removePassword")
@JsonIgnore
public ActionRequestNoReturn removePassword(String keyId) {
Preconditions.checkNotNull(keyId, "keyId cannot be null");
Map _parameters = ParameterMap
.put("keyId", "Edm.Guid", keyId)
.build();
return new ActionRequestNoReturn(this.contextPath.addActionOrFunctionSegment("microsoft.graph.removePassword"), _parameters);
}
@Override
public String toString() {
StringBuilder b = new StringBuilder();
b.append("Application[");
b.append("id=");
b.append(this.id);
b.append(", ");
b.append("deletedDateTime=");
b.append(this.deletedDateTime);
b.append(", ");
b.append("addIns=");
b.append(this.addIns);
b.append(", ");
b.append("api=");
b.append(this.api);
b.append(", ");
b.append("appId=");
b.append(this.appId);
b.append(", ");
b.append("applicationTemplateId=");
b.append(this.applicationTemplateId);
b.append(", ");
b.append("appRoles=");
b.append(this.appRoles);
b.append(", ");
b.append("certification=");
b.append(this.certification);
b.append(", ");
b.append("createdDateTime=");
b.append(this.createdDateTime);
b.append(", ");
b.append("defaultRedirectUri=");
b.append(this.defaultRedirectUri);
b.append(", ");
b.append("description=");
b.append(this.description);
b.append(", ");
b.append("disabledByMicrosoftStatus=");
b.append(this.disabledByMicrosoftStatus);
b.append(", ");
b.append("displayName=");
b.append(this.displayName);
b.append(", ");
b.append("groupMembershipClaims=");
b.append(this.groupMembershipClaims);
b.append(", ");
b.append("identifierUris=");
b.append(this.identifierUris);
b.append(", ");
b.append("info=");
b.append(this.info);
b.append(", ");
b.append("isDeviceOnlyAuthSupported=");
b.append(this.isDeviceOnlyAuthSupported);
b.append(", ");
b.append("isFallbackPublicClient=");
b.append(this.isFallbackPublicClient);
b.append(", ");
b.append("keyCredentials=");
b.append(this.keyCredentials);
b.append(", ");
b.append("logo=");
b.append(this.logo);
b.append(", ");
b.append("notes=");
b.append(this.notes);
b.append(", ");
b.append("oauth2RequirePostResponse=");
b.append(this.oauth2RequirePostResponse);
b.append(", ");
b.append("optionalClaims=");
b.append(this.optionalClaims);
b.append(", ");
b.append("parentalControlSettings=");
b.append(this.parentalControlSettings);
b.append(", ");
b.append("passwordCredentials=");
b.append(this.passwordCredentials);
b.append(", ");
b.append("publicClient=");
b.append(this.publicClient);
b.append(", ");
b.append("publisherDomain=");
b.append(this.publisherDomain);
b.append(", ");
b.append("requiredResourceAccess=");
b.append(this.requiredResourceAccess);
b.append(", ");
b.append("samlMetadataUrl=");
b.append(this.samlMetadataUrl);
b.append(", ");
b.append("serviceManagementReference=");
b.append(this.serviceManagementReference);
b.append(", ");
b.append("signInAudience=");
b.append(this.signInAudience);
b.append(", ");
b.append("spa=");
b.append(this.spa);
b.append(", ");
b.append("tags=");
b.append(this.tags);
b.append(", ");
b.append("tokenEncryptionKeyId=");
b.append(this.tokenEncryptionKeyId);
b.append(", ");
b.append("verifiedPublisher=");
b.append(this.verifiedPublisher);
b.append(", ");
b.append("web=");
b.append(this.web);
b.append("]");
b.append(",unmappedFields=");
b.append(unmappedFields);
b.append(",odataType=");
b.append(odataType);
return b.toString();
}
}