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

	so := sparse.(*SparseIssue)
	if so.Audience != nil {
		o.Audience = *so.Audience
	}
	if so.Claims != nil {
		o.Claims = so.Claims
	}
	if so.Data != nil {
		o.Data = *so.Data
	}
	if so.Metadata != nil {
		o.Metadata = *so.Metadata
	}
	if so.Opaque != nil {
		o.Opaque = *so.Opaque
	}
	if so.Quota != nil {
		o.Quota = *so.Quota
	}
	if so.Realm != nil {
		o.Realm = *so.Realm
	}
	if so.RestrictedNamespace != nil {
		o.RestrictedNamespace = *so.RestrictedNamespace
	}
	if so.RestrictedNetworks != nil {
		o.RestrictedNetworks = *so.RestrictedNetworks
	}
	if so.RestrictedPermissions != nil {
		o.RestrictedPermissions = *so.RestrictedPermissions
	}
	if so.Token != nil {
		o.Token = *so.Token
	}
	if so.Validity != nil {
		o.Validity = *so.Validity
	}
}
// Patch apply the non nil value of a *SparseIssue to the object.
Patch apply the non nil value of a *SparseIssue to the object.
// Patch apply the non nil value of a * SparseIssue to the object .
func (o *Issue) Patch(sparse elemental.SparseIdentifiable) {
	if !sparse.Identity().IsEqual(o.Identity()) {
		panic("cannot patch from a parse with different identity")
	}
	so := sparse.(*SparseIssue)
	if so.Audience != nil {
		o.Audience = *so.Audience
	}
	if so.Claims != nil {
		o.Claims = so.Claims
	}
	if so.Data != nil {
		o.Data = *so.Data
	}
	if so.Metadata != nil {
		o.Metadata = *so.Metadata
	}
	if so.Opaque != nil {
		o.Opaque = *so.Opaque
	}
	if so.Quota != nil {
		o.Quota = *so.Quota
	}
	if so.Realm != nil {
		o.Realm = *so.Realm
	}
	if so.RestrictedNamespace != nil {
		o.RestrictedNamespace = *so.RestrictedNamespace
	}
	if so.RestrictedNetworks != nil {
		o.RestrictedNetworks = *so.RestrictedNetworks
	}
	if so.RestrictedPermissions != nil {
		o.RestrictedPermissions = *so.RestrictedPermissions
	}
	if so.Token != nil {
		o.Token = *so.Token
	}
	if so.Validity != nil {
		o.Validity = *so.Validity
	}
}
func ( o * Issue ) Patch ( sparse elemental . SparseIdentifiable ) { if ! sparse . Identity ( ) . IsEqual ( o . Identity ( ) ) { panic ( " " ) } so := sparse . ( * SparseIssue ) if so . Audience != nil { o . Audience = * so . Audience } if so . Claims != nil { o . Claims = so . Claims } if so . Data != nil { o . Data = * so . Data } if so . Metadata != nil { o . Metadata = * so . Metadata } if so . Opaque != nil { o . Opaque = * so . Opaque } if so . Quota != nil { o . Quota = * so . Quota } if so . Realm != nil { o . Realm = * so . Realm } if so . RestrictedNamespace != nil { o . RestrictedNamespace = * so . RestrictedNamespace } if so . RestrictedNetworks != nil { o . RestrictedNetworks = * so . RestrictedNetworks } if so . RestrictedPermissions != nil { o . RestrictedPermissions = * so . RestrictedPermissions } if so . Token != nil { o . Token = * so . Token } if so . Validity != nil { o . Validity = * so . Validity } }
Patch apply the non nil value of a *SparseIssue to the object.
Patch apply the non nil value of a * SparseIssue to the object .