Skip to content

Latest commit

 

History

History
49 lines (40 loc) · 4.6 KB

File metadata and controls

49 lines (40 loc) · 4.6 KB

ServiceAccount

Properties

Name Type Description Notes
alternate_email str An alternate email address for the subaccount's user. [optional]
avatar_url str The user's subaccount profile photo. [optional]
can_delete int Whether the cPanel account user can delete the subaccount. * `1` - Can delete. * `0` - Cannot delete. [optional]
can_set_password int Whether the cPanel account user can change the subaccount's password. * `1` - Can change. * `0` - Cannot change. Note: The function returns a `0` value for subaccounts that inherit their password from the cPanel account. [optional]
can_set_quota int Whether the cPanel account user can change the subaccount's disk usage quota. * `1` - Can change. * `0` - Cannot change. [optional]
dismissed int Whether the cPanel account user dismissed the merge prompt for the service account. * `1` - Dismissed. * `0` - Did not dismiss. Note: Only service accounts return this value. [optional]
domain str The subaccount user's associated domain. [optional]
full_username str The subaccount's username and domain name. A valid username, the `@` character, and the associated domain. [optional]
guid str The subaccount unique identifier. [optional]
has_siblings int Whether the service account shares a `full_username` value with another service account. * `1` - Shares. * `0` - Does not share. [optional]
issues List[ServiceAccountIssues] Information about any issues or problems with the subaccount. [optional]
merge_candidates List[ServiceAccount] An array of service account objects that the system could merge for this subaccount. [optional]
parent_type str The type of account that could own the service account. * `sub` - A subaccount. * `hypothetical` - A hypothetical subaccount that does not yet exist, but the user could create as part of a merge. * `null` - Not a merge candidate. [optional]
phone_number str The subaccount user's phone number. A valid phone number that conforms to ITU-T's E.164-recommended standard for the representation of telephone numbers. [optional]
real_name str The name of the subaccount's user. * A first name, a last name, or a first name and last name. * An empty or null string. [optional]
services ServiceAccountServices [optional]
special int Whether the account is a system-created special account that the user cannot remove. * `1` - A special account. * `0` - Not a special account. [optional]
sub_account_exists int Whether a subaccount exists with the same username. * `1` - Exists. * `0` - Does not exist. Note: The function returns a null value if the account is not a service account. [optional]
synced_password int Whether the user has synchronized the passwords for each of the subaccount's service accounts. * `1` - Synchronized. * `0` - Not synchronized. Note: The function returns a null value if the account is not a subaccount. [optional]
type str The type of account. * `cpanel` - The cPanel account. * `hypothetical` - A hypothetical subaccount that does not exist, but that the user could create as part of a merge. * `service` - A service account. * `sub` - A subaccount. [optional]
username str The username for the subaccount. [optional]

Example

from clientapi_cpanel.models.service_account import ServiceAccount

# TODO update the JSON string below
json = "{}"
# create an instance of ServiceAccount from a JSON string
service_account_instance = ServiceAccount.from_json(json)
# print the JSON string representation of the object
print(ServiceAccount.to_json())

# convert the object into a dict
service_account_dict = service_account_instance.to_dict()
# create an instance of ServiceAccount from a dict
service_account_from_dict = ServiceAccount.from_dict(service_account_dict)

[Back to Model list] [Back to API list] [Back to README]