Skip to content

Commit

Permalink
feat: update via SDK Studio
Browse files Browse the repository at this point in the history
  • Loading branch information
stainless-bot committed Mar 6, 2024
1 parent b64df47 commit 8f4dd03
Show file tree
Hide file tree
Showing 460 changed files with 31,156 additions and 0 deletions.
32 changes: 32 additions & 0 deletions account.go
Original file line number Diff line number Diff line change
Expand Up @@ -115,6 +115,10 @@ func (r *Account) UnmarshalJSON(data []byte) (err error) {
return apijson.UnmarshalRoot(data, r)
}

func (r accountJSON) RawJSON() string {
return r.raw
}

// Account settings
type AccountSettings struct {
// Specifies the default nameservers to be used for new zones added to this
Expand Down Expand Up @@ -152,6 +156,10 @@ func (r *AccountSettings) UnmarshalJSON(data []byte) (err error) {
return apijson.UnmarshalRoot(data, r)
}

func (r accountSettingsJSON) RawJSON() string {
return r.raw
}

// Specifies the default nameservers to be used for new zones added to this
// account.
//
Expand Down Expand Up @@ -285,6 +293,10 @@ func (r *AccountUpdateResponseEnvelope) UnmarshalJSON(data []byte) (err error) {
return apijson.UnmarshalRoot(data, r)
}

func (r accountUpdateResponseEnvelopeJSON) RawJSON() string {
return r.raw
}

type AccountUpdateResponseEnvelopeErrors struct {
Code int64 `json:"code,required"`
Message string `json:"message,required"`
Expand All @@ -304,6 +316,10 @@ func (r *AccountUpdateResponseEnvelopeErrors) UnmarshalJSON(data []byte) (err er
return apijson.UnmarshalRoot(data, r)
}

func (r accountUpdateResponseEnvelopeErrorsJSON) RawJSON() string {
return r.raw
}

type AccountUpdateResponseEnvelopeMessages struct {
Code int64 `json:"code,required"`
Message string `json:"message,required"`
Expand All @@ -323,6 +339,10 @@ func (r *AccountUpdateResponseEnvelopeMessages) UnmarshalJSON(data []byte) (err
return apijson.UnmarshalRoot(data, r)
}

func (r accountUpdateResponseEnvelopeMessagesJSON) RawJSON() string {
return r.raw
}

// Whether the API call was successful
type AccountUpdateResponseEnvelopeSuccess bool

Expand Down Expand Up @@ -383,6 +403,10 @@ func (r *AccountGetResponseEnvelope) UnmarshalJSON(data []byte) (err error) {
return apijson.UnmarshalRoot(data, r)
}

func (r accountGetResponseEnvelopeJSON) RawJSON() string {
return r.raw
}

type AccountGetResponseEnvelopeErrors struct {
Code int64 `json:"code,required"`
Message string `json:"message,required"`
Expand All @@ -402,6 +426,10 @@ func (r *AccountGetResponseEnvelopeErrors) UnmarshalJSON(data []byte) (err error
return apijson.UnmarshalRoot(data, r)
}

func (r accountGetResponseEnvelopeErrorsJSON) RawJSON() string {
return r.raw
}

type AccountGetResponseEnvelopeMessages struct {
Code int64 `json:"code,required"`
Message string `json:"message,required"`
Expand All @@ -421,6 +449,10 @@ func (r *AccountGetResponseEnvelopeMessages) UnmarshalJSON(data []byte) (err err
return apijson.UnmarshalRoot(data, r)
}

func (r accountGetResponseEnvelopeMessagesJSON) RawJSON() string {
return r.raw
}

// Whether the API call was successful
type AccountGetResponseEnvelopeSuccess bool

Expand Down
Loading

0 comments on commit 8f4dd03

Please sign in to comment.