toValue method

String toValue()

Implementation

String toValue() {
  switch (this) {
    case SummaryKeyType.users:
      return 'Users';
    case SummaryKeyType.usersQuota:
      return 'UsersQuota';
    case SummaryKeyType.groups:
      return 'Groups';
    case SummaryKeyType.groupsQuota:
      return 'GroupsQuota';
    case SummaryKeyType.serverCertificates:
      return 'ServerCertificates';
    case SummaryKeyType.serverCertificatesQuota:
      return 'ServerCertificatesQuota';
    case SummaryKeyType.userPolicySizeQuota:
      return 'UserPolicySizeQuota';
    case SummaryKeyType.groupPolicySizeQuota:
      return 'GroupPolicySizeQuota';
    case SummaryKeyType.groupsPerUserQuota:
      return 'GroupsPerUserQuota';
    case SummaryKeyType.signingCertificatesPerUserQuota:
      return 'SigningCertificatesPerUserQuota';
    case SummaryKeyType.accessKeysPerUserQuota:
      return 'AccessKeysPerUserQuota';
    case SummaryKeyType.mFADevices:
      return 'MFADevices';
    case SummaryKeyType.mFADevicesInUse:
      return 'MFADevicesInUse';
    case SummaryKeyType.accountMFAEnabled:
      return 'AccountMFAEnabled';
    case SummaryKeyType.accountAccessKeysPresent:
      return 'AccountAccessKeysPresent';
    case SummaryKeyType.accountSigningCertificatesPresent:
      return 'AccountSigningCertificatesPresent';
    case SummaryKeyType.attachedPoliciesPerGroupQuota:
      return 'AttachedPoliciesPerGroupQuota';
    case SummaryKeyType.attachedPoliciesPerRoleQuota:
      return 'AttachedPoliciesPerRoleQuota';
    case SummaryKeyType.attachedPoliciesPerUserQuota:
      return 'AttachedPoliciesPerUserQuota';
    case SummaryKeyType.policies:
      return 'Policies';
    case SummaryKeyType.policiesQuota:
      return 'PoliciesQuota';
    case SummaryKeyType.policySizeQuota:
      return 'PolicySizeQuota';
    case SummaryKeyType.policyVersionsInUse:
      return 'PolicyVersionsInUse';
    case SummaryKeyType.policyVersionsInUseQuota:
      return 'PolicyVersionsInUseQuota';
    case SummaryKeyType.versionsPerPolicyQuota:
      return 'VersionsPerPolicyQuota';
    case SummaryKeyType.globalEndpointTokenVersion:
      return 'GlobalEndpointTokenVersion';
  }
}