Share via


MicrosoftGraphInformationalUrl Class

  • java.lang.Object
    • com.azure.resourcemanager.authorization.fluent.models.MicrosoftGraphInformationalUrl

Implements

public final class MicrosoftGraphInformationalUrl
implements JsonSerializable<MicrosoftGraphInformationalUrl>

Represents an informational url.

Constructor Summary

Constructor Description
MicrosoftGraphInformationalUrl()

Creates an instance of MicrosoftGraphInformationalUrl class.

Method Summary

Modifier and Type Method and Description
Map<String,Object> additionalProperties()

Get the additionalProperties property: informationalUrl.

static MicrosoftGraphInformationalUrl fromJson(JsonReader jsonReader)

Reads an instance of MicrosoftGraphInformationalUrl from the JsonReader.

String logoUrl()

Get the logoUrl property: CDN URL to the application's logo, Read-only.

String marketingUrl()

Get the marketingUrl property: Link to the application's marketing page.

String privacyStatementUrl()

Get the privacyStatementUrl property: Link to the application's privacy statement.

String supportUrl()

Get the supportUrl property: Link to the application's support page.

String termsOfServiceUrl()

Get the termsOfServiceUrl property: Link to the application's terms of service statement.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

MicrosoftGraphInformationalUrl withAdditionalProperties(Map<String,Object> additionalProperties)

Set the additionalProperties property: informationalUrl.

MicrosoftGraphInformationalUrl withLogoUrl(String logoUrl)

Set the logoUrl property: CDN URL to the application's logo, Read-only.

MicrosoftGraphInformationalUrl withMarketingUrl(String marketingUrl)

Set the marketingUrl property: Link to the application's marketing page.

MicrosoftGraphInformationalUrl withPrivacyStatementUrl(String privacyStatementUrl)

Set the privacyStatementUrl property: Link to the application's privacy statement.

MicrosoftGraphInformationalUrl withSupportUrl(String supportUrl)

Set the supportUrl property: Link to the application's support page.

MicrosoftGraphInformationalUrl withTermsOfServiceUrl(String termsOfServiceUrl)

Set the termsOfServiceUrl property: Link to the application's terms of service statement.

Methods inherited from java.lang.Object

Constructor Details

MicrosoftGraphInformationalUrl

public MicrosoftGraphInformationalUrl()

Creates an instance of MicrosoftGraphInformationalUrl class.

Method Details

additionalProperties

public Map<String,Object> additionalProperties()

Get the additionalProperties property: informationalUrl.

Returns:

the additionalProperties value.

fromJson

public static MicrosoftGraphInformationalUrl fromJson(JsonReader jsonReader)

Reads an instance of MicrosoftGraphInformationalUrl from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of MicrosoftGraphInformationalUrl if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.

Throws:

IOException

- If an error occurs while reading the MicrosoftGraphInformationalUrl.

logoUrl

public String logoUrl()

Get the logoUrl property: CDN URL to the application's logo, Read-only.

Returns:

the logoUrl value.

marketingUrl

public String marketingUrl()

Get the marketingUrl property: Link to the application's marketing page. For example, https://www.contoso.com/app/marketing.

Returns:

the marketingUrl value.

privacyStatementUrl

public String privacyStatementUrl()

Get the privacyStatementUrl property: Link to the application's privacy statement. For example, https://www.contoso.com/app/privacy.

Returns:

the privacyStatementUrl value.

supportUrl

public String supportUrl()

Get the supportUrl property: Link to the application's support page. For example, https://www.contoso.com/app/support.

Returns:

the supportUrl value.

termsOfServiceUrl

public String termsOfServiceUrl()

Get the termsOfServiceUrl property: Link to the application's terms of service statement. For example, https://www.contoso.com/app/termsofservice.

Returns:

the termsOfServiceUrl value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

withAdditionalProperties

public MicrosoftGraphInformationalUrl withAdditionalProperties(Map<String,Object> additionalProperties)

Set the additionalProperties property: informationalUrl.

Parameters:

additionalProperties - the additionalProperties value to set.

Returns:

the MicrosoftGraphInformationalUrl object itself.

withLogoUrl

public MicrosoftGraphInformationalUrl withLogoUrl(String logoUrl)

Set the logoUrl property: CDN URL to the application's logo, Read-only.

Parameters:

logoUrl - the logoUrl value to set.

Returns:

the MicrosoftGraphInformationalUrl object itself.

withMarketingUrl

public MicrosoftGraphInformationalUrl withMarketingUrl(String marketingUrl)

Set the marketingUrl property: Link to the application's marketing page. For example, https://www.contoso.com/app/marketing.

Parameters:

marketingUrl - the marketingUrl value to set.

Returns:

the MicrosoftGraphInformationalUrl object itself.

withPrivacyStatementUrl

public MicrosoftGraphInformationalUrl withPrivacyStatementUrl(String privacyStatementUrl)

Set the privacyStatementUrl property: Link to the application's privacy statement. For example, https://www.contoso.com/app/privacy.

Parameters:

privacyStatementUrl - the privacyStatementUrl value to set.

Returns:

the MicrosoftGraphInformationalUrl object itself.

withSupportUrl

public MicrosoftGraphInformationalUrl withSupportUrl(String supportUrl)

Set the supportUrl property: Link to the application's support page. For example, https://www.contoso.com/app/support.

Parameters:

supportUrl - the supportUrl value to set.

Returns:

the MicrosoftGraphInformationalUrl object itself.

withTermsOfServiceUrl

public MicrosoftGraphInformationalUrl withTermsOfServiceUrl(String termsOfServiceUrl)

Set the termsOfServiceUrl property: Link to the application's terms of service statement. For example, https://www.contoso.com/app/termsofservice.

Parameters:

termsOfServiceUrl - the termsOfServiceUrl value to set.

Returns:

the MicrosoftGraphInformationalUrl object itself.

Applies to