Class ValidationCode
java.lang.Object
com.microsoft.store.partnercenter.models.validationcodes.ValidationCode
public class ValidationCode extends Object
Represents validation codes. Used to create Government Community Cloud (GCC) accounts.
-
Constructor Summary
Constructors Constructor Description ValidationCode() -
Method Summary
Modifier and Type Method Description StringgetETag()Gets the ETag value for the object.intgetMaxCreates()Gets the maximum number of customer creates for this code.StringgetOrganizationName()Gets the name of the organization.StringgetPartnerId()Gets the identifier for the partner.intgetRemainingCreates()Gets the remaining number of customer creates for this code.StringgetValidationId()Gets the identifier for the validation.voidsetETag(String value)Sets the ETag value for the object.voidsetMaxCreates(int value)Sets the maximum number of customer creates for this code.voidsetOrganizationName(String value)Sets the name of the organization.voidsetPartnerId(String value)Sets the identifier for the partner.voidsetRemainingCreates(int value)Sets the remaining number of customer creates for this code.voidsetValidationId(String value)Sets the identifier for the validation.
-
Constructor Details
-
ValidationCode
public ValidationCode()
-
-
Method Details
-
getETag
Gets the ETag value for the object.- Returns:
- The ETag value for the object.
-
setETag
Sets the ETag value for the object.- Parameters:
value- The ETag value for the object.
-
getMaxCreates
public int getMaxCreates()Gets the maximum number of customer creates for this code.- Returns:
- The maximum number of customer creates for this code.
-
setMaxCreates
public void setMaxCreates(int value)Sets the maximum number of customer creates for this code.- Parameters:
value- The maximum number of customer creates for this code.
-
getOrganizationName
Gets the name of the organization.- Returns:
- The name of the organization.
-
setOrganizationName
Sets the name of the organization.- Parameters:
value- The name of the organization.
-
getPartnerId
Gets the identifier for the partner.- Returns:
- The identifier for the partner.
-
setPartnerId
Sets the identifier for the partner.- Parameters:
value- The identifier for the partner.
-
getRemainingCreates
public int getRemainingCreates()Gets the remaining number of customer creates for this code.- Returns:
- The remaining number of customer creates for this code.
-
setRemainingCreates
public void setRemainingCreates(int value)Sets the remaining number of customer creates for this code.- Parameters:
value- The remaining number of customer creates for this code.
-
getValidationId
Gets the identifier for the validation.- Returns:
- The identifier for the validation.
-
setValidationId
Sets the identifier for the validation.- Parameters:
value- The identifier for the validation.
-