CsmPublishingCredentialsPoliciesEntityInner Class

public final class CsmPublishingCredentialsPoliciesEntityInner
extends ProxyOnlyResource

Publishing Credentials Policies parameters.

Constructor Summary

Constructor Description
CsmPublishingCredentialsPoliciesEntityInner()

Creates an instance of CsmPublishingCredentialsPoliciesEntityInner class.

Method Summary

Modifier and Type Method and Description
Boolean allow()

Get the allow property: true to allow access to a publishing method; otherwise, false.

static CsmPublishingCredentialsPoliciesEntityInner fromJson(JsonReader jsonReader)

Reads an instance of CsmPublishingCredentialsPoliciesEntityInner from the JsonReader.

String id()

Get the id property: Fully qualified resource Id for the resource.

String name()

Get the name property: The name of the resource.

JsonWriter toJson(JsonWriter jsonWriter)
String type()

Get the type property: The type of the resource.

void validate()

Validates the instance.

CsmPublishingCredentialsPoliciesEntityInner withAllow(Boolean allow)

Set the allow property: true to allow access to a publishing method; otherwise, false.

CsmPublishingCredentialsPoliciesEntityInner withKind(String kind)

Set the kind property: Kind of resource.

Methods inherited from ProxyOnlyResource

Methods inherited from java.lang.Object

Constructor Details

CsmPublishingCredentialsPoliciesEntityInner

public CsmPublishingCredentialsPoliciesEntityInner()

Creates an instance of CsmPublishingCredentialsPoliciesEntityInner class.

Method Details

allow

public Boolean allow()

Get the allow property: true to allow access to a publishing method; otherwise, false.

Returns:

the allow value.

fromJson

public static CsmPublishingCredentialsPoliciesEntityInner fromJson(JsonReader jsonReader)

Reads an instance of CsmPublishingCredentialsPoliciesEntityInner from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

Throws:

IOException

- If the deserialized JSON object was missing any required properties.

id

public String id()

Get the id property: Fully qualified resource Id for the resource.

Overrides:

CsmPublishingCredentialsPoliciesEntityInner.id()

Returns:

the id value.

name

public String name()

Get the name property: The name of the resource.

Overrides:

CsmPublishingCredentialsPoliciesEntityInner.name()

Returns:

the name value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Overrides:

CsmPublishingCredentialsPoliciesEntityInner.toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

type

public String type()

Get the type property: The type of the resource.

Overrides:

CsmPublishingCredentialsPoliciesEntityInner.type()

Returns:

the type value.

validate

public void validate()

Validates the instance.

Overrides:

CsmPublishingCredentialsPoliciesEntityInner.validate()

withAllow

public CsmPublishingCredentialsPoliciesEntityInner withAllow(Boolean allow)

Set the allow property: true to allow access to a publishing method; otherwise, false.

Parameters:

allow - the allow value to set.

Returns:

the CsmPublishingCredentialsPoliciesEntityInner object itself.

withKind

public CsmPublishingCredentialsPoliciesEntityInner withKind(String kind)

Set the kind property: Kind of resource.

Overrides:

CsmPublishingCredentialsPoliciesEntityInner.withKind(String kind)

Parameters:

kind

Applies to