func (o *SparseIssue) ToPlain() elemental.PlainIdentifiable {

	out := NewIssue()
	if o.Audience != nil {
		out.Audience = *o.Audience
	}
	if o.Claims != nil {
		out.Claims = o.Claims
	}
	if o.Data != nil {
		out.Data = *o.Data
	}
	if o.Metadata != nil {
		out.Metadata = *o.Metadata
	}
	if o.Opaque != nil {
		out.Opaque = *o.Opaque
	}
	if o.Quota != nil {
		out.Quota = *o.Quota
	}
	if o.Realm != nil {
		out.Realm = *o.Realm
	}
	if o.RestrictedNamespace != nil {
		out.RestrictedNamespace = *o.RestrictedNamespace
	}
	if o.RestrictedNetworks != nil {
		out.RestrictedNetworks = *o.RestrictedNetworks
	}
	if o.RestrictedPermissions != nil {
		out.RestrictedPermissions = *o.RestrictedPermissions
	}
	if o.Token != nil {
		out.Token = *o.Token
	}
	if o.Validity != nil {
		out.Validity = *o.Validity
	}

	return out
}
// ToPlain returns the plain version of the sparse model.
ToPlain returns the plain version of the sparse model.
// ToPlain returns the plain version of the sparse model .
func (o *SparseIssue) ToPlain() elemental.PlainIdentifiable {
	out := NewIssue()
	if o.Audience != nil {
		out.Audience = *o.Audience
	}
	if o.Claims != nil {
		out.Claims = o.Claims
	}
	if o.Data != nil {
		out.Data = *o.Data
	}
	if o.Metadata != nil {
		out.Metadata = *o.Metadata
	}
	if o.Opaque != nil {
		out.Opaque = *o.Opaque
	}
	if o.Quota != nil {
		out.Quota = *o.Quota
	}
	if o.Realm != nil {
		out.Realm = *o.Realm
	}
	if o.RestrictedNamespace != nil {
		out.RestrictedNamespace = *o.RestrictedNamespace
	}
	if o.RestrictedNetworks != nil {
		out.RestrictedNetworks = *o.RestrictedNetworks
	}
	if o.RestrictedPermissions != nil {
		out.RestrictedPermissions = *o.RestrictedPermissions
	}
	if o.Token != nil {
		out.Token = *o.Token
	}
	if o.Validity != nil {
		out.Validity = *o.Validity
	}
	return out
}
func ( o * SparseIssue ) ToPlain ( ) elemental . PlainIdentifiable { out := NewIssue ( ) if o . Audience != nil { out . Audience = * o . Audience } if o . Claims != nil { out . Claims = o . Claims } if o . Data != nil { out . Data = * o . Data } if o . Metadata != nil { out . Metadata = * o . Metadata } if o . Opaque != nil { out . Opaque = * o . Opaque } if o . Quota != nil { out . Quota = * o . Quota } if o . Realm != nil { out . Realm = * o . Realm } if o . RestrictedNamespace != nil { out . RestrictedNamespace = * o . RestrictedNamespace } if o . RestrictedNetworks != nil { out . RestrictedNetworks = * o . RestrictedNetworks } if o . RestrictedPermissions != nil { out . RestrictedPermissions = * o . RestrictedPermissions } if o . Token != nil { out . Token = * o . Token } if o . Validity != nil { out . Validity = * o . Validity } return out }
ToPlain returns the plain version of the sparse model.
ToPlain returns the plain version of the sparse model .