Files
sdk/model_platform_project_app.go

876 lines
24 KiB
Go

/*
Hanzo Cloud API
The Hanzo Cloud API as a customer calls it: every operation under /v1/ except the operator's admin product, relay routes, legacy spellings and capabilities still reached by flag. Tagged by product: the first path segment after /v1/.
API version: v1
*/
// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT.
package hanzoai
import (
"encoding/json"
)
// checks if the PlatformProjectApp type satisfies the MappedNullable interface at compile time
var _ MappedNullable = &PlatformProjectApp{}
// PlatformProjectApp struct for PlatformProjectApp
type PlatformProjectApp struct {
// Application is the CD Application name the generator mints from the path — the directory joined to the file name, less any words the two share (applicationName). It is how cd.hanzo.ai names the app.
Application *string `json:"application,omitempty"`
// Automated is cd.automated: false means the Application reports drift and NOTHING moves. It is off by default for a new file on purpose.
Automated *bool `json:"automated,omitempty"`
// CD is the Application reconciling it; null when CD has none for this file.
Cd *PlatformCDApp `json:"cd,omitempty"`
// Component is the app's role within its project (`component`), \"\" when unnamed.
Component *string `json:"component,omitempty"`
// image.digest — wins over tag
Digest *string `json:"digest,omitempty"`
// Drift is declared versus reconciled versus running versus latest, as flags.
Drift *PlatformVerdict `json:"drift,omitempty"`
// Env is the declared container environment, as the chart's list of {name,value}. It is read back so a re-declare of an identical body is a no-op rather than a refusal — idempotency is what makes a retry safe.
Env []PlatformDeclareEnv `json:"env,omitempty"`
// ingress.hosts, both shapes flattened
Hosts []string `json:"hosts,omitempty"`
// Image is the image the declaration names: repository@digest when it pins a digest, else repository:tag. Empty for a declaration that owns no workload.
Image *string `json:"image,omitempty"`
// Latest is the newest semver tag the registry publishes for its repository, \"\" when that cannot be read.
Latest *string `json:"latest,omitempty"`
// the Helm release name — the file's basename
Name *string `json:"name,omitempty"`
// Org is the owner. It is ALSO the values directory and the destination namespace, because those are one value under one name — see the header.
Org *string `json:"org,omitempty"`
// PartOf is the platform project this app belongs to: the values file's own `partOf` key, which the chart also stamps on every object it renders as app.kubernetes.io/part-of. It is the ONE declaration of membership — there is no project table — and \"\" means the file names none.
PartOf *string `json:"partOf,omitempty"`
// Path is the file, relative to the repository root.
Path *string `json:"path,omitempty"`
// Project is the AppProject the sync is admitted under, derived from the directory exactly as the ApplicationSet derives it. It differs from Org for a reserved directory, which syncs under the platform fence.
Project *string `json:"project,omitempty"`
Replicas *int64 `json:"replicas,omitempty"`
// image.repository
Repository *string `json:"repository,omitempty"`
// Running is what the cluster runs for it; null when no pod carries its selector or the cluster could not be read.
Running *PlatformRunning `json:"running,omitempty"`
// Secrets are the KMS coordinates the app reads — kmsSecrets and secrets.paths — as paths and key names. A values file never carries a secret value, so neither does this.
Secrets []PlatformSecretRef `json:"secrets,omitempty"`
// image.tag
Tag *string `json:"tag,omitempty"`
AdditionalProperties map[string]interface{}
}
type _PlatformProjectApp PlatformProjectApp
// NewPlatformProjectApp instantiates a new PlatformProjectApp object
// This constructor will assign default values to properties that have it defined,
// and makes sure properties required by API are set, but the set of arguments
// will change when the set of required properties is changed
func NewPlatformProjectApp() *PlatformProjectApp {
this := PlatformProjectApp{}
return &this
}
// NewPlatformProjectAppWithDefaults instantiates a new PlatformProjectApp object
// This constructor will only assign default values to properties that have it defined,
// but it doesn't guarantee that properties required by API are set
func NewPlatformProjectAppWithDefaults() *PlatformProjectApp {
this := PlatformProjectApp{}
return &this
}
// GetApplication returns the Application field value if set, zero value otherwise.
func (o *PlatformProjectApp) GetApplication() string {
if o == nil || IsNil(o.Application) {
var ret string
return ret
}
return *o.Application
}
// GetApplicationOk returns a tuple with the Application field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *PlatformProjectApp) GetApplicationOk() (*string, bool) {
if o == nil || IsNil(o.Application) {
return nil, false
}
return o.Application, true
}
// HasApplication returns a boolean if a field has been set.
func (o *PlatformProjectApp) HasApplication() bool {
if o != nil && !IsNil(o.Application) {
return true
}
return false
}
// SetApplication gets a reference to the given string and assigns it to the Application field.
func (o *PlatformProjectApp) SetApplication(v string) {
o.Application = &v
}
// GetAutomated returns the Automated field value if set, zero value otherwise.
func (o *PlatformProjectApp) GetAutomated() bool {
if o == nil || IsNil(o.Automated) {
var ret bool
return ret
}
return *o.Automated
}
// GetAutomatedOk returns a tuple with the Automated field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *PlatformProjectApp) GetAutomatedOk() (*bool, bool) {
if o == nil || IsNil(o.Automated) {
return nil, false
}
return o.Automated, true
}
// HasAutomated returns a boolean if a field has been set.
func (o *PlatformProjectApp) HasAutomated() bool {
if o != nil && !IsNil(o.Automated) {
return true
}
return false
}
// SetAutomated gets a reference to the given bool and assigns it to the Automated field.
func (o *PlatformProjectApp) SetAutomated(v bool) {
o.Automated = &v
}
// GetCd returns the Cd field value if set, zero value otherwise.
func (o *PlatformProjectApp) GetCd() PlatformCDApp {
if o == nil || IsNil(o.Cd) {
var ret PlatformCDApp
return ret
}
return *o.Cd
}
// GetCdOk returns a tuple with the Cd field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *PlatformProjectApp) GetCdOk() (*PlatformCDApp, bool) {
if o == nil || IsNil(o.Cd) {
return nil, false
}
return o.Cd, true
}
// HasCd returns a boolean if a field has been set.
func (o *PlatformProjectApp) HasCd() bool {
if o != nil && !IsNil(o.Cd) {
return true
}
return false
}
// SetCd gets a reference to the given PlatformCDApp and assigns it to the Cd field.
func (o *PlatformProjectApp) SetCd(v PlatformCDApp) {
o.Cd = &v
}
// GetComponent returns the Component field value if set, zero value otherwise.
func (o *PlatformProjectApp) GetComponent() string {
if o == nil || IsNil(o.Component) {
var ret string
return ret
}
return *o.Component
}
// GetComponentOk returns a tuple with the Component field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *PlatformProjectApp) GetComponentOk() (*string, bool) {
if o == nil || IsNil(o.Component) {
return nil, false
}
return o.Component, true
}
// HasComponent returns a boolean if a field has been set.
func (o *PlatformProjectApp) HasComponent() bool {
if o != nil && !IsNil(o.Component) {
return true
}
return false
}
// SetComponent gets a reference to the given string and assigns it to the Component field.
func (o *PlatformProjectApp) SetComponent(v string) {
o.Component = &v
}
// GetDigest returns the Digest field value if set, zero value otherwise.
func (o *PlatformProjectApp) GetDigest() string {
if o == nil || IsNil(o.Digest) {
var ret string
return ret
}
return *o.Digest
}
// GetDigestOk returns a tuple with the Digest field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *PlatformProjectApp) GetDigestOk() (*string, bool) {
if o == nil || IsNil(o.Digest) {
return nil, false
}
return o.Digest, true
}
// HasDigest returns a boolean if a field has been set.
func (o *PlatformProjectApp) HasDigest() bool {
if o != nil && !IsNil(o.Digest) {
return true
}
return false
}
// SetDigest gets a reference to the given string and assigns it to the Digest field.
func (o *PlatformProjectApp) SetDigest(v string) {
o.Digest = &v
}
// GetDrift returns the Drift field value if set, zero value otherwise.
func (o *PlatformProjectApp) GetDrift() PlatformVerdict {
if o == nil || IsNil(o.Drift) {
var ret PlatformVerdict
return ret
}
return *o.Drift
}
// GetDriftOk returns a tuple with the Drift field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *PlatformProjectApp) GetDriftOk() (*PlatformVerdict, bool) {
if o == nil || IsNil(o.Drift) {
return nil, false
}
return o.Drift, true
}
// HasDrift returns a boolean if a field has been set.
func (o *PlatformProjectApp) HasDrift() bool {
if o != nil && !IsNil(o.Drift) {
return true
}
return false
}
// SetDrift gets a reference to the given PlatformVerdict and assigns it to the Drift field.
func (o *PlatformProjectApp) SetDrift(v PlatformVerdict) {
o.Drift = &v
}
// GetEnv returns the Env field value if set, zero value otherwise.
func (o *PlatformProjectApp) GetEnv() []PlatformDeclareEnv {
if o == nil || IsNil(o.Env) {
var ret []PlatformDeclareEnv
return ret
}
return o.Env
}
// GetEnvOk returns a tuple with the Env field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *PlatformProjectApp) GetEnvOk() ([]PlatformDeclareEnv, bool) {
if o == nil || IsNil(o.Env) {
return nil, false
}
return o.Env, true
}
// HasEnv returns a boolean if a field has been set.
func (o *PlatformProjectApp) HasEnv() bool {
if o != nil && !IsNil(o.Env) {
return true
}
return false
}
// SetEnv gets a reference to the given []PlatformDeclareEnv and assigns it to the Env field.
func (o *PlatformProjectApp) SetEnv(v []PlatformDeclareEnv) {
o.Env = v
}
// GetHosts returns the Hosts field value if set, zero value otherwise.
func (o *PlatformProjectApp) GetHosts() []string {
if o == nil || IsNil(o.Hosts) {
var ret []string
return ret
}
return o.Hosts
}
// GetHostsOk returns a tuple with the Hosts field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *PlatformProjectApp) GetHostsOk() ([]string, bool) {
if o == nil || IsNil(o.Hosts) {
return nil, false
}
return o.Hosts, true
}
// HasHosts returns a boolean if a field has been set.
func (o *PlatformProjectApp) HasHosts() bool {
if o != nil && !IsNil(o.Hosts) {
return true
}
return false
}
// SetHosts gets a reference to the given []string and assigns it to the Hosts field.
func (o *PlatformProjectApp) SetHosts(v []string) {
o.Hosts = v
}
// GetImage returns the Image field value if set, zero value otherwise.
func (o *PlatformProjectApp) GetImage() string {
if o == nil || IsNil(o.Image) {
var ret string
return ret
}
return *o.Image
}
// GetImageOk returns a tuple with the Image field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *PlatformProjectApp) GetImageOk() (*string, bool) {
if o == nil || IsNil(o.Image) {
return nil, false
}
return o.Image, true
}
// HasImage returns a boolean if a field has been set.
func (o *PlatformProjectApp) HasImage() bool {
if o != nil && !IsNil(o.Image) {
return true
}
return false
}
// SetImage gets a reference to the given string and assigns it to the Image field.
func (o *PlatformProjectApp) SetImage(v string) {
o.Image = &v
}
// GetLatest returns the Latest field value if set, zero value otherwise.
func (o *PlatformProjectApp) GetLatest() string {
if o == nil || IsNil(o.Latest) {
var ret string
return ret
}
return *o.Latest
}
// GetLatestOk returns a tuple with the Latest field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *PlatformProjectApp) GetLatestOk() (*string, bool) {
if o == nil || IsNil(o.Latest) {
return nil, false
}
return o.Latest, true
}
// HasLatest returns a boolean if a field has been set.
func (o *PlatformProjectApp) HasLatest() bool {
if o != nil && !IsNil(o.Latest) {
return true
}
return false
}
// SetLatest gets a reference to the given string and assigns it to the Latest field.
func (o *PlatformProjectApp) SetLatest(v string) {
o.Latest = &v
}
// GetName returns the Name field value if set, zero value otherwise.
func (o *PlatformProjectApp) GetName() string {
if o == nil || IsNil(o.Name) {
var ret string
return ret
}
return *o.Name
}
// GetNameOk returns a tuple with the Name field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *PlatformProjectApp) GetNameOk() (*string, bool) {
if o == nil || IsNil(o.Name) {
return nil, false
}
return o.Name, true
}
// HasName returns a boolean if a field has been set.
func (o *PlatformProjectApp) HasName() bool {
if o != nil && !IsNil(o.Name) {
return true
}
return false
}
// SetName gets a reference to the given string and assigns it to the Name field.
func (o *PlatformProjectApp) SetName(v string) {
o.Name = &v
}
// GetOrg returns the Org field value if set, zero value otherwise.
func (o *PlatformProjectApp) GetOrg() string {
if o == nil || IsNil(o.Org) {
var ret string
return ret
}
return *o.Org
}
// GetOrgOk returns a tuple with the Org field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *PlatformProjectApp) GetOrgOk() (*string, bool) {
if o == nil || IsNil(o.Org) {
return nil, false
}
return o.Org, true
}
// HasOrg returns a boolean if a field has been set.
func (o *PlatformProjectApp) HasOrg() bool {
if o != nil && !IsNil(o.Org) {
return true
}
return false
}
// SetOrg gets a reference to the given string and assigns it to the Org field.
func (o *PlatformProjectApp) SetOrg(v string) {
o.Org = &v
}
// GetPartOf returns the PartOf field value if set, zero value otherwise.
func (o *PlatformProjectApp) GetPartOf() string {
if o == nil || IsNil(o.PartOf) {
var ret string
return ret
}
return *o.PartOf
}
// GetPartOfOk returns a tuple with the PartOf field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *PlatformProjectApp) GetPartOfOk() (*string, bool) {
if o == nil || IsNil(o.PartOf) {
return nil, false
}
return o.PartOf, true
}
// HasPartOf returns a boolean if a field has been set.
func (o *PlatformProjectApp) HasPartOf() bool {
if o != nil && !IsNil(o.PartOf) {
return true
}
return false
}
// SetPartOf gets a reference to the given string and assigns it to the PartOf field.
func (o *PlatformProjectApp) SetPartOf(v string) {
o.PartOf = &v
}
// GetPath returns the Path field value if set, zero value otherwise.
func (o *PlatformProjectApp) GetPath() string {
if o == nil || IsNil(o.Path) {
var ret string
return ret
}
return *o.Path
}
// GetPathOk returns a tuple with the Path field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *PlatformProjectApp) GetPathOk() (*string, bool) {
if o == nil || IsNil(o.Path) {
return nil, false
}
return o.Path, true
}
// HasPath returns a boolean if a field has been set.
func (o *PlatformProjectApp) HasPath() bool {
if o != nil && !IsNil(o.Path) {
return true
}
return false
}
// SetPath gets a reference to the given string and assigns it to the Path field.
func (o *PlatformProjectApp) SetPath(v string) {
o.Path = &v
}
// GetProject returns the Project field value if set, zero value otherwise.
func (o *PlatformProjectApp) GetProject() string {
if o == nil || IsNil(o.Project) {
var ret string
return ret
}
return *o.Project
}
// GetProjectOk returns a tuple with the Project field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *PlatformProjectApp) GetProjectOk() (*string, bool) {
if o == nil || IsNil(o.Project) {
return nil, false
}
return o.Project, true
}
// HasProject returns a boolean if a field has been set.
func (o *PlatformProjectApp) HasProject() bool {
if o != nil && !IsNil(o.Project) {
return true
}
return false
}
// SetProject gets a reference to the given string and assigns it to the Project field.
func (o *PlatformProjectApp) SetProject(v string) {
o.Project = &v
}
// GetReplicas returns the Replicas field value if set, zero value otherwise.
func (o *PlatformProjectApp) GetReplicas() int64 {
if o == nil || IsNil(o.Replicas) {
var ret int64
return ret
}
return *o.Replicas
}
// GetReplicasOk returns a tuple with the Replicas field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *PlatformProjectApp) GetReplicasOk() (*int64, bool) {
if o == nil || IsNil(o.Replicas) {
return nil, false
}
return o.Replicas, true
}
// HasReplicas returns a boolean if a field has been set.
func (o *PlatformProjectApp) HasReplicas() bool {
if o != nil && !IsNil(o.Replicas) {
return true
}
return false
}
// SetReplicas gets a reference to the given int64 and assigns it to the Replicas field.
func (o *PlatformProjectApp) SetReplicas(v int64) {
o.Replicas = &v
}
// GetRepository returns the Repository field value if set, zero value otherwise.
func (o *PlatformProjectApp) GetRepository() string {
if o == nil || IsNil(o.Repository) {
var ret string
return ret
}
return *o.Repository
}
// GetRepositoryOk returns a tuple with the Repository field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *PlatformProjectApp) GetRepositoryOk() (*string, bool) {
if o == nil || IsNil(o.Repository) {
return nil, false
}
return o.Repository, true
}
// HasRepository returns a boolean if a field has been set.
func (o *PlatformProjectApp) HasRepository() bool {
if o != nil && !IsNil(o.Repository) {
return true
}
return false
}
// SetRepository gets a reference to the given string and assigns it to the Repository field.
func (o *PlatformProjectApp) SetRepository(v string) {
o.Repository = &v
}
// GetRunning returns the Running field value if set, zero value otherwise.
func (o *PlatformProjectApp) GetRunning() PlatformRunning {
if o == nil || IsNil(o.Running) {
var ret PlatformRunning
return ret
}
return *o.Running
}
// GetRunningOk returns a tuple with the Running field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *PlatformProjectApp) GetRunningOk() (*PlatformRunning, bool) {
if o == nil || IsNil(o.Running) {
return nil, false
}
return o.Running, true
}
// HasRunning returns a boolean if a field has been set.
func (o *PlatformProjectApp) HasRunning() bool {
if o != nil && !IsNil(o.Running) {
return true
}
return false
}
// SetRunning gets a reference to the given PlatformRunning and assigns it to the Running field.
func (o *PlatformProjectApp) SetRunning(v PlatformRunning) {
o.Running = &v
}
// GetSecrets returns the Secrets field value if set, zero value otherwise.
func (o *PlatformProjectApp) GetSecrets() []PlatformSecretRef {
if o == nil || IsNil(o.Secrets) {
var ret []PlatformSecretRef
return ret
}
return o.Secrets
}
// GetSecretsOk returns a tuple with the Secrets field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *PlatformProjectApp) GetSecretsOk() ([]PlatformSecretRef, bool) {
if o == nil || IsNil(o.Secrets) {
return nil, false
}
return o.Secrets, true
}
// HasSecrets returns a boolean if a field has been set.
func (o *PlatformProjectApp) HasSecrets() bool {
if o != nil && !IsNil(o.Secrets) {
return true
}
return false
}
// SetSecrets gets a reference to the given []PlatformSecretRef and assigns it to the Secrets field.
func (o *PlatformProjectApp) SetSecrets(v []PlatformSecretRef) {
o.Secrets = v
}
// GetTag returns the Tag field value if set, zero value otherwise.
func (o *PlatformProjectApp) GetTag() string {
if o == nil || IsNil(o.Tag) {
var ret string
return ret
}
return *o.Tag
}
// GetTagOk returns a tuple with the Tag field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *PlatformProjectApp) GetTagOk() (*string, bool) {
if o == nil || IsNil(o.Tag) {
return nil, false
}
return o.Tag, true
}
// HasTag returns a boolean if a field has been set.
func (o *PlatformProjectApp) HasTag() bool {
if o != nil && !IsNil(o.Tag) {
return true
}
return false
}
// SetTag gets a reference to the given string and assigns it to the Tag field.
func (o *PlatformProjectApp) SetTag(v string) {
o.Tag = &v
}
func (o PlatformProjectApp) MarshalJSON() ([]byte, error) {
toSerialize, err := o.ToMap()
if err != nil {
return []byte{}, err
}
return json.Marshal(toSerialize)
}
func (o PlatformProjectApp) ToMap() (map[string]interface{}, error) {
toSerialize := map[string]interface{}{}
if !IsNil(o.Application) {
toSerialize["application"] = o.Application
}
if !IsNil(o.Automated) {
toSerialize["automated"] = o.Automated
}
if !IsNil(o.Cd) {
toSerialize["cd"] = o.Cd
}
if !IsNil(o.Component) {
toSerialize["component"] = o.Component
}
if !IsNil(o.Digest) {
toSerialize["digest"] = o.Digest
}
if !IsNil(o.Drift) {
toSerialize["drift"] = o.Drift
}
if !IsNil(o.Env) {
toSerialize["env"] = o.Env
}
if !IsNil(o.Hosts) {
toSerialize["hosts"] = o.Hosts
}
if !IsNil(o.Image) {
toSerialize["image"] = o.Image
}
if !IsNil(o.Latest) {
toSerialize["latest"] = o.Latest
}
if !IsNil(o.Name) {
toSerialize["name"] = o.Name
}
if !IsNil(o.Org) {
toSerialize["org"] = o.Org
}
if !IsNil(o.PartOf) {
toSerialize["partOf"] = o.PartOf
}
if !IsNil(o.Path) {
toSerialize["path"] = o.Path
}
if !IsNil(o.Project) {
toSerialize["project"] = o.Project
}
if !IsNil(o.Replicas) {
toSerialize["replicas"] = o.Replicas
}
if !IsNil(o.Repository) {
toSerialize["repository"] = o.Repository
}
if !IsNil(o.Running) {
toSerialize["running"] = o.Running
}
if !IsNil(o.Secrets) {
toSerialize["secrets"] = o.Secrets
}
if !IsNil(o.Tag) {
toSerialize["tag"] = o.Tag
}
for key, value := range o.AdditionalProperties {
toSerialize[key] = value
}
return toSerialize, nil
}
func (o *PlatformProjectApp) UnmarshalJSON(data []byte) (err error) {
varPlatformProjectApp := _PlatformProjectApp{}
err = json.Unmarshal(data, &varPlatformProjectApp)
if err != nil {
return err
}
*o = PlatformProjectApp(varPlatformProjectApp)
additionalProperties := make(map[string]interface{})
if err = json.Unmarshal(data, &additionalProperties); err == nil {
delete(additionalProperties, "application")
delete(additionalProperties, "automated")
delete(additionalProperties, "cd")
delete(additionalProperties, "component")
delete(additionalProperties, "digest")
delete(additionalProperties, "drift")
delete(additionalProperties, "env")
delete(additionalProperties, "hosts")
delete(additionalProperties, "image")
delete(additionalProperties, "latest")
delete(additionalProperties, "name")
delete(additionalProperties, "org")
delete(additionalProperties, "partOf")
delete(additionalProperties, "path")
delete(additionalProperties, "project")
delete(additionalProperties, "replicas")
delete(additionalProperties, "repository")
delete(additionalProperties, "running")
delete(additionalProperties, "secrets")
delete(additionalProperties, "tag")
o.AdditionalProperties = additionalProperties
}
return err
}
type NullablePlatformProjectApp struct {
value *PlatformProjectApp
isSet bool
}
func (v NullablePlatformProjectApp) Get() *PlatformProjectApp {
return v.value
}
func (v *NullablePlatformProjectApp) Set(val *PlatformProjectApp) {
v.value = val
v.isSet = true
}
func (v NullablePlatformProjectApp) IsSet() bool {
return v.isSet
}
func (v *NullablePlatformProjectApp) Unset() {
v.value = nil
v.isSet = false
}
func NewNullablePlatformProjectApp(val *PlatformProjectApp) *NullablePlatformProjectApp {
return &NullablePlatformProjectApp{value: val, isSet: true}
}
func (v NullablePlatformProjectApp) MarshalJSON() ([]byte, error) {
return json.Marshal(v.value)
}
func (v *NullablePlatformProjectApp) UnmarshalJSON(src []byte) error {
v.isSet = true
return json.Unmarshal(src, &v.value)
}