func (o *IssueServiceToken) Patch(sparse elemental.SparseIdentifiable) {
	if !sparse.Identity().IsEqual(o.Identity()) {
		panic("cannot patch from a parse with different identity")
	}

	so := sparse.(*SparseIssueServiceToken)
	if so.Audience != nil {
		o.Audience = *so.Audience
	}
	if so.NamespaceID != nil {
		o.NamespaceID = *so.NamespaceID
	}
	if so.ServiceClaims != nil {
		o.ServiceClaims = *so.ServiceClaims
	}
	if so.SigningKeyID != nil {
		o.SigningKeyID = *so.SigningKeyID
	}
	if so.Subject != nil {
		o.Subject = *so.Subject
	}
	if so.Token != nil {
		o.Token = *so.Token
	}
	if so.UserClaims != nil {
		o.UserClaims = *so.UserClaims
	}
	if so.Validity != nil {
		o.Validity = *so.Validity
	}
}
// Patch apply the non nil value of a *SparseIssueServiceToken to the object.
Patch apply the non nil value of a *SparseIssueServiceToken to the object.
// Patch apply the non nil value of a * SparseIssueServiceToken to the object .
func (o *IssueServiceToken) Patch(sparse elemental.SparseIdentifiable) {
	if !sparse.Identity().IsEqual(o.Identity()) {
		panic("cannot patch from a parse with different identity")
	}
	so := sparse.(*SparseIssueServiceToken)
	if so.Audience != nil {
		o.Audience = *so.Audience
	}
	if so.NamespaceID != nil {
		o.NamespaceID = *so.NamespaceID
	}
	if so.ServiceClaims != nil {
		o.ServiceClaims = *so.ServiceClaims
	}
	if so.SigningKeyID != nil {
		o.SigningKeyID = *so.SigningKeyID
	}
	if so.Subject != nil {
		o.Subject = *so.Subject
	}
	if so.Token != nil {
		o.Token = *so.Token
	}
	if so.UserClaims != nil {
		o.UserClaims = *so.UserClaims
	}
	if so.Validity != nil {
		o.Validity = *so.Validity
	}
}
func ( o * IssueServiceToken ) Patch ( sparse elemental . SparseIdentifiable ) { if ! sparse . Identity ( ) . IsEqual ( o . Identity ( ) ) { panic ( " " ) } so := sparse . ( * SparseIssueServiceToken ) if so . Audience != nil { o . Audience = * so . Audience } if so . NamespaceID != nil { o . NamespaceID = * so . NamespaceID } if so . ServiceClaims != nil { o . ServiceClaims = * so . ServiceClaims } if so . SigningKeyID != nil { o . SigningKeyID = * so . SigningKeyID } if so . Subject != nil { o . Subject = * so . Subject } if so . Token != nil { o . Token = * so . Token } if so . UserClaims != nil { o . UserClaims = * so . UserClaims } if so . Validity != nil { o . Validity = * so . Validity } }
Patch apply the non nil value of a *SparseIssueServiceToken to the object.
Patch apply the non nil value of a * SparseIssueServiceToken to the object .