UserInner Class

public final class UserInner
extends ProxyOnlyResource

User credentials used for publishing activity.

Constructor Summary

Constructor Description
UserInner()

Creates an instance of UserInner class.

Method Summary

Modifier and Type Method and Description
static UserInner fromJson(JsonReader jsonReader)

Reads an instance of UserInner 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.

String publishingPassword()

Get the publishingPassword property: Password used for publishing.

String publishingPasswordHash()

Get the publishingPasswordHash property: Password hash used for publishing.

String publishingPasswordHashSalt()

Get the publishingPasswordHashSalt property: Password hash salt used for publishing.

String publishingUsername()

Get the publishingUsername property: Username used for publishing.

String scmUri()

Get the scmUri property: Url of SCM site.

JsonWriter toJson(JsonWriter jsonWriter)
String type()

Get the type property: The type of the resource.

void validate()

Validates the instance.

UserInner withKind(String kind)

Set the kind property: Kind of resource.

UserInner withPublishingPassword(String publishingPassword)

Set the publishingPassword property: Password used for publishing.

UserInner withPublishingPasswordHash(String publishingPasswordHash)

Set the publishingPasswordHash property: Password hash used for publishing.

UserInner withPublishingPasswordHashSalt(String publishingPasswordHashSalt)

Set the publishingPasswordHashSalt property: Password hash salt used for publishing.

UserInner withPublishingUsername(String publishingUsername)

Set the publishingUsername property: Username used for publishing.

UserInner withScmUri(String scmUri)

Set the scmUri property: Url of SCM site.

Methods inherited from ProxyOnlyResource

Methods inherited from java.lang.Object

Constructor Details

UserInner

public UserInner()

Creates an instance of UserInner class.

Method Details

fromJson

public static UserInner fromJson(JsonReader jsonReader)

Reads an instance of UserInner from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of UserInner 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:

UserInner.id()

Returns:

the id value.

name

public String name()

Get the name property: The name of the resource.

Overrides:

UserInner.name()

Returns:

the name value.

publishingPassword

public String publishingPassword()

Get the publishingPassword property: Password used for publishing.

Returns:

the publishingPassword value.

publishingPasswordHash

public String publishingPasswordHash()

Get the publishingPasswordHash property: Password hash used for publishing.

Returns:

the publishingPasswordHash value.

publishingPasswordHashSalt

public String publishingPasswordHashSalt()

Get the publishingPasswordHashSalt property: Password hash salt used for publishing.

Returns:

the publishingPasswordHashSalt value.

publishingUsername

public String publishingUsername()

Get the publishingUsername property: Username used for publishing.

Returns:

the publishingUsername value.

scmUri

public String scmUri()

Get the scmUri property: Url of SCM site.

Returns:

the scmUri value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Overrides:

UserInner.toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

type

public String type()

Get the type property: The type of the resource.

Overrides:

UserInner.type()

Returns:

the type value.

validate

public void validate()

Validates the instance.

Overrides:

UserInner.validate()

withKind

public UserInner withKind(String kind)

Set the kind property: Kind of resource.

Overrides:

UserInner.withKind(String kind)

Parameters:

kind

withPublishingPassword

public UserInner withPublishingPassword(String publishingPassword)

Set the publishingPassword property: Password used for publishing.

Parameters:

publishingPassword - the publishingPassword value to set.

Returns:

the UserInner object itself.

withPublishingPasswordHash

public UserInner withPublishingPasswordHash(String publishingPasswordHash)

Set the publishingPasswordHash property: Password hash used for publishing.

Parameters:

publishingPasswordHash - the publishingPasswordHash value to set.

Returns:

the UserInner object itself.

withPublishingPasswordHashSalt

public UserInner withPublishingPasswordHashSalt(String publishingPasswordHashSalt)

Set the publishingPasswordHashSalt property: Password hash salt used for publishing.

Parameters:

publishingPasswordHashSalt - the publishingPasswordHashSalt value to set.

Returns:

the UserInner object itself.

withPublishingUsername

public UserInner withPublishingUsername(String publishingUsername)

Set the publishingUsername property: Username used for publishing.

Parameters:

publishingUsername - the publishingUsername value to set.

Returns:

the UserInner object itself.

withScmUri

public UserInner withScmUri(String scmUri)

Set the scmUri property: Url of SCM site.

Parameters:

scmUri - the scmUri value to set.

Returns:

the UserInner object itself.

Applies to