// Code generated by Microsoft Kiota - DO NOT EDIT.
// Changes may cause incorrect behavior and will be lost if the code is regenerated.

package models
type CertificateStatus int

const (
    NOTPROVISIONED_CERTIFICATESTATUS CertificateStatus = iota
    PROVISIONED_CERTIFICATESTATUS
)

func (i CertificateStatus) String() string {
    return []string{"notProvisioned", "provisioned"}[i]
}
func ParseCertificateStatus(v string) (any, error) {
    result := NOTPROVISIONED_CERTIFICATESTATUS
    switch v {
        case "notProvisioned":
            result = NOTPROVISIONED_CERTIFICATESTATUS
        case "provisioned":
            result = PROVISIONED_CERTIFICATESTATUS
        default:
            return nil, nil
    }
    return &result, nil
}
func SerializeCertificateStatus(values []CertificateStatus) []string {
    result := make([]string, len(values))
    for i, v := range values {
        result[i] = v.String()
    }
    return result
}
func (i CertificateStatus) isMultiValue() bool {
    return false
}
