Documentation
¶
Index ¶
- Variables
- func CacheExpires(r *http.Response) time.Time
- func IsNil(i interface{}) bool
- func PtrBool(v bool) *bool
- func PtrFloat32(v float32) *float32
- func PtrFloat64(v float64) *float64
- func PtrInt(v int) *int
- func PtrInt32(v int32) *int32
- func PtrInt64(v int64) *int64
- func PtrString(v string) *string
- func PtrTime(v time.Time) *time.Time
- type APIClient
- type APIKey
- type APIResponse
- type ApiProjectsGetRequest
- type ApiProjectsPostRequest
- type ApiProjectsProjectDeleteRequest
- type ApiProjectsProjectEntriesEntryDeleteRequest
- type ApiProjectsProjectEntriesEntryGetRequest
- type ApiProjectsProjectEntriesEntryPutRequest
- type ApiProjectsProjectEntriesGetRequest
- func (r ApiProjectsProjectEntriesGetRequest) Category(category string) ApiProjectsProjectEntriesGetRequest
- func (r ApiProjectsProjectEntriesGetRequest) Execute() (*ProjectsProjectEntriesGet200Response, *http.Response, error)
- func (r ApiProjectsProjectEntriesGetRequest) Page(page int32) ApiProjectsProjectEntriesGetRequest
- func (r ApiProjectsProjectEntriesGetRequest) PerPage(perPage int32) ApiProjectsProjectEntriesGetRequest
- func (r ApiProjectsProjectEntriesGetRequest) Status(status string) ApiProjectsProjectEntriesGetRequest
- type ApiProjectsProjectEntriesPostRequest
- type ApiProjectsProjectGetRequest
- type ApiProjectsProjectPutRequest
- type ApiPublicProjectsSlugEntriesGetRequest
- type ApiTokensGetRequest
- type ApiTokensPostRequest
- type ApiTokensTokenDeleteRequest
- type ApiUserGetRequest
- type ApiUserUsageGetRequest
- type AuthenticationAPIService
- func (a *AuthenticationAPIService) TokensGet(ctx context.Context) ApiTokensGetRequest
- func (a *AuthenticationAPIService) TokensGetExecute(r ApiTokensGetRequest) (*TokensGet200Response, *http.Response, error)
- func (a *AuthenticationAPIService) TokensPost(ctx context.Context) ApiTokensPostRequest
- func (a *AuthenticationAPIService) TokensPostExecute(r ApiTokensPostRequest) (*TokensPost201Response, *http.Response, error)
- func (a *AuthenticationAPIService) TokensTokenDelete(ctx context.Context, token string) ApiTokensTokenDeleteRequest
- func (a *AuthenticationAPIService) TokensTokenDeleteExecute(r ApiTokensTokenDeleteRequest) (*http.Response, error)
- type BasicAuth
- type Configuration
- type EntriesAPIService
- func (a *EntriesAPIService) ProjectsProjectEntriesEntryDelete(ctx context.Context, project int32, entry int32) ApiProjectsProjectEntriesEntryDeleteRequest
- func (a *EntriesAPIService) ProjectsProjectEntriesEntryDeleteExecute(r ApiProjectsProjectEntriesEntryDeleteRequest) (*http.Response, error)
- func (a *EntriesAPIService) ProjectsProjectEntriesEntryGet(ctx context.Context, project int32, entry int32) ApiProjectsProjectEntriesEntryGetRequest
- func (a *EntriesAPIService) ProjectsProjectEntriesEntryGetExecute(r ApiProjectsProjectEntriesEntryGetRequest) (*ProjectsProjectEntriesPost201Response, *http.Response, error)
- func (a *EntriesAPIService) ProjectsProjectEntriesEntryPut(ctx context.Context, project int32, entry int32) ApiProjectsProjectEntriesEntryPutRequest
- func (a *EntriesAPIService) ProjectsProjectEntriesEntryPutExecute(r ApiProjectsProjectEntriesEntryPutRequest) (*ProjectsProjectEntriesPost201Response, *http.Response, error)
- func (a *EntriesAPIService) ProjectsProjectEntriesGet(ctx context.Context, project int32) ApiProjectsProjectEntriesGetRequest
- func (a *EntriesAPIService) ProjectsProjectEntriesGetExecute(r ApiProjectsProjectEntriesGetRequest) (*ProjectsProjectEntriesGet200Response, *http.Response, error)
- func (a *EntriesAPIService) ProjectsProjectEntriesPost(ctx context.Context, project int32) ApiProjectsProjectEntriesPostRequest
- func (a *EntriesAPIService) ProjectsProjectEntriesPostExecute(r ApiProjectsProjectEntriesPostRequest) (*ProjectsProjectEntriesPost201Response, *http.Response, error)
- type Entry
- func (o *Entry) GetCategory() string
- func (o *Entry) GetCategoryOk() (*string, bool)
- func (o *Entry) GetContent() string
- func (o *Entry) GetContentOk() (*string, bool)
- func (o *Entry) GetCreatedAt() time.Time
- func (o *Entry) GetCreatedAtOk() (*time.Time, bool)
- func (o *Entry) GetId() int32
- func (o *Entry) GetIdOk() (*int32, bool)
- func (o *Entry) GetIsPublished() bool
- func (o *Entry) GetIsPublishedOk() (*bool, bool)
- func (o *Entry) GetPublishedAt() time.Time
- func (o *Entry) GetPublishedAtOk() (*time.Time, bool)
- func (o *Entry) GetTitle() string
- func (o *Entry) GetTitleOk() (*string, bool)
- func (o *Entry) GetUpdatedAt() time.Time
- func (o *Entry) GetUpdatedAtOk() (*time.Time, bool)
- func (o *Entry) HasCategory() bool
- func (o *Entry) HasContent() bool
- func (o *Entry) HasCreatedAt() bool
- func (o *Entry) HasId() bool
- func (o *Entry) HasIsPublished() bool
- func (o *Entry) HasPublishedAt() bool
- func (o *Entry) HasTitle() bool
- func (o *Entry) HasUpdatedAt() bool
- func (o Entry) MarshalJSON() ([]byte, error)
- func (o *Entry) SetCategory(v string)
- func (o *Entry) SetContent(v string)
- func (o *Entry) SetCreatedAt(v time.Time)
- func (o *Entry) SetId(v int32)
- func (o *Entry) SetIsPublished(v bool)
- func (o *Entry) SetPublishedAt(v time.Time)
- func (o *Entry) SetPublishedAtNil()
- func (o *Entry) SetTitle(v string)
- func (o *Entry) SetUpdatedAt(v time.Time)
- func (o Entry) ToMap() (map[string]interface{}, error)
- func (o *Entry) UnsetPublishedAt()
- type EntryInput
- func (o *EntryInput) GetCategory() string
- func (o *EntryInput) GetCategoryOk() (*string, bool)
- func (o *EntryInput) GetContent() string
- func (o *EntryInput) GetContentOk() (*string, bool)
- func (o *EntryInput) GetIsPublished() bool
- func (o *EntryInput) GetIsPublishedOk() (*bool, bool)
- func (o *EntryInput) GetPublishedAt() time.Time
- func (o *EntryInput) GetPublishedAtOk() (*time.Time, bool)
- func (o *EntryInput) GetTitle() string
- func (o *EntryInput) GetTitleOk() (*string, bool)
- func (o *EntryInput) HasIsPublished() bool
- func (o *EntryInput) HasPublishedAt() bool
- func (o EntryInput) MarshalJSON() ([]byte, error)
- func (o *EntryInput) SetCategory(v string)
- func (o *EntryInput) SetContent(v string)
- func (o *EntryInput) SetIsPublished(v bool)
- func (o *EntryInput) SetPublishedAt(v time.Time)
- func (o *EntryInput) SetPublishedAtNil()
- func (o *EntryInput) SetTitle(v string)
- func (o EntryInput) ToMap() (map[string]interface{}, error)
- func (o *EntryInput) UnmarshalJSON(data []byte) (err error)
- func (o *EntryInput) UnsetPublishedAt()
- type Error
- type GenericOpenAPIError
- type MappedNullable
- type NewToken
- func (o *NewToken) GetCreatedAt() time.Time
- func (o *NewToken) GetCreatedAtOk() (*time.Time, bool)
- func (o *NewToken) GetId() string
- func (o *NewToken) GetIdOk() (*string, bool)
- func (o *NewToken) GetName() string
- func (o *NewToken) GetNameOk() (*string, bool)
- func (o *NewToken) GetToken() string
- func (o *NewToken) GetTokenOk() (*string, bool)
- func (o *NewToken) HasCreatedAt() bool
- func (o *NewToken) HasId() bool
- func (o *NewToken) HasName() bool
- func (o *NewToken) HasToken() bool
- func (o NewToken) MarshalJSON() ([]byte, error)
- func (o *NewToken) SetCreatedAt(v time.Time)
- func (o *NewToken) SetId(v string)
- func (o *NewToken) SetName(v string)
- func (o *NewToken) SetToken(v string)
- func (o NewToken) ToMap() (map[string]interface{}, error)
- type NullableBool
- type NullableEntry
- type NullableEntryInput
- type NullableError
- type NullableFloat32
- type NullableFloat64
- type NullableInt
- type NullableInt32
- type NullableInt64
- type NullableNewToken
- type NullablePaginationMeta
- func (v NullablePaginationMeta) Get() *PaginationMeta
- func (v NullablePaginationMeta) IsSet() bool
- func (v NullablePaginationMeta) MarshalJSON() ([]byte, error)
- func (v *NullablePaginationMeta) Set(val *PaginationMeta)
- func (v *NullablePaginationMeta) UnmarshalJSON(src []byte) error
- func (v *NullablePaginationMeta) Unset()
- type NullableProject
- type NullableProjectInput
- func (v NullableProjectInput) Get() *ProjectInput
- func (v NullableProjectInput) IsSet() bool
- func (v NullableProjectInput) MarshalJSON() ([]byte, error)
- func (v *NullableProjectInput) Set(val *ProjectInput)
- func (v *NullableProjectInput) UnmarshalJSON(src []byte) error
- func (v *NullableProjectInput) Unset()
- type NullableProjectsGet200Response
- func (v NullableProjectsGet200Response) Get() *ProjectsGet200Response
- func (v NullableProjectsGet200Response) IsSet() bool
- func (v NullableProjectsGet200Response) MarshalJSON() ([]byte, error)
- func (v *NullableProjectsGet200Response) Set(val *ProjectsGet200Response)
- func (v *NullableProjectsGet200Response) UnmarshalJSON(src []byte) error
- func (v *NullableProjectsGet200Response) Unset()
- type NullableProjectsPost201Response
- func (v NullableProjectsPost201Response) Get() *ProjectsPost201Response
- func (v NullableProjectsPost201Response) IsSet() bool
- func (v NullableProjectsPost201Response) MarshalJSON() ([]byte, error)
- func (v *NullableProjectsPost201Response) Set(val *ProjectsPost201Response)
- func (v *NullableProjectsPost201Response) UnmarshalJSON(src []byte) error
- func (v *NullableProjectsPost201Response) Unset()
- type NullableProjectsProjectEntriesGet200Response
- func (v NullableProjectsProjectEntriesGet200Response) Get() *ProjectsProjectEntriesGet200Response
- func (v NullableProjectsProjectEntriesGet200Response) IsSet() bool
- func (v NullableProjectsProjectEntriesGet200Response) MarshalJSON() ([]byte, error)
- func (v *NullableProjectsProjectEntriesGet200Response) Set(val *ProjectsProjectEntriesGet200Response)
- func (v *NullableProjectsProjectEntriesGet200Response) UnmarshalJSON(src []byte) error
- func (v *NullableProjectsProjectEntriesGet200Response) Unset()
- type NullableProjectsProjectEntriesPost201Response
- func (v NullableProjectsProjectEntriesPost201Response) Get() *ProjectsProjectEntriesPost201Response
- func (v NullableProjectsProjectEntriesPost201Response) IsSet() bool
- func (v NullableProjectsProjectEntriesPost201Response) MarshalJSON() ([]byte, error)
- func (v *NullableProjectsProjectEntriesPost201Response) Set(val *ProjectsProjectEntriesPost201Response)
- func (v *NullableProjectsProjectEntriesPost201Response) UnmarshalJSON(src []byte) error
- func (v *NullableProjectsProjectEntriesPost201Response) Unset()
- type NullablePublicProjectsSlugEntriesGet200Response
- func (v NullablePublicProjectsSlugEntriesGet200Response) Get() *PublicProjectsSlugEntriesGet200Response
- func (v NullablePublicProjectsSlugEntriesGet200Response) IsSet() bool
- func (v NullablePublicProjectsSlugEntriesGet200Response) MarshalJSON() ([]byte, error)
- func (v *NullablePublicProjectsSlugEntriesGet200Response) Set(val *PublicProjectsSlugEntriesGet200Response)
- func (v *NullablePublicProjectsSlugEntriesGet200Response) UnmarshalJSON(src []byte) error
- func (v *NullablePublicProjectsSlugEntriesGet200Response) Unset()
- type NullableString
- type NullableTime
- type NullableTokenInfo
- type NullableTokensGet200Response
- func (v NullableTokensGet200Response) Get() *TokensGet200Response
- func (v NullableTokensGet200Response) IsSet() bool
- func (v NullableTokensGet200Response) MarshalJSON() ([]byte, error)
- func (v *NullableTokensGet200Response) Set(val *TokensGet200Response)
- func (v *NullableTokensGet200Response) UnmarshalJSON(src []byte) error
- func (v *NullableTokensGet200Response) Unset()
- type NullableTokensPost201Response
- func (v NullableTokensPost201Response) Get() *TokensPost201Response
- func (v NullableTokensPost201Response) IsSet() bool
- func (v NullableTokensPost201Response) MarshalJSON() ([]byte, error)
- func (v *NullableTokensPost201Response) Set(val *TokensPost201Response)
- func (v *NullableTokensPost201Response) UnmarshalJSON(src []byte) error
- func (v *NullableTokensPost201Response) Unset()
- type NullableTokensPostRequest
- func (v NullableTokensPostRequest) Get() *TokensPostRequest
- func (v NullableTokensPostRequest) IsSet() bool
- func (v NullableTokensPostRequest) MarshalJSON() ([]byte, error)
- func (v *NullableTokensPostRequest) Set(val *TokensPostRequest)
- func (v *NullableTokensPostRequest) UnmarshalJSON(src []byte) error
- func (v *NullableTokensPostRequest) Unset()
- type NullableUsage
- type NullableUsageLimits
- func (v NullableUsageLimits) Get() *UsageLimits
- func (v NullableUsageLimits) IsSet() bool
- func (v NullableUsageLimits) MarshalJSON() ([]byte, error)
- func (v *NullableUsageLimits) Set(val *UsageLimits)
- func (v *NullableUsageLimits) UnmarshalJSON(src []byte) error
- func (v *NullableUsageLimits) Unset()
- type NullableUser
- type NullableUserGet200Response
- func (v NullableUserGet200Response) Get() *UserGet200Response
- func (v NullableUserGet200Response) IsSet() bool
- func (v NullableUserGet200Response) MarshalJSON() ([]byte, error)
- func (v *NullableUserGet200Response) Set(val *UserGet200Response)
- func (v *NullableUserGet200Response) UnmarshalJSON(src []byte) error
- func (v *NullableUserGet200Response) Unset()
- type NullableUserPlan
- type NullableUserUsageGet200Response
- func (v NullableUserUsageGet200Response) Get() *UserUsageGet200Response
- func (v NullableUserUsageGet200Response) IsSet() bool
- func (v NullableUserUsageGet200Response) MarshalJSON() ([]byte, error)
- func (v *NullableUserUsageGet200Response) Set(val *UserUsageGet200Response)
- func (v *NullableUserUsageGet200Response) UnmarshalJSON(src []byte) error
- func (v *NullableUserUsageGet200Response) Unset()
- type NullableValidationError
- func (v NullableValidationError) Get() *ValidationError
- func (v NullableValidationError) IsSet() bool
- func (v NullableValidationError) MarshalJSON() ([]byte, error)
- func (v *NullableValidationError) Set(val *ValidationError)
- func (v *NullableValidationError) UnmarshalJSON(src []byte) error
- func (v *NullableValidationError) Unset()
- type PaginationMeta
- func (o *PaginationMeta) GetCurrentPage() int32
- func (o *PaginationMeta) GetCurrentPageOk() (*int32, bool)
- func (o *PaginationMeta) GetLastPage() int32
- func (o *PaginationMeta) GetLastPageOk() (*int32, bool)
- func (o *PaginationMeta) GetPerPage() int32
- func (o *PaginationMeta) GetPerPageOk() (*int32, bool)
- func (o *PaginationMeta) GetTotal() int32
- func (o *PaginationMeta) GetTotalOk() (*int32, bool)
- func (o *PaginationMeta) HasCurrentPage() bool
- func (o *PaginationMeta) HasLastPage() bool
- func (o *PaginationMeta) HasPerPage() bool
- func (o *PaginationMeta) HasTotal() bool
- func (o PaginationMeta) MarshalJSON() ([]byte, error)
- func (o *PaginationMeta) SetCurrentPage(v int32)
- func (o *PaginationMeta) SetLastPage(v int32)
- func (o *PaginationMeta) SetPerPage(v int32)
- func (o *PaginationMeta) SetTotal(v int32)
- func (o PaginationMeta) ToMap() (map[string]interface{}, error)
- type Project
- func (o *Project) GetCreatedAt() time.Time
- func (o *Project) GetCreatedAtOk() (*time.Time, bool)
- func (o *Project) GetCustomDomain() string
- func (o *Project) GetCustomDomainOk() (*string, bool)
- func (o *Project) GetDescription() string
- func (o *Project) GetDescriptionOk() (*string, bool)
- func (o *Project) GetDomainVerificationStatus() string
- func (o *Project) GetDomainVerificationStatusOk() (*string, bool)
- func (o *Project) GetEntriesCount() int32
- func (o *Project) GetEntriesCountOk() (*int32, bool)
- func (o *Project) GetId() int32
- func (o *Project) GetIdOk() (*int32, bool)
- func (o *Project) GetName() string
- func (o *Project) GetNameOk() (*string, bool)
- func (o *Project) GetSlug() string
- func (o *Project) GetSlugOk() (*string, bool)
- func (o *Project) GetUpdatedAt() time.Time
- func (o *Project) GetUpdatedAtOk() (*time.Time, bool)
- func (o *Project) HasCreatedAt() bool
- func (o *Project) HasCustomDomain() bool
- func (o *Project) HasDescription() bool
- func (o *Project) HasDomainVerificationStatus() bool
- func (o *Project) HasEntriesCount() bool
- func (o *Project) HasId() bool
- func (o *Project) HasName() bool
- func (o *Project) HasSlug() bool
- func (o *Project) HasUpdatedAt() bool
- func (o Project) MarshalJSON() ([]byte, error)
- func (o *Project) SetCreatedAt(v time.Time)
- func (o *Project) SetCustomDomain(v string)
- func (o *Project) SetCustomDomainNil()
- func (o *Project) SetDescription(v string)
- func (o *Project) SetDescriptionNil()
- func (o *Project) SetDomainVerificationStatus(v string)
- func (o *Project) SetDomainVerificationStatusNil()
- func (o *Project) SetEntriesCount(v int32)
- func (o *Project) SetId(v int32)
- func (o *Project) SetName(v string)
- func (o *Project) SetSlug(v string)
- func (o *Project) SetUpdatedAt(v time.Time)
- func (o Project) ToMap() (map[string]interface{}, error)
- func (o *Project) UnsetCustomDomain()
- func (o *Project) UnsetDescription()
- func (o *Project) UnsetDomainVerificationStatus()
- type ProjectInput
- func (o *ProjectInput) GetDescription() string
- func (o *ProjectInput) GetDescriptionOk() (*string, bool)
- func (o *ProjectInput) GetName() string
- func (o *ProjectInput) GetNameOk() (*string, bool)
- func (o *ProjectInput) HasDescription() bool
- func (o ProjectInput) MarshalJSON() ([]byte, error)
- func (o *ProjectInput) SetDescription(v string)
- func (o *ProjectInput) SetDescriptionNil()
- func (o *ProjectInput) SetName(v string)
- func (o ProjectInput) ToMap() (map[string]interface{}, error)
- func (o *ProjectInput) UnmarshalJSON(data []byte) (err error)
- func (o *ProjectInput) UnsetDescription()
- type ProjectsAPIService
- func (a *ProjectsAPIService) ProjectsGet(ctx context.Context) ApiProjectsGetRequest
- func (a *ProjectsAPIService) ProjectsGetExecute(r ApiProjectsGetRequest) (*ProjectsGet200Response, *http.Response, error)
- func (a *ProjectsAPIService) ProjectsPost(ctx context.Context) ApiProjectsPostRequest
- func (a *ProjectsAPIService) ProjectsPostExecute(r ApiProjectsPostRequest) (*ProjectsPost201Response, *http.Response, error)
- func (a *ProjectsAPIService) ProjectsProjectDelete(ctx context.Context, project int32) ApiProjectsProjectDeleteRequest
- func (a *ProjectsAPIService) ProjectsProjectDeleteExecute(r ApiProjectsProjectDeleteRequest) (*http.Response, error)
- func (a *ProjectsAPIService) ProjectsProjectGet(ctx context.Context, project int32) ApiProjectsProjectGetRequest
- func (a *ProjectsAPIService) ProjectsProjectGetExecute(r ApiProjectsProjectGetRequest) (*ProjectsPost201Response, *http.Response, error)
- func (a *ProjectsAPIService) ProjectsProjectPut(ctx context.Context, project int32) ApiProjectsProjectPutRequest
- func (a *ProjectsAPIService) ProjectsProjectPutExecute(r ApiProjectsProjectPutRequest) (*ProjectsPost201Response, *http.Response, error)
- type ProjectsGet200Response
- func (o *ProjectsGet200Response) GetData() []Project
- func (o *ProjectsGet200Response) GetDataOk() ([]Project, bool)
- func (o *ProjectsGet200Response) HasData() bool
- func (o ProjectsGet200Response) MarshalJSON() ([]byte, error)
- func (o *ProjectsGet200Response) SetData(v []Project)
- func (o ProjectsGet200Response) ToMap() (map[string]interface{}, error)
- type ProjectsPost201Response
- func (o *ProjectsPost201Response) GetData() Project
- func (o *ProjectsPost201Response) GetDataOk() (*Project, bool)
- func (o *ProjectsPost201Response) HasData() bool
- func (o ProjectsPost201Response) MarshalJSON() ([]byte, error)
- func (o *ProjectsPost201Response) SetData(v Project)
- func (o ProjectsPost201Response) ToMap() (map[string]interface{}, error)
- type ProjectsProjectEntriesGet200Response
- func (o *ProjectsProjectEntriesGet200Response) GetData() []Entry
- func (o *ProjectsProjectEntriesGet200Response) GetDataOk() ([]Entry, bool)
- func (o *ProjectsProjectEntriesGet200Response) GetMeta() PaginationMeta
- func (o *ProjectsProjectEntriesGet200Response) GetMetaOk() (*PaginationMeta, bool)
- func (o *ProjectsProjectEntriesGet200Response) HasData() bool
- func (o *ProjectsProjectEntriesGet200Response) HasMeta() bool
- func (o ProjectsProjectEntriesGet200Response) MarshalJSON() ([]byte, error)
- func (o *ProjectsProjectEntriesGet200Response) SetData(v []Entry)
- func (o *ProjectsProjectEntriesGet200Response) SetMeta(v PaginationMeta)
- func (o ProjectsProjectEntriesGet200Response) ToMap() (map[string]interface{}, error)
- type ProjectsProjectEntriesPost201Response
- func (o *ProjectsProjectEntriesPost201Response) GetData() Entry
- func (o *ProjectsProjectEntriesPost201Response) GetDataOk() (*Entry, bool)
- func (o *ProjectsProjectEntriesPost201Response) HasData() bool
- func (o ProjectsProjectEntriesPost201Response) MarshalJSON() ([]byte, error)
- func (o *ProjectsProjectEntriesPost201Response) SetData(v Entry)
- func (o ProjectsProjectEntriesPost201Response) ToMap() (map[string]interface{}, error)
- type PublicAPIService
- type PublicProjectsSlugEntriesGet200Response
- func (o *PublicProjectsSlugEntriesGet200Response) GetData() []Entry
- func (o *PublicProjectsSlugEntriesGet200Response) GetDataOk() ([]Entry, bool)
- func (o *PublicProjectsSlugEntriesGet200Response) HasData() bool
- func (o PublicProjectsSlugEntriesGet200Response) MarshalJSON() ([]byte, error)
- func (o *PublicProjectsSlugEntriesGet200Response) SetData(v []Entry)
- func (o PublicProjectsSlugEntriesGet200Response) ToMap() (map[string]interface{}, error)
- type ServerConfiguration
- type ServerConfigurations
- type ServerVariable
- type TokenInfo
- func (o *TokenInfo) GetCreatedAt() time.Time
- func (o *TokenInfo) GetCreatedAtOk() (*time.Time, bool)
- func (o *TokenInfo) GetId() string
- func (o *TokenInfo) GetIdOk() (*string, bool)
- func (o *TokenInfo) GetLastUsedAt() time.Time
- func (o *TokenInfo) GetLastUsedAtOk() (*time.Time, bool)
- func (o *TokenInfo) GetName() string
- func (o *TokenInfo) GetNameOk() (*string, bool)
- func (o *TokenInfo) HasCreatedAt() bool
- func (o *TokenInfo) HasId() bool
- func (o *TokenInfo) HasLastUsedAt() bool
- func (o *TokenInfo) HasName() bool
- func (o TokenInfo) MarshalJSON() ([]byte, error)
- func (o *TokenInfo) SetCreatedAt(v time.Time)
- func (o *TokenInfo) SetId(v string)
- func (o *TokenInfo) SetLastUsedAt(v time.Time)
- func (o *TokenInfo) SetLastUsedAtNil()
- func (o *TokenInfo) SetName(v string)
- func (o TokenInfo) ToMap() (map[string]interface{}, error)
- func (o *TokenInfo) UnsetLastUsedAt()
- type TokensGet200Response
- func (o *TokensGet200Response) GetData() []TokenInfo
- func (o *TokensGet200Response) GetDataOk() ([]TokenInfo, bool)
- func (o *TokensGet200Response) HasData() bool
- func (o TokensGet200Response) MarshalJSON() ([]byte, error)
- func (o *TokensGet200Response) SetData(v []TokenInfo)
- func (o TokensGet200Response) ToMap() (map[string]interface{}, error)
- type TokensPost201Response
- func (o *TokensPost201Response) GetData() NewToken
- func (o *TokensPost201Response) GetDataOk() (*NewToken, bool)
- func (o *TokensPost201Response) HasData() bool
- func (o TokensPost201Response) MarshalJSON() ([]byte, error)
- func (o *TokensPost201Response) SetData(v NewToken)
- func (o TokensPost201Response) ToMap() (map[string]interface{}, error)
- type TokensPostRequest
- func (o *TokensPostRequest) GetName() string
- func (o *TokensPostRequest) GetNameOk() (*string, bool)
- func (o TokensPostRequest) MarshalJSON() ([]byte, error)
- func (o *TokensPostRequest) SetName(v string)
- func (o TokensPostRequest) ToMap() (map[string]interface{}, error)
- func (o *TokensPostRequest) UnmarshalJSON(data []byte) (err error)
- type Usage
- func (o *Usage) GetEntriesThisMonth() int32
- func (o *Usage) GetEntriesThisMonthOk() (*int32, bool)
- func (o *Usage) GetLimits() UsageLimits
- func (o *Usage) GetLimitsOk() (*UsageLimits, bool)
- func (o *Usage) GetPlanName() string
- func (o *Usage) GetPlanNameOk() (*string, bool)
- func (o *Usage) GetProjectsCount() int32
- func (o *Usage) GetProjectsCountOk() (*int32, bool)
- func (o *Usage) HasEntriesThisMonth() bool
- func (o *Usage) HasLimits() bool
- func (o *Usage) HasPlanName() bool
- func (o *Usage) HasProjectsCount() bool
- func (o Usage) MarshalJSON() ([]byte, error)
- func (o *Usage) SetEntriesThisMonth(v int32)
- func (o *Usage) SetLimits(v UsageLimits)
- func (o *Usage) SetPlanName(v string)
- func (o *Usage) SetProjectsCount(v int32)
- func (o Usage) ToMap() (map[string]interface{}, error)
- type UsageLimits
- func (o *UsageLimits) GetMaxEntriesPerMonth() int32
- func (o *UsageLimits) GetMaxEntriesPerMonthOk() (*int32, bool)
- func (o *UsageLimits) GetMaxProjects() int32
- func (o *UsageLimits) GetMaxProjectsOk() (*int32, bool)
- func (o *UsageLimits) HasMaxEntriesPerMonth() bool
- func (o *UsageLimits) HasMaxProjects() bool
- func (o UsageLimits) MarshalJSON() ([]byte, error)
- func (o *UsageLimits) SetMaxEntriesPerMonth(v int32)
- func (o *UsageLimits) SetMaxProjects(v int32)
- func (o UsageLimits) ToMap() (map[string]interface{}, error)
- type User
- func (o *User) GetCreatedAt() time.Time
- func (o *User) GetCreatedAtOk() (*time.Time, bool)
- func (o *User) GetEmail() string
- func (o *User) GetEmailOk() (*string, bool)
- func (o *User) GetId() int32
- func (o *User) GetIdOk() (*int32, bool)
- func (o *User) GetName() string
- func (o *User) GetNameOk() (*string, bool)
- func (o *User) GetPlan() UserPlan
- func (o *User) GetPlanOk() (*UserPlan, bool)
- func (o *User) HasCreatedAt() bool
- func (o *User) HasEmail() bool
- func (o *User) HasId() bool
- func (o *User) HasName() bool
- func (o *User) HasPlan() bool
- func (o User) MarshalJSON() ([]byte, error)
- func (o *User) SetCreatedAt(v time.Time)
- func (o *User) SetEmail(v string)
- func (o *User) SetId(v int32)
- func (o *User) SetName(v string)
- func (o *User) SetPlan(v UserPlan)
- func (o *User) SetPlanNil()
- func (o User) ToMap() (map[string]interface{}, error)
- func (o *User) UnsetPlan()
- type UserGet200Response
- func (o *UserGet200Response) GetData() User
- func (o *UserGet200Response) GetDataOk() (*User, bool)
- func (o *UserGet200Response) HasData() bool
- func (o UserGet200Response) MarshalJSON() ([]byte, error)
- func (o *UserGet200Response) SetData(v User)
- func (o UserGet200Response) ToMap() (map[string]interface{}, error)
- type UserPlan
- func (o *UserPlan) GetAnalyticsEnabled() bool
- func (o *UserPlan) GetAnalyticsEnabledOk() (*bool, bool)
- func (o *UserPlan) GetApiAccessEnabled() bool
- func (o *UserPlan) GetApiAccessEnabledOk() (*bool, bool)
- func (o *UserPlan) GetApiRateLimit() int32
- func (o *UserPlan) GetApiRateLimitOk() (*int32, bool)
- func (o *UserPlan) GetCustomDomainAllowed() bool
- func (o *UserPlan) GetCustomDomainAllowedOk() (*bool, bool)
- func (o *UserPlan) GetId() int32
- func (o *UserPlan) GetIdOk() (*int32, bool)
- func (o *UserPlan) GetMaxEntriesPerMonth() int32
- func (o *UserPlan) GetMaxEntriesPerMonthOk() (*int32, bool)
- func (o *UserPlan) GetMaxProjects() int32
- func (o *UserPlan) GetMaxProjectsOk() (*int32, bool)
- func (o *UserPlan) GetName() string
- func (o *UserPlan) GetNameOk() (*string, bool)
- func (o *UserPlan) GetPlanType() string
- func (o *UserPlan) GetPlanTypeOk() (*string, bool)
- func (o *UserPlan) HasAnalyticsEnabled() bool
- func (o *UserPlan) HasApiAccessEnabled() bool
- func (o *UserPlan) HasApiRateLimit() bool
- func (o *UserPlan) HasCustomDomainAllowed() bool
- func (o *UserPlan) HasId() bool
- func (o *UserPlan) HasMaxEntriesPerMonth() bool
- func (o *UserPlan) HasMaxProjects() bool
- func (o *UserPlan) HasName() bool
- func (o *UserPlan) HasPlanType() bool
- func (o UserPlan) MarshalJSON() ([]byte, error)
- func (o *UserPlan) SetAnalyticsEnabled(v bool)
- func (o *UserPlan) SetApiAccessEnabled(v bool)
- func (o *UserPlan) SetApiRateLimit(v int32)
- func (o *UserPlan) SetCustomDomainAllowed(v bool)
- func (o *UserPlan) SetId(v int32)
- func (o *UserPlan) SetMaxEntriesPerMonth(v int32)
- func (o *UserPlan) SetMaxProjects(v int32)
- func (o *UserPlan) SetName(v string)
- func (o *UserPlan) SetPlanType(v string)
- func (o UserPlan) ToMap() (map[string]interface{}, error)
- type UserUsageGet200Response
- func (o *UserUsageGet200Response) GetData() Usage
- func (o *UserUsageGet200Response) GetDataOk() (*Usage, bool)
- func (o *UserUsageGet200Response) HasData() bool
- func (o UserUsageGet200Response) MarshalJSON() ([]byte, error)
- func (o *UserUsageGet200Response) SetData(v Usage)
- func (o UserUsageGet200Response) ToMap() (map[string]interface{}, error)
- type UsersAPIService
- func (a *UsersAPIService) UserGet(ctx context.Context) ApiUserGetRequest
- func (a *UsersAPIService) UserGetExecute(r ApiUserGetRequest) (*UserGet200Response, *http.Response, error)
- func (a *UsersAPIService) UserUsageGet(ctx context.Context) ApiUserUsageGetRequest
- func (a *UsersAPIService) UserUsageGetExecute(r ApiUserUsageGetRequest) (*UserUsageGet200Response, *http.Response, error)
- type ValidationError
- func (o *ValidationError) GetErrors() map[string][]string
- func (o *ValidationError) GetErrorsOk() (*map[string][]string, bool)
- func (o *ValidationError) GetMessage() string
- func (o *ValidationError) GetMessageOk() (*string, bool)
- func (o *ValidationError) HasErrors() bool
- func (o *ValidationError) HasMessage() bool
- func (o ValidationError) MarshalJSON() ([]byte, error)
- func (o *ValidationError) SetErrors(v map[string][]string)
- func (o *ValidationError) SetMessage(v string)
- func (o ValidationError) ToMap() (map[string]interface{}, error)
Constants ¶
This section is empty.
Variables ¶
var ( JsonCheck = regexp.MustCompile(`(?i:(?:application|text)/(?:[^;]+\+)?json)`) XmlCheck = regexp.MustCompile(`(?i:(?:application|text)/(?:[^;]+\+)?xml)`) )
var ( // ContextAccessToken takes a string oauth2 access token as authentication for the request. ContextAccessToken = contextKey("accesstoken") // ContextServerIndex uses a server configuration from the index. ContextServerIndex = contextKey("serverIndex") // ContextOperationServerIndices uses a server configuration from the index mapping. ContextOperationServerIndices = contextKey("serverOperationIndices") // ContextServerVariables overrides a server configuration variables. ContextServerVariables = contextKey("serverVariables") // ContextOperationServerVariables overrides a server configuration variables using operation specific values. ContextOperationServerVariables = contextKey("serverOperationVariables") )
Functions ¶
func CacheExpires ¶
CacheExpires helper function to determine remaining time before repeating a request.
func PtrFloat32 ¶
PtrFloat32 is a helper routine that returns a pointer to given float value.
func PtrFloat64 ¶
PtrFloat64 is a helper routine that returns a pointer to given float value.
Types ¶
type APIClient ¶
type APIClient struct {
AuthenticationAPI *AuthenticationAPIService
EntriesAPI *EntriesAPIService
ProjectsAPI *ProjectsAPIService
PublicAPI *PublicAPIService
UsersAPI *UsersAPIService
// contains filtered or unexported fields
}
APIClient manages communication with the Nitrozen API API v1.0.0 In most cases there should be only one, shared, APIClient.
func NewAPIClient ¶
func NewAPIClient(cfg *Configuration) *APIClient
NewAPIClient creates a new API client. Requires a userAgent string describing your application. optionally a custom http.Client to allow for advanced features such as caching.
func (*APIClient) GetConfig ¶
func (c *APIClient) GetConfig() *Configuration
Allow modification of underlying config for alternate implementations and testing Caution: modifying the configuration while live can cause data races and potentially unwanted behavior
type APIKey ¶
APIKey provides API key based authentication to a request passed via context using ContextAPIKey
type APIResponse ¶
type APIResponse struct {
*http.Response `json:"-"`
Message string `json:"message,omitempty"`
// Operation is the name of the OpenAPI operation.
Operation string `json:"operation,omitempty"`
// RequestURL is the request URL. This value is always available, even if the
// embedded *http.Response is nil.
RequestURL string `json:"url,omitempty"`
// Method is the HTTP method used for the request. This value is always
// available, even if the embedded *http.Response is nil.
Method string `json:"method,omitempty"`
// Payload holds the contents of the response body (which may be nil or empty).
// This is provided here as the raw response.Body() reader will have already
// been drained.
Payload []byte `json:"-"`
}
APIResponse stores the API response returned by the server.
func NewAPIResponse ¶
func NewAPIResponse(r *http.Response) *APIResponse
NewAPIResponse returns a new APIResponse object.
func NewAPIResponseWithError ¶
func NewAPIResponseWithError(errorMessage string) *APIResponse
NewAPIResponseWithError returns a new APIResponse object with the provided error message.
type ApiProjectsGetRequest ¶
type ApiProjectsGetRequest struct {
ApiService *ProjectsAPIService
// contains filtered or unexported fields
}
func (ApiProjectsGetRequest) Execute ¶
func (r ApiProjectsGetRequest) Execute() (*ProjectsGet200Response, *http.Response, error)
type ApiProjectsPostRequest ¶
type ApiProjectsPostRequest struct {
ApiService *ProjectsAPIService
// contains filtered or unexported fields
}
func (ApiProjectsPostRequest) Execute ¶
func (r ApiProjectsPostRequest) Execute() (*ProjectsPost201Response, *http.Response, error)
func (ApiProjectsPostRequest) ProjectInput ¶
func (r ApiProjectsPostRequest) ProjectInput(projectInput ProjectInput) ApiProjectsPostRequest
type ApiProjectsProjectDeleteRequest ¶
type ApiProjectsProjectDeleteRequest struct {
ApiService *ProjectsAPIService
// contains filtered or unexported fields
}
type ApiProjectsProjectEntriesEntryDeleteRequest ¶
type ApiProjectsProjectEntriesEntryDeleteRequest struct {
ApiService *EntriesAPIService
// contains filtered or unexported fields
}
type ApiProjectsProjectEntriesEntryGetRequest ¶
type ApiProjectsProjectEntriesEntryGetRequest struct {
ApiService *EntriesAPIService
// contains filtered or unexported fields
}
func (ApiProjectsProjectEntriesEntryGetRequest) Execute ¶
func (r ApiProjectsProjectEntriesEntryGetRequest) Execute() (*ProjectsProjectEntriesPost201Response, *http.Response, error)
type ApiProjectsProjectEntriesEntryPutRequest ¶
type ApiProjectsProjectEntriesEntryPutRequest struct {
ApiService *EntriesAPIService
// contains filtered or unexported fields
}
func (ApiProjectsProjectEntriesEntryPutRequest) EntryInput ¶
func (r ApiProjectsProjectEntriesEntryPutRequest) EntryInput(entryInput EntryInput) ApiProjectsProjectEntriesEntryPutRequest
func (ApiProjectsProjectEntriesEntryPutRequest) Execute ¶
func (r ApiProjectsProjectEntriesEntryPutRequest) Execute() (*ProjectsProjectEntriesPost201Response, *http.Response, error)
type ApiProjectsProjectEntriesGetRequest ¶
type ApiProjectsProjectEntriesGetRequest struct {
ApiService *EntriesAPIService
// contains filtered or unexported fields
}
func (ApiProjectsProjectEntriesGetRequest) Category ¶
func (r ApiProjectsProjectEntriesGetRequest) Category(category string) ApiProjectsProjectEntriesGetRequest
Filter by category
func (ApiProjectsProjectEntriesGetRequest) Execute ¶
func (r ApiProjectsProjectEntriesGetRequest) Execute() (*ProjectsProjectEntriesGet200Response, *http.Response, error)
func (ApiProjectsProjectEntriesGetRequest) Page ¶
func (r ApiProjectsProjectEntriesGetRequest) Page(page int32) ApiProjectsProjectEntriesGetRequest
Page number
func (ApiProjectsProjectEntriesGetRequest) PerPage ¶
func (r ApiProjectsProjectEntriesGetRequest) PerPage(perPage int32) ApiProjectsProjectEntriesGetRequest
Items per page
func (ApiProjectsProjectEntriesGetRequest) Status ¶
func (r ApiProjectsProjectEntriesGetRequest) Status(status string) ApiProjectsProjectEntriesGetRequest
Filter by publish status
type ApiProjectsProjectEntriesPostRequest ¶
type ApiProjectsProjectEntriesPostRequest struct {
ApiService *EntriesAPIService
// contains filtered or unexported fields
}
func (ApiProjectsProjectEntriesPostRequest) EntryInput ¶
func (r ApiProjectsProjectEntriesPostRequest) EntryInput(entryInput EntryInput) ApiProjectsProjectEntriesPostRequest
func (ApiProjectsProjectEntriesPostRequest) Execute ¶
func (r ApiProjectsProjectEntriesPostRequest) Execute() (*ProjectsProjectEntriesPost201Response, *http.Response, error)
type ApiProjectsProjectGetRequest ¶
type ApiProjectsProjectGetRequest struct {
ApiService *ProjectsAPIService
// contains filtered or unexported fields
}
func (ApiProjectsProjectGetRequest) Execute ¶
func (r ApiProjectsProjectGetRequest) Execute() (*ProjectsPost201Response, *http.Response, error)
type ApiProjectsProjectPutRequest ¶
type ApiProjectsProjectPutRequest struct {
ApiService *ProjectsAPIService
// contains filtered or unexported fields
}
func (ApiProjectsProjectPutRequest) Execute ¶
func (r ApiProjectsProjectPutRequest) Execute() (*ProjectsPost201Response, *http.Response, error)
func (ApiProjectsProjectPutRequest) ProjectInput ¶
func (r ApiProjectsProjectPutRequest) ProjectInput(projectInput ProjectInput) ApiProjectsProjectPutRequest
type ApiPublicProjectsSlugEntriesGetRequest ¶
type ApiPublicProjectsSlugEntriesGetRequest struct {
ApiService *PublicAPIService
// contains filtered or unexported fields
}
func (ApiPublicProjectsSlugEntriesGetRequest) Execute ¶
func (r ApiPublicProjectsSlugEntriesGetRequest) Execute() (*PublicProjectsSlugEntriesGet200Response, *http.Response, error)
type ApiTokensGetRequest ¶
type ApiTokensGetRequest struct {
ApiService *AuthenticationAPIService
// contains filtered or unexported fields
}
func (ApiTokensGetRequest) Execute ¶
func (r ApiTokensGetRequest) Execute() (*TokensGet200Response, *http.Response, error)
type ApiTokensPostRequest ¶
type ApiTokensPostRequest struct {
ApiService *AuthenticationAPIService
// contains filtered or unexported fields
}
func (ApiTokensPostRequest) Execute ¶
func (r ApiTokensPostRequest) Execute() (*TokensPost201Response, *http.Response, error)
func (ApiTokensPostRequest) TokensPostRequest ¶
func (r ApiTokensPostRequest) TokensPostRequest(tokensPostRequest TokensPostRequest) ApiTokensPostRequest
type ApiTokensTokenDeleteRequest ¶
type ApiTokensTokenDeleteRequest struct {
ApiService *AuthenticationAPIService
// contains filtered or unexported fields
}
type ApiUserGetRequest ¶
type ApiUserGetRequest struct {
ApiService *UsersAPIService
// contains filtered or unexported fields
}
func (ApiUserGetRequest) Execute ¶
func (r ApiUserGetRequest) Execute() (*UserGet200Response, *http.Response, error)
type ApiUserUsageGetRequest ¶
type ApiUserUsageGetRequest struct {
ApiService *UsersAPIService
// contains filtered or unexported fields
}
func (ApiUserUsageGetRequest) Execute ¶
func (r ApiUserUsageGetRequest) Execute() (*UserUsageGet200Response, *http.Response, error)
type AuthenticationAPIService ¶
type AuthenticationAPIService service
AuthenticationAPIService AuthenticationAPI service
func (*AuthenticationAPIService) TokensGet ¶
func (a *AuthenticationAPIService) TokensGet(ctx context.Context) ApiTokensGetRequest
TokensGet List API tokens
Returns all API tokens for the authenticated user. Token values are not included.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiTokensGetRequest
func (*AuthenticationAPIService) TokensGetExecute ¶
func (a *AuthenticationAPIService) TokensGetExecute(r ApiTokensGetRequest) (*TokensGet200Response, *http.Response, error)
Execute executes the request
@return TokensGet200Response
func (*AuthenticationAPIService) TokensPost ¶
func (a *AuthenticationAPIService) TokensPost(ctx context.Context) ApiTokensPostRequest
TokensPost Create an API token
Creates a new API token. The plain-text token is only returned in this response and cannot be retrieved later.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiTokensPostRequest
func (*AuthenticationAPIService) TokensPostExecute ¶
func (a *AuthenticationAPIService) TokensPostExecute(r ApiTokensPostRequest) (*TokensPost201Response, *http.Response, error)
Execute executes the request
@return TokensPost201Response
func (*AuthenticationAPIService) TokensTokenDelete ¶
func (a *AuthenticationAPIService) TokensTokenDelete(ctx context.Context, token string) ApiTokensTokenDeleteRequest
TokensTokenDelete Revoke an API token
Permanently revokes an API token. Any requests using this token will be rejected.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param token Token ID @return ApiTokensTokenDeleteRequest
func (*AuthenticationAPIService) TokensTokenDeleteExecute ¶
func (a *AuthenticationAPIService) TokensTokenDeleteExecute(r ApiTokensTokenDeleteRequest) (*http.Response, error)
Execute executes the request
type BasicAuth ¶
type BasicAuth struct {
UserName string `json:"userName,omitempty"`
Password string `json:"password,omitempty"`
}
BasicAuth provides basic http authentication to a request passed via context using ContextBasicAuth
type Configuration ¶
type Configuration struct {
Host string `json:"host,omitempty"`
Scheme string `json:"scheme,omitempty"`
DefaultHeader map[string]string `json:"defaultHeader,omitempty"`
UserAgent string `json:"userAgent,omitempty"`
Debug bool `json:"debug,omitempty"`
Servers ServerConfigurations
OperationServers map[string]ServerConfigurations
HTTPClient *http.Client
}
Configuration stores the configuration of the API client
func NewConfiguration ¶
func NewConfiguration() *Configuration
NewConfiguration returns a new Configuration object
func (*Configuration) AddDefaultHeader ¶
func (c *Configuration) AddDefaultHeader(key string, value string)
AddDefaultHeader adds a new HTTP header to the default header in the request
func (*Configuration) ServerURLWithContext ¶
ServerURLWithContext returns a new server URL given an endpoint
type EntriesAPIService ¶
type EntriesAPIService service
EntriesAPIService EntriesAPI service
func (*EntriesAPIService) ProjectsProjectEntriesEntryDelete ¶
func (a *EntriesAPIService) ProjectsProjectEntriesEntryDelete(ctx context.Context, project int32, entry int32) ApiProjectsProjectEntriesEntryDeleteRequest
ProjectsProjectEntriesEntryDelete Delete an entry
Permanently deletes a changelog entry.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param project Project ID @param entry Entry ID @return ApiProjectsProjectEntriesEntryDeleteRequest
func (*EntriesAPIService) ProjectsProjectEntriesEntryDeleteExecute ¶
func (a *EntriesAPIService) ProjectsProjectEntriesEntryDeleteExecute(r ApiProjectsProjectEntriesEntryDeleteRequest) (*http.Response, error)
Execute executes the request
func (*EntriesAPIService) ProjectsProjectEntriesEntryGet ¶
func (a *EntriesAPIService) ProjectsProjectEntriesEntryGet(ctx context.Context, project int32, entry int32) ApiProjectsProjectEntriesEntryGetRequest
ProjectsProjectEntriesEntryGet Get an entry
Returns a single entry by ID.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param project Project ID @param entry Entry ID @return ApiProjectsProjectEntriesEntryGetRequest
func (*EntriesAPIService) ProjectsProjectEntriesEntryGetExecute ¶
func (a *EntriesAPIService) ProjectsProjectEntriesEntryGetExecute(r ApiProjectsProjectEntriesEntryGetRequest) (*ProjectsProjectEntriesPost201Response, *http.Response, error)
Execute executes the request
@return ProjectsProjectEntriesPost201Response
func (*EntriesAPIService) ProjectsProjectEntriesEntryPut ¶
func (a *EntriesAPIService) ProjectsProjectEntriesEntryPut(ctx context.Context, project int32, entry int32) ApiProjectsProjectEntriesEntryPutRequest
ProjectsProjectEntriesEntryPut Update an entry
Updates an existing changelog entry.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param project Project ID @param entry Entry ID @return ApiProjectsProjectEntriesEntryPutRequest
func (*EntriesAPIService) ProjectsProjectEntriesEntryPutExecute ¶
func (a *EntriesAPIService) ProjectsProjectEntriesEntryPutExecute(r ApiProjectsProjectEntriesEntryPutRequest) (*ProjectsProjectEntriesPost201Response, *http.Response, error)
Execute executes the request
@return ProjectsProjectEntriesPost201Response
func (*EntriesAPIService) ProjectsProjectEntriesGet ¶
func (a *EntriesAPIService) ProjectsProjectEntriesGet(ctx context.Context, project int32) ApiProjectsProjectEntriesGetRequest
ProjectsProjectEntriesGet List entries
Returns entries for a project with optional filtering and pagination.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param project Project ID @return ApiProjectsProjectEntriesGetRequest
func (*EntriesAPIService) ProjectsProjectEntriesGetExecute ¶
func (a *EntriesAPIService) ProjectsProjectEntriesGetExecute(r ApiProjectsProjectEntriesGetRequest) (*ProjectsProjectEntriesGet200Response, *http.Response, error)
Execute executes the request
@return ProjectsProjectEntriesGet200Response
func (*EntriesAPIService) ProjectsProjectEntriesPost ¶
func (a *EntriesAPIService) ProjectsProjectEntriesPost(ctx context.Context, project int32) ApiProjectsProjectEntriesPostRequest
ProjectsProjectEntriesPost Create an entry
Creates a new changelog entry. Set `is_published` to `true` to publish immediately. If `published_at` is not provided for a published entry, it defaults to the current time.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param project Project ID @return ApiProjectsProjectEntriesPostRequest
func (*EntriesAPIService) ProjectsProjectEntriesPostExecute ¶
func (a *EntriesAPIService) ProjectsProjectEntriesPostExecute(r ApiProjectsProjectEntriesPostRequest) (*ProjectsProjectEntriesPost201Response, *http.Response, error)
Execute executes the request
@return ProjectsProjectEntriesPost201Response
type Entry ¶
type Entry struct {
Id *int32 `json:"id,omitempty"`
Title *string `json:"title,omitempty"`
Content *string `json:"content,omitempty"`
Category *string `json:"category,omitempty"`
IsPublished *bool `json:"is_published,omitempty"`
PublishedAt NullableTime `json:"published_at,omitempty"`
CreatedAt *time.Time `json:"created_at,omitempty"`
UpdatedAt *time.Time `json:"updated_at,omitempty"`
}
Entry struct for Entry
func NewEntry ¶
func NewEntry() *Entry
NewEntry instantiates a new Entry 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 NewEntryWithDefaults ¶
func NewEntryWithDefaults() *Entry
NewEntryWithDefaults instantiates a new Entry 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 (*Entry) GetCategory ¶
GetCategory returns the Category field value if set, zero value otherwise.
func (*Entry) GetCategoryOk ¶
GetCategoryOk returns a tuple with the Category field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Entry) GetContent ¶
GetContent returns the Content field value if set, zero value otherwise.
func (*Entry) GetContentOk ¶
GetContentOk returns a tuple with the Content field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Entry) GetCreatedAt ¶
GetCreatedAt returns the CreatedAt field value if set, zero value otherwise.
func (*Entry) GetCreatedAtOk ¶
GetCreatedAtOk returns a tuple with the CreatedAt field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Entry) GetIdOk ¶
GetIdOk returns a tuple with the Id field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Entry) GetIsPublished ¶
GetIsPublished returns the IsPublished field value if set, zero value otherwise.
func (*Entry) GetIsPublishedOk ¶
GetIsPublishedOk returns a tuple with the IsPublished field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Entry) GetPublishedAt ¶
GetPublishedAt returns the PublishedAt field value if set, zero value otherwise (both if not set or set to explicit null).
func (*Entry) GetPublishedAtOk ¶
GetPublishedAtOk returns a tuple with the PublishedAt field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*Entry) GetTitleOk ¶
GetTitleOk returns a tuple with the Title field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Entry) GetUpdatedAt ¶
GetUpdatedAt returns the UpdatedAt field value if set, zero value otherwise.
func (*Entry) GetUpdatedAtOk ¶
GetUpdatedAtOk returns a tuple with the UpdatedAt field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Entry) HasCategory ¶
HasCategory returns a boolean if a field has been set.
func (*Entry) HasContent ¶
HasContent returns a boolean if a field has been set.
func (*Entry) HasCreatedAt ¶
HasCreatedAt returns a boolean if a field has been set.
func (*Entry) HasIsPublished ¶
HasIsPublished returns a boolean if a field has been set.
func (*Entry) HasPublishedAt ¶
HasPublishedAt returns a boolean if a field has been set.
func (*Entry) HasUpdatedAt ¶
HasUpdatedAt returns a boolean if a field has been set.
func (Entry) MarshalJSON ¶
func (*Entry) SetCategory ¶
SetCategory gets a reference to the given string and assigns it to the Category field.
func (*Entry) SetContent ¶
SetContent gets a reference to the given string and assigns it to the Content field.
func (*Entry) SetCreatedAt ¶
SetCreatedAt gets a reference to the given time.Time and assigns it to the CreatedAt field.
func (*Entry) SetIsPublished ¶
SetIsPublished gets a reference to the given bool and assigns it to the IsPublished field.
func (*Entry) SetPublishedAt ¶
SetPublishedAt gets a reference to the given NullableTime and assigns it to the PublishedAt field.
func (*Entry) SetPublishedAtNil ¶
func (o *Entry) SetPublishedAtNil()
SetPublishedAtNil sets the value for PublishedAt to be an explicit nil
func (*Entry) SetTitle ¶
SetTitle gets a reference to the given string and assigns it to the Title field.
func (*Entry) SetUpdatedAt ¶
SetUpdatedAt gets a reference to the given time.Time and assigns it to the UpdatedAt field.
func (*Entry) UnsetPublishedAt ¶
func (o *Entry) UnsetPublishedAt()
UnsetPublishedAt ensures that no value is present for PublishedAt, not even an explicit nil
type EntryInput ¶
type EntryInput struct {
Title string `json:"title"`
Content string `json:"content"`
Category string `json:"category"`
IsPublished *bool `json:"is_published,omitempty"`
// Defaults to current time if is_published is true and this is not set.
PublishedAt NullableTime `json:"published_at,omitempty"`
}
EntryInput struct for EntryInput
func NewEntryInput ¶
func NewEntryInput(title string, content string, category string) *EntryInput
NewEntryInput instantiates a new EntryInput 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 NewEntryInputWithDefaults ¶
func NewEntryInputWithDefaults() *EntryInput
NewEntryInputWithDefaults instantiates a new EntryInput 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 (*EntryInput) GetCategory ¶
func (o *EntryInput) GetCategory() string
GetCategory returns the Category field value
func (*EntryInput) GetCategoryOk ¶
func (o *EntryInput) GetCategoryOk() (*string, bool)
GetCategoryOk returns a tuple with the Category field value and a boolean to check if the value has been set.
func (*EntryInput) GetContent ¶
func (o *EntryInput) GetContent() string
GetContent returns the Content field value
func (*EntryInput) GetContentOk ¶
func (o *EntryInput) GetContentOk() (*string, bool)
GetContentOk returns a tuple with the Content field value and a boolean to check if the value has been set.
func (*EntryInput) GetIsPublished ¶
func (o *EntryInput) GetIsPublished() bool
GetIsPublished returns the IsPublished field value if set, zero value otherwise.
func (*EntryInput) GetIsPublishedOk ¶
func (o *EntryInput) GetIsPublishedOk() (*bool, bool)
GetIsPublishedOk returns a tuple with the IsPublished field value if set, nil otherwise and a boolean to check if the value has been set.
func (*EntryInput) GetPublishedAt ¶
func (o *EntryInput) GetPublishedAt() time.Time
GetPublishedAt returns the PublishedAt field value if set, zero value otherwise (both if not set or set to explicit null).
func (*EntryInput) GetPublishedAtOk ¶
func (o *EntryInput) GetPublishedAtOk() (*time.Time, bool)
GetPublishedAtOk returns a tuple with the PublishedAt field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*EntryInput) GetTitle ¶
func (o *EntryInput) GetTitle() string
GetTitle returns the Title field value
func (*EntryInput) GetTitleOk ¶
func (o *EntryInput) GetTitleOk() (*string, bool)
GetTitleOk returns a tuple with the Title field value and a boolean to check if the value has been set.
func (*EntryInput) HasIsPublished ¶
func (o *EntryInput) HasIsPublished() bool
HasIsPublished returns a boolean if a field has been set.
func (*EntryInput) HasPublishedAt ¶
func (o *EntryInput) HasPublishedAt() bool
HasPublishedAt returns a boolean if a field has been set.
func (EntryInput) MarshalJSON ¶
func (o EntryInput) MarshalJSON() ([]byte, error)
func (*EntryInput) SetCategory ¶
func (o *EntryInput) SetCategory(v string)
SetCategory sets field value
func (*EntryInput) SetContent ¶
func (o *EntryInput) SetContent(v string)
SetContent sets field value
func (*EntryInput) SetIsPublished ¶
func (o *EntryInput) SetIsPublished(v bool)
SetIsPublished gets a reference to the given bool and assigns it to the IsPublished field.
func (*EntryInput) SetPublishedAt ¶
func (o *EntryInput) SetPublishedAt(v time.Time)
SetPublishedAt gets a reference to the given NullableTime and assigns it to the PublishedAt field.
func (*EntryInput) SetPublishedAtNil ¶
func (o *EntryInput) SetPublishedAtNil()
SetPublishedAtNil sets the value for PublishedAt to be an explicit nil
func (EntryInput) ToMap ¶
func (o EntryInput) ToMap() (map[string]interface{}, error)
func (*EntryInput) UnmarshalJSON ¶
func (o *EntryInput) UnmarshalJSON(data []byte) (err error)
func (*EntryInput) UnsetPublishedAt ¶
func (o *EntryInput) UnsetPublishedAt()
UnsetPublishedAt ensures that no value is present for PublishedAt, not even an explicit nil
type Error ¶
type Error struct {
Message *string `json:"message,omitempty"`
}
Error struct for Error
func NewError ¶
func NewError() *Error
NewError instantiates a new Error 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 NewErrorWithDefaults ¶
func NewErrorWithDefaults() *Error
NewErrorWithDefaults instantiates a new Error 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 (*Error) GetMessage ¶
GetMessage returns the Message field value if set, zero value otherwise.
func (*Error) GetMessageOk ¶
GetMessageOk returns a tuple with the Message field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Error) HasMessage ¶
HasMessage returns a boolean if a field has been set.
func (Error) MarshalJSON ¶
func (*Error) SetMessage ¶
SetMessage gets a reference to the given string and assigns it to the Message field.
type GenericOpenAPIError ¶
type GenericOpenAPIError struct {
// contains filtered or unexported fields
}
GenericOpenAPIError Provides access to the body, error and model on returned errors.
func (GenericOpenAPIError) Body ¶
func (e GenericOpenAPIError) Body() []byte
Body returns the raw bytes of the response
func (GenericOpenAPIError) Error ¶
func (e GenericOpenAPIError) Error() string
Error returns non-empty string if there was an error.
func (GenericOpenAPIError) Model ¶
func (e GenericOpenAPIError) Model() interface{}
Model returns the unpacked model of the error
type MappedNullable ¶
type NewToken ¶
type NewToken struct {
Id *string `json:"id,omitempty"`
Name *string `json:"name,omitempty"`
// The plain-text token. Only shown once.
Token *string `json:"token,omitempty"`
CreatedAt *time.Time `json:"created_at,omitempty"`
}
NewToken struct for NewToken
func NewNewToken ¶
func NewNewToken() *NewToken
NewNewToken instantiates a new NewToken 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 NewNewTokenWithDefaults ¶
func NewNewTokenWithDefaults() *NewToken
NewNewTokenWithDefaults instantiates a new NewToken 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 (*NewToken) GetCreatedAt ¶
GetCreatedAt returns the CreatedAt field value if set, zero value otherwise.
func (*NewToken) GetCreatedAtOk ¶
GetCreatedAtOk returns a tuple with the CreatedAt field value if set, nil otherwise and a boolean to check if the value has been set.
func (*NewToken) GetIdOk ¶
GetIdOk returns a tuple with the Id field value if set, nil otherwise and a boolean to check if the value has been set.
func (*NewToken) GetNameOk ¶
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 (*NewToken) GetTokenOk ¶
GetTokenOk returns a tuple with the Token field value if set, nil otherwise and a boolean to check if the value has been set.
func (*NewToken) HasCreatedAt ¶
HasCreatedAt returns a boolean if a field has been set.
func (NewToken) MarshalJSON ¶
func (*NewToken) SetCreatedAt ¶
SetCreatedAt gets a reference to the given time.Time and assigns it to the CreatedAt field.
func (*NewToken) SetName ¶
SetName gets a reference to the given string and assigns it to the Name field.
type NullableBool ¶
type NullableBool struct {
// contains filtered or unexported fields
}
func NewNullableBool ¶
func NewNullableBool(val *bool) *NullableBool
func (NullableBool) Get ¶
func (v NullableBool) Get() *bool
func (NullableBool) IsSet ¶
func (v NullableBool) IsSet() bool
func (NullableBool) MarshalJSON ¶
func (v NullableBool) MarshalJSON() ([]byte, error)
func (*NullableBool) Set ¶
func (v *NullableBool) Set(val *bool)
func (*NullableBool) UnmarshalJSON ¶
func (v *NullableBool) UnmarshalJSON(src []byte) error
func (*NullableBool) Unset ¶
func (v *NullableBool) Unset()
type NullableEntry ¶
type NullableEntry struct {
// contains filtered or unexported fields
}
func NewNullableEntry ¶
func NewNullableEntry(val *Entry) *NullableEntry
func (NullableEntry) Get ¶
func (v NullableEntry) Get() *Entry
func (NullableEntry) IsSet ¶
func (v NullableEntry) IsSet() bool
func (NullableEntry) MarshalJSON ¶
func (v NullableEntry) MarshalJSON() ([]byte, error)
func (*NullableEntry) Set ¶
func (v *NullableEntry) Set(val *Entry)
func (*NullableEntry) UnmarshalJSON ¶
func (v *NullableEntry) UnmarshalJSON(src []byte) error
func (*NullableEntry) Unset ¶
func (v *NullableEntry) Unset()
type NullableEntryInput ¶
type NullableEntryInput struct {
// contains filtered or unexported fields
}
func NewNullableEntryInput ¶
func NewNullableEntryInput(val *EntryInput) *NullableEntryInput
func (NullableEntryInput) Get ¶
func (v NullableEntryInput) Get() *EntryInput
func (NullableEntryInput) IsSet ¶
func (v NullableEntryInput) IsSet() bool
func (NullableEntryInput) MarshalJSON ¶
func (v NullableEntryInput) MarshalJSON() ([]byte, error)
func (*NullableEntryInput) Set ¶
func (v *NullableEntryInput) Set(val *EntryInput)
func (*NullableEntryInput) UnmarshalJSON ¶
func (v *NullableEntryInput) UnmarshalJSON(src []byte) error
func (*NullableEntryInput) Unset ¶
func (v *NullableEntryInput) Unset()
type NullableError ¶
type NullableError struct {
// contains filtered or unexported fields
}
func NewNullableError ¶
func NewNullableError(val *Error) *NullableError
func (NullableError) Get ¶
func (v NullableError) Get() *Error
func (NullableError) IsSet ¶
func (v NullableError) IsSet() bool
func (NullableError) MarshalJSON ¶
func (v NullableError) MarshalJSON() ([]byte, error)
func (*NullableError) Set ¶
func (v *NullableError) Set(val *Error)
func (*NullableError) UnmarshalJSON ¶
func (v *NullableError) UnmarshalJSON(src []byte) error
func (*NullableError) Unset ¶
func (v *NullableError) Unset()
type NullableFloat32 ¶
type NullableFloat32 struct {
// contains filtered or unexported fields
}
func NewNullableFloat32 ¶
func NewNullableFloat32(val *float32) *NullableFloat32
func (NullableFloat32) Get ¶
func (v NullableFloat32) Get() *float32
func (NullableFloat32) IsSet ¶
func (v NullableFloat32) IsSet() bool
func (NullableFloat32) MarshalJSON ¶
func (v NullableFloat32) MarshalJSON() ([]byte, error)
func (*NullableFloat32) Set ¶
func (v *NullableFloat32) Set(val *float32)
func (*NullableFloat32) UnmarshalJSON ¶
func (v *NullableFloat32) UnmarshalJSON(src []byte) error
func (*NullableFloat32) Unset ¶
func (v *NullableFloat32) Unset()
type NullableFloat64 ¶
type NullableFloat64 struct {
// contains filtered or unexported fields
}
func NewNullableFloat64 ¶
func NewNullableFloat64(val *float64) *NullableFloat64
func (NullableFloat64) Get ¶
func (v NullableFloat64) Get() *float64
func (NullableFloat64) IsSet ¶
func (v NullableFloat64) IsSet() bool
func (NullableFloat64) MarshalJSON ¶
func (v NullableFloat64) MarshalJSON() ([]byte, error)
func (*NullableFloat64) Set ¶
func (v *NullableFloat64) Set(val *float64)
func (*NullableFloat64) UnmarshalJSON ¶
func (v *NullableFloat64) UnmarshalJSON(src []byte) error
func (*NullableFloat64) Unset ¶
func (v *NullableFloat64) Unset()
type NullableInt ¶
type NullableInt struct {
// contains filtered or unexported fields
}
func NewNullableInt ¶
func NewNullableInt(val *int) *NullableInt
func (NullableInt) Get ¶
func (v NullableInt) Get() *int
func (NullableInt) IsSet ¶
func (v NullableInt) IsSet() bool
func (NullableInt) MarshalJSON ¶
func (v NullableInt) MarshalJSON() ([]byte, error)
func (*NullableInt) Set ¶
func (v *NullableInt) Set(val *int)
func (*NullableInt) UnmarshalJSON ¶
func (v *NullableInt) UnmarshalJSON(src []byte) error
func (*NullableInt) Unset ¶
func (v *NullableInt) Unset()
type NullableInt32 ¶
type NullableInt32 struct {
// contains filtered or unexported fields
}
func NewNullableInt32 ¶
func NewNullableInt32(val *int32) *NullableInt32
func (NullableInt32) Get ¶
func (v NullableInt32) Get() *int32
func (NullableInt32) IsSet ¶
func (v NullableInt32) IsSet() bool
func (NullableInt32) MarshalJSON ¶
func (v NullableInt32) MarshalJSON() ([]byte, error)
func (*NullableInt32) Set ¶
func (v *NullableInt32) Set(val *int32)
func (*NullableInt32) UnmarshalJSON ¶
func (v *NullableInt32) UnmarshalJSON(src []byte) error
func (*NullableInt32) Unset ¶
func (v *NullableInt32) Unset()
type NullableInt64 ¶
type NullableInt64 struct {
// contains filtered or unexported fields
}
func NewNullableInt64 ¶
func NewNullableInt64(val *int64) *NullableInt64
func (NullableInt64) Get ¶
func (v NullableInt64) Get() *int64
func (NullableInt64) IsSet ¶
func (v NullableInt64) IsSet() bool
func (NullableInt64) MarshalJSON ¶
func (v NullableInt64) MarshalJSON() ([]byte, error)
func (*NullableInt64) Set ¶
func (v *NullableInt64) Set(val *int64)
func (*NullableInt64) UnmarshalJSON ¶
func (v *NullableInt64) UnmarshalJSON(src []byte) error
func (*NullableInt64) Unset ¶
func (v *NullableInt64) Unset()
type NullableNewToken ¶
type NullableNewToken struct {
// contains filtered or unexported fields
}
func NewNullableNewToken ¶
func NewNullableNewToken(val *NewToken) *NullableNewToken
func (NullableNewToken) Get ¶
func (v NullableNewToken) Get() *NewToken
func (NullableNewToken) IsSet ¶
func (v NullableNewToken) IsSet() bool
func (NullableNewToken) MarshalJSON ¶
func (v NullableNewToken) MarshalJSON() ([]byte, error)
func (*NullableNewToken) Set ¶
func (v *NullableNewToken) Set(val *NewToken)
func (*NullableNewToken) UnmarshalJSON ¶
func (v *NullableNewToken) UnmarshalJSON(src []byte) error
func (*NullableNewToken) Unset ¶
func (v *NullableNewToken) Unset()
type NullablePaginationMeta ¶
type NullablePaginationMeta struct {
// contains filtered or unexported fields
}
func NewNullablePaginationMeta ¶
func NewNullablePaginationMeta(val *PaginationMeta) *NullablePaginationMeta
func (NullablePaginationMeta) Get ¶
func (v NullablePaginationMeta) Get() *PaginationMeta
func (NullablePaginationMeta) IsSet ¶
func (v NullablePaginationMeta) IsSet() bool
func (NullablePaginationMeta) MarshalJSON ¶
func (v NullablePaginationMeta) MarshalJSON() ([]byte, error)
func (*NullablePaginationMeta) Set ¶
func (v *NullablePaginationMeta) Set(val *PaginationMeta)
func (*NullablePaginationMeta) UnmarshalJSON ¶
func (v *NullablePaginationMeta) UnmarshalJSON(src []byte) error
func (*NullablePaginationMeta) Unset ¶
func (v *NullablePaginationMeta) Unset()
type NullableProject ¶
type NullableProject struct {
// contains filtered or unexported fields
}
func NewNullableProject ¶
func NewNullableProject(val *Project) *NullableProject
func (NullableProject) Get ¶
func (v NullableProject) Get() *Project
func (NullableProject) IsSet ¶
func (v NullableProject) IsSet() bool
func (NullableProject) MarshalJSON ¶
func (v NullableProject) MarshalJSON() ([]byte, error)
func (*NullableProject) Set ¶
func (v *NullableProject) Set(val *Project)
func (*NullableProject) UnmarshalJSON ¶
func (v *NullableProject) UnmarshalJSON(src []byte) error
func (*NullableProject) Unset ¶
func (v *NullableProject) Unset()
type NullableProjectInput ¶
type NullableProjectInput struct {
// contains filtered or unexported fields
}
func NewNullableProjectInput ¶
func NewNullableProjectInput(val *ProjectInput) *NullableProjectInput
func (NullableProjectInput) Get ¶
func (v NullableProjectInput) Get() *ProjectInput
func (NullableProjectInput) IsSet ¶
func (v NullableProjectInput) IsSet() bool
func (NullableProjectInput) MarshalJSON ¶
func (v NullableProjectInput) MarshalJSON() ([]byte, error)
func (*NullableProjectInput) Set ¶
func (v *NullableProjectInput) Set(val *ProjectInput)
func (*NullableProjectInput) UnmarshalJSON ¶
func (v *NullableProjectInput) UnmarshalJSON(src []byte) error
func (*NullableProjectInput) Unset ¶
func (v *NullableProjectInput) Unset()
type NullableProjectsGet200Response ¶
type NullableProjectsGet200Response struct {
// contains filtered or unexported fields
}
func NewNullableProjectsGet200Response ¶
func NewNullableProjectsGet200Response(val *ProjectsGet200Response) *NullableProjectsGet200Response
func (NullableProjectsGet200Response) Get ¶
func (v NullableProjectsGet200Response) Get() *ProjectsGet200Response
func (NullableProjectsGet200Response) IsSet ¶
func (v NullableProjectsGet200Response) IsSet() bool
func (NullableProjectsGet200Response) MarshalJSON ¶
func (v NullableProjectsGet200Response) MarshalJSON() ([]byte, error)
func (*NullableProjectsGet200Response) Set ¶
func (v *NullableProjectsGet200Response) Set(val *ProjectsGet200Response)
func (*NullableProjectsGet200Response) UnmarshalJSON ¶
func (v *NullableProjectsGet200Response) UnmarshalJSON(src []byte) error
func (*NullableProjectsGet200Response) Unset ¶
func (v *NullableProjectsGet200Response) Unset()
type NullableProjectsPost201Response ¶
type NullableProjectsPost201Response struct {
// contains filtered or unexported fields
}
func NewNullableProjectsPost201Response ¶
func NewNullableProjectsPost201Response(val *ProjectsPost201Response) *NullableProjectsPost201Response
func (NullableProjectsPost201Response) Get ¶
func (v NullableProjectsPost201Response) Get() *ProjectsPost201Response
func (NullableProjectsPost201Response) IsSet ¶
func (v NullableProjectsPost201Response) IsSet() bool
func (NullableProjectsPost201Response) MarshalJSON ¶
func (v NullableProjectsPost201Response) MarshalJSON() ([]byte, error)
func (*NullableProjectsPost201Response) Set ¶
func (v *NullableProjectsPost201Response) Set(val *ProjectsPost201Response)
func (*NullableProjectsPost201Response) UnmarshalJSON ¶
func (v *NullableProjectsPost201Response) UnmarshalJSON(src []byte) error
func (*NullableProjectsPost201Response) Unset ¶
func (v *NullableProjectsPost201Response) Unset()
type NullableProjectsProjectEntriesGet200Response ¶
type NullableProjectsProjectEntriesGet200Response struct {
// contains filtered or unexported fields
}
func NewNullableProjectsProjectEntriesGet200Response ¶
func NewNullableProjectsProjectEntriesGet200Response(val *ProjectsProjectEntriesGet200Response) *NullableProjectsProjectEntriesGet200Response
func (NullableProjectsProjectEntriesGet200Response) IsSet ¶
func (v NullableProjectsProjectEntriesGet200Response) IsSet() bool
func (NullableProjectsProjectEntriesGet200Response) MarshalJSON ¶
func (v NullableProjectsProjectEntriesGet200Response) MarshalJSON() ([]byte, error)
func (*NullableProjectsProjectEntriesGet200Response) Set ¶
func (v *NullableProjectsProjectEntriesGet200Response) Set(val *ProjectsProjectEntriesGet200Response)
func (*NullableProjectsProjectEntriesGet200Response) UnmarshalJSON ¶
func (v *NullableProjectsProjectEntriesGet200Response) UnmarshalJSON(src []byte) error
func (*NullableProjectsProjectEntriesGet200Response) Unset ¶
func (v *NullableProjectsProjectEntriesGet200Response) Unset()
type NullableProjectsProjectEntriesPost201Response ¶
type NullableProjectsProjectEntriesPost201Response struct {
// contains filtered or unexported fields
}
func NewNullableProjectsProjectEntriesPost201Response ¶
func NewNullableProjectsProjectEntriesPost201Response(val *ProjectsProjectEntriesPost201Response) *NullableProjectsProjectEntriesPost201Response
func (NullableProjectsProjectEntriesPost201Response) IsSet ¶
func (v NullableProjectsProjectEntriesPost201Response) IsSet() bool
func (NullableProjectsProjectEntriesPost201Response) MarshalJSON ¶
func (v NullableProjectsProjectEntriesPost201Response) MarshalJSON() ([]byte, error)
func (*NullableProjectsProjectEntriesPost201Response) Set ¶
func (v *NullableProjectsProjectEntriesPost201Response) Set(val *ProjectsProjectEntriesPost201Response)
func (*NullableProjectsProjectEntriesPost201Response) UnmarshalJSON ¶
func (v *NullableProjectsProjectEntriesPost201Response) UnmarshalJSON(src []byte) error
func (*NullableProjectsProjectEntriesPost201Response) Unset ¶
func (v *NullableProjectsProjectEntriesPost201Response) Unset()
type NullablePublicProjectsSlugEntriesGet200Response ¶
type NullablePublicProjectsSlugEntriesGet200Response struct {
// contains filtered or unexported fields
}
func NewNullablePublicProjectsSlugEntriesGet200Response ¶
func NewNullablePublicProjectsSlugEntriesGet200Response(val *PublicProjectsSlugEntriesGet200Response) *NullablePublicProjectsSlugEntriesGet200Response
func (NullablePublicProjectsSlugEntriesGet200Response) IsSet ¶
func (v NullablePublicProjectsSlugEntriesGet200Response) IsSet() bool
func (NullablePublicProjectsSlugEntriesGet200Response) MarshalJSON ¶
func (v NullablePublicProjectsSlugEntriesGet200Response) MarshalJSON() ([]byte, error)
func (*NullablePublicProjectsSlugEntriesGet200Response) UnmarshalJSON ¶
func (v *NullablePublicProjectsSlugEntriesGet200Response) UnmarshalJSON(src []byte) error
func (*NullablePublicProjectsSlugEntriesGet200Response) Unset ¶
func (v *NullablePublicProjectsSlugEntriesGet200Response) Unset()
type NullableString ¶
type NullableString struct {
// contains filtered or unexported fields
}
func NewNullableString ¶
func NewNullableString(val *string) *NullableString
func (NullableString) Get ¶
func (v NullableString) Get() *string
func (NullableString) IsSet ¶
func (v NullableString) IsSet() bool
func (NullableString) MarshalJSON ¶
func (v NullableString) MarshalJSON() ([]byte, error)
func (*NullableString) Set ¶
func (v *NullableString) Set(val *string)
func (*NullableString) UnmarshalJSON ¶
func (v *NullableString) UnmarshalJSON(src []byte) error
func (*NullableString) Unset ¶
func (v *NullableString) Unset()
type NullableTime ¶
type NullableTime struct {
// contains filtered or unexported fields
}
func NewNullableTime ¶
func NewNullableTime(val *time.Time) *NullableTime
func (NullableTime) Get ¶
func (v NullableTime) Get() *time.Time
func (NullableTime) IsSet ¶
func (v NullableTime) IsSet() bool
func (NullableTime) MarshalJSON ¶
func (v NullableTime) MarshalJSON() ([]byte, error)
func (*NullableTime) Set ¶
func (v *NullableTime) Set(val *time.Time)
func (*NullableTime) UnmarshalJSON ¶
func (v *NullableTime) UnmarshalJSON(src []byte) error
func (*NullableTime) Unset ¶
func (v *NullableTime) Unset()
type NullableTokenInfo ¶
type NullableTokenInfo struct {
// contains filtered or unexported fields
}
func NewNullableTokenInfo ¶
func NewNullableTokenInfo(val *TokenInfo) *NullableTokenInfo
func (NullableTokenInfo) Get ¶
func (v NullableTokenInfo) Get() *TokenInfo
func (NullableTokenInfo) IsSet ¶
func (v NullableTokenInfo) IsSet() bool
func (NullableTokenInfo) MarshalJSON ¶
func (v NullableTokenInfo) MarshalJSON() ([]byte, error)
func (*NullableTokenInfo) Set ¶
func (v *NullableTokenInfo) Set(val *TokenInfo)
func (*NullableTokenInfo) UnmarshalJSON ¶
func (v *NullableTokenInfo) UnmarshalJSON(src []byte) error
func (*NullableTokenInfo) Unset ¶
func (v *NullableTokenInfo) Unset()
type NullableTokensGet200Response ¶
type NullableTokensGet200Response struct {
// contains filtered or unexported fields
}
func NewNullableTokensGet200Response ¶
func NewNullableTokensGet200Response(val *TokensGet200Response) *NullableTokensGet200Response
func (NullableTokensGet200Response) Get ¶
func (v NullableTokensGet200Response) Get() *TokensGet200Response
func (NullableTokensGet200Response) IsSet ¶
func (v NullableTokensGet200Response) IsSet() bool
func (NullableTokensGet200Response) MarshalJSON ¶
func (v NullableTokensGet200Response) MarshalJSON() ([]byte, error)
func (*NullableTokensGet200Response) Set ¶
func (v *NullableTokensGet200Response) Set(val *TokensGet200Response)
func (*NullableTokensGet200Response) UnmarshalJSON ¶
func (v *NullableTokensGet200Response) UnmarshalJSON(src []byte) error
func (*NullableTokensGet200Response) Unset ¶
func (v *NullableTokensGet200Response) Unset()
type NullableTokensPost201Response ¶
type NullableTokensPost201Response struct {
// contains filtered or unexported fields
}
func NewNullableTokensPost201Response ¶
func NewNullableTokensPost201Response(val *TokensPost201Response) *NullableTokensPost201Response
func (NullableTokensPost201Response) Get ¶
func (v NullableTokensPost201Response) Get() *TokensPost201Response
func (NullableTokensPost201Response) IsSet ¶
func (v NullableTokensPost201Response) IsSet() bool
func (NullableTokensPost201Response) MarshalJSON ¶
func (v NullableTokensPost201Response) MarshalJSON() ([]byte, error)
func (*NullableTokensPost201Response) Set ¶
func (v *NullableTokensPost201Response) Set(val *TokensPost201Response)
func (*NullableTokensPost201Response) UnmarshalJSON ¶
func (v *NullableTokensPost201Response) UnmarshalJSON(src []byte) error
func (*NullableTokensPost201Response) Unset ¶
func (v *NullableTokensPost201Response) Unset()
type NullableTokensPostRequest ¶
type NullableTokensPostRequest struct {
// contains filtered or unexported fields
}
func NewNullableTokensPostRequest ¶
func NewNullableTokensPostRequest(val *TokensPostRequest) *NullableTokensPostRequest
func (NullableTokensPostRequest) Get ¶
func (v NullableTokensPostRequest) Get() *TokensPostRequest
func (NullableTokensPostRequest) IsSet ¶
func (v NullableTokensPostRequest) IsSet() bool
func (NullableTokensPostRequest) MarshalJSON ¶
func (v NullableTokensPostRequest) MarshalJSON() ([]byte, error)
func (*NullableTokensPostRequest) Set ¶
func (v *NullableTokensPostRequest) Set(val *TokensPostRequest)
func (*NullableTokensPostRequest) UnmarshalJSON ¶
func (v *NullableTokensPostRequest) UnmarshalJSON(src []byte) error
func (*NullableTokensPostRequest) Unset ¶
func (v *NullableTokensPostRequest) Unset()
type NullableUsage ¶
type NullableUsage struct {
// contains filtered or unexported fields
}
func NewNullableUsage ¶
func NewNullableUsage(val *Usage) *NullableUsage
func (NullableUsage) Get ¶
func (v NullableUsage) Get() *Usage
func (NullableUsage) IsSet ¶
func (v NullableUsage) IsSet() bool
func (NullableUsage) MarshalJSON ¶
func (v NullableUsage) MarshalJSON() ([]byte, error)
func (*NullableUsage) Set ¶
func (v *NullableUsage) Set(val *Usage)
func (*NullableUsage) UnmarshalJSON ¶
func (v *NullableUsage) UnmarshalJSON(src []byte) error
func (*NullableUsage) Unset ¶
func (v *NullableUsage) Unset()
type NullableUsageLimits ¶
type NullableUsageLimits struct {
// contains filtered or unexported fields
}
func NewNullableUsageLimits ¶
func NewNullableUsageLimits(val *UsageLimits) *NullableUsageLimits
func (NullableUsageLimits) Get ¶
func (v NullableUsageLimits) Get() *UsageLimits
func (NullableUsageLimits) IsSet ¶
func (v NullableUsageLimits) IsSet() bool
func (NullableUsageLimits) MarshalJSON ¶
func (v NullableUsageLimits) MarshalJSON() ([]byte, error)
func (*NullableUsageLimits) Set ¶
func (v *NullableUsageLimits) Set(val *UsageLimits)
func (*NullableUsageLimits) UnmarshalJSON ¶
func (v *NullableUsageLimits) UnmarshalJSON(src []byte) error
func (*NullableUsageLimits) Unset ¶
func (v *NullableUsageLimits) Unset()
type NullableUser ¶
type NullableUser struct {
// contains filtered or unexported fields
}
func NewNullableUser ¶
func NewNullableUser(val *User) *NullableUser
func (NullableUser) Get ¶
func (v NullableUser) Get() *User
func (NullableUser) IsSet ¶
func (v NullableUser) IsSet() bool
func (NullableUser) MarshalJSON ¶
func (v NullableUser) MarshalJSON() ([]byte, error)
func (*NullableUser) Set ¶
func (v *NullableUser) Set(val *User)
func (*NullableUser) UnmarshalJSON ¶
func (v *NullableUser) UnmarshalJSON(src []byte) error
func (*NullableUser) Unset ¶
func (v *NullableUser) Unset()
type NullableUserGet200Response ¶
type NullableUserGet200Response struct {
// contains filtered or unexported fields
}
func NewNullableUserGet200Response ¶
func NewNullableUserGet200Response(val *UserGet200Response) *NullableUserGet200Response
func (NullableUserGet200Response) Get ¶
func (v NullableUserGet200Response) Get() *UserGet200Response
func (NullableUserGet200Response) IsSet ¶
func (v NullableUserGet200Response) IsSet() bool
func (NullableUserGet200Response) MarshalJSON ¶
func (v NullableUserGet200Response) MarshalJSON() ([]byte, error)
func (*NullableUserGet200Response) Set ¶
func (v *NullableUserGet200Response) Set(val *UserGet200Response)
func (*NullableUserGet200Response) UnmarshalJSON ¶
func (v *NullableUserGet200Response) UnmarshalJSON(src []byte) error
func (*NullableUserGet200Response) Unset ¶
func (v *NullableUserGet200Response) Unset()
type NullableUserPlan ¶
type NullableUserPlan struct {
// contains filtered or unexported fields
}
func NewNullableUserPlan ¶
func NewNullableUserPlan(val *UserPlan) *NullableUserPlan
func (NullableUserPlan) Get ¶
func (v NullableUserPlan) Get() *UserPlan
func (NullableUserPlan) IsSet ¶
func (v NullableUserPlan) IsSet() bool
func (NullableUserPlan) MarshalJSON ¶
func (v NullableUserPlan) MarshalJSON() ([]byte, error)
func (*NullableUserPlan) Set ¶
func (v *NullableUserPlan) Set(val *UserPlan)
func (*NullableUserPlan) UnmarshalJSON ¶
func (v *NullableUserPlan) UnmarshalJSON(src []byte) error
func (*NullableUserPlan) Unset ¶
func (v *NullableUserPlan) Unset()
type NullableUserUsageGet200Response ¶
type NullableUserUsageGet200Response struct {
// contains filtered or unexported fields
}
func NewNullableUserUsageGet200Response ¶
func NewNullableUserUsageGet200Response(val *UserUsageGet200Response) *NullableUserUsageGet200Response
func (NullableUserUsageGet200Response) Get ¶
func (v NullableUserUsageGet200Response) Get() *UserUsageGet200Response
func (NullableUserUsageGet200Response) IsSet ¶
func (v NullableUserUsageGet200Response) IsSet() bool
func (NullableUserUsageGet200Response) MarshalJSON ¶
func (v NullableUserUsageGet200Response) MarshalJSON() ([]byte, error)
func (*NullableUserUsageGet200Response) Set ¶
func (v *NullableUserUsageGet200Response) Set(val *UserUsageGet200Response)
func (*NullableUserUsageGet200Response) UnmarshalJSON ¶
func (v *NullableUserUsageGet200Response) UnmarshalJSON(src []byte) error
func (*NullableUserUsageGet200Response) Unset ¶
func (v *NullableUserUsageGet200Response) Unset()
type NullableValidationError ¶
type NullableValidationError struct {
// contains filtered or unexported fields
}
func NewNullableValidationError ¶
func NewNullableValidationError(val *ValidationError) *NullableValidationError
func (NullableValidationError) Get ¶
func (v NullableValidationError) Get() *ValidationError
func (NullableValidationError) IsSet ¶
func (v NullableValidationError) IsSet() bool
func (NullableValidationError) MarshalJSON ¶
func (v NullableValidationError) MarshalJSON() ([]byte, error)
func (*NullableValidationError) Set ¶
func (v *NullableValidationError) Set(val *ValidationError)
func (*NullableValidationError) UnmarshalJSON ¶
func (v *NullableValidationError) UnmarshalJSON(src []byte) error
func (*NullableValidationError) Unset ¶
func (v *NullableValidationError) Unset()
type PaginationMeta ¶
type PaginationMeta struct {
CurrentPage *int32 `json:"current_page,omitempty"`
LastPage *int32 `json:"last_page,omitempty"`
PerPage *int32 `json:"per_page,omitempty"`
Total *int32 `json:"total,omitempty"`
}
PaginationMeta struct for PaginationMeta
func NewPaginationMeta ¶
func NewPaginationMeta() *PaginationMeta
NewPaginationMeta instantiates a new PaginationMeta 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 NewPaginationMetaWithDefaults ¶
func NewPaginationMetaWithDefaults() *PaginationMeta
NewPaginationMetaWithDefaults instantiates a new PaginationMeta 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 (*PaginationMeta) GetCurrentPage ¶
func (o *PaginationMeta) GetCurrentPage() int32
GetCurrentPage returns the CurrentPage field value if set, zero value otherwise.
func (*PaginationMeta) GetCurrentPageOk ¶
func (o *PaginationMeta) GetCurrentPageOk() (*int32, bool)
GetCurrentPageOk returns a tuple with the CurrentPage field value if set, nil otherwise and a boolean to check if the value has been set.
func (*PaginationMeta) GetLastPage ¶
func (o *PaginationMeta) GetLastPage() int32
GetLastPage returns the LastPage field value if set, zero value otherwise.
func (*PaginationMeta) GetLastPageOk ¶
func (o *PaginationMeta) GetLastPageOk() (*int32, bool)
GetLastPageOk returns a tuple with the LastPage field value if set, nil otherwise and a boolean to check if the value has been set.
func (*PaginationMeta) GetPerPage ¶
func (o *PaginationMeta) GetPerPage() int32
GetPerPage returns the PerPage field value if set, zero value otherwise.
func (*PaginationMeta) GetPerPageOk ¶
func (o *PaginationMeta) GetPerPageOk() (*int32, bool)
GetPerPageOk returns a tuple with the PerPage field value if set, nil otherwise and a boolean to check if the value has been set.
func (*PaginationMeta) GetTotal ¶
func (o *PaginationMeta) GetTotal() int32
GetTotal returns the Total field value if set, zero value otherwise.
func (*PaginationMeta) GetTotalOk ¶
func (o *PaginationMeta) GetTotalOk() (*int32, bool)
GetTotalOk returns a tuple with the Total field value if set, nil otherwise and a boolean to check if the value has been set.
func (*PaginationMeta) HasCurrentPage ¶
func (o *PaginationMeta) HasCurrentPage() bool
HasCurrentPage returns a boolean if a field has been set.
func (*PaginationMeta) HasLastPage ¶
func (o *PaginationMeta) HasLastPage() bool
HasLastPage returns a boolean if a field has been set.
func (*PaginationMeta) HasPerPage ¶
func (o *PaginationMeta) HasPerPage() bool
HasPerPage returns a boolean if a field has been set.
func (*PaginationMeta) HasTotal ¶
func (o *PaginationMeta) HasTotal() bool
HasTotal returns a boolean if a field has been set.
func (PaginationMeta) MarshalJSON ¶
func (o PaginationMeta) MarshalJSON() ([]byte, error)
func (*PaginationMeta) SetCurrentPage ¶
func (o *PaginationMeta) SetCurrentPage(v int32)
SetCurrentPage gets a reference to the given int32 and assigns it to the CurrentPage field.
func (*PaginationMeta) SetLastPage ¶
func (o *PaginationMeta) SetLastPage(v int32)
SetLastPage gets a reference to the given int32 and assigns it to the LastPage field.
func (*PaginationMeta) SetPerPage ¶
func (o *PaginationMeta) SetPerPage(v int32)
SetPerPage gets a reference to the given int32 and assigns it to the PerPage field.
func (*PaginationMeta) SetTotal ¶
func (o *PaginationMeta) SetTotal(v int32)
SetTotal gets a reference to the given int32 and assigns it to the Total field.
func (PaginationMeta) ToMap ¶
func (o PaginationMeta) ToMap() (map[string]interface{}, error)
type Project ¶
type Project struct {
Id *int32 `json:"id,omitempty"`
Name *string `json:"name,omitempty"`
Slug *string `json:"slug,omitempty"`
Description NullableString `json:"description,omitempty"`
CustomDomain NullableString `json:"custom_domain,omitempty"`
DomainVerificationStatus NullableString `json:"domain_verification_status,omitempty"`
EntriesCount *int32 `json:"entries_count,omitempty"`
CreatedAt *time.Time `json:"created_at,omitempty"`
UpdatedAt *time.Time `json:"updated_at,omitempty"`
}
Project struct for Project
func NewProject ¶
func NewProject() *Project
NewProject instantiates a new Project 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 NewProjectWithDefaults ¶
func NewProjectWithDefaults() *Project
NewProjectWithDefaults instantiates a new Project 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 (*Project) GetCreatedAt ¶
GetCreatedAt returns the CreatedAt field value if set, zero value otherwise.
func (*Project) GetCreatedAtOk ¶
GetCreatedAtOk returns a tuple with the CreatedAt field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Project) GetCustomDomain ¶
GetCustomDomain returns the CustomDomain field value if set, zero value otherwise (both if not set or set to explicit null).
func (*Project) GetCustomDomainOk ¶
GetCustomDomainOk returns a tuple with the CustomDomain field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*Project) GetDescription ¶
GetDescription returns the Description field value if set, zero value otherwise (both if not set or set to explicit null).
func (*Project) GetDescriptionOk ¶
GetDescriptionOk returns a tuple with the Description field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*Project) GetDomainVerificationStatus ¶
GetDomainVerificationStatus returns the DomainVerificationStatus field value if set, zero value otherwise (both if not set or set to explicit null).
func (*Project) GetDomainVerificationStatusOk ¶
GetDomainVerificationStatusOk returns a tuple with the DomainVerificationStatus field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*Project) GetEntriesCount ¶
GetEntriesCount returns the EntriesCount field value if set, zero value otherwise.
func (*Project) GetEntriesCountOk ¶
GetEntriesCountOk returns a tuple with the EntriesCount field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Project) GetIdOk ¶
GetIdOk returns a tuple with the Id field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Project) GetNameOk ¶
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 (*Project) GetSlugOk ¶
GetSlugOk returns a tuple with the Slug field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Project) GetUpdatedAt ¶
GetUpdatedAt returns the UpdatedAt field value if set, zero value otherwise.
func (*Project) GetUpdatedAtOk ¶
GetUpdatedAtOk returns a tuple with the UpdatedAt field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Project) HasCreatedAt ¶
HasCreatedAt returns a boolean if a field has been set.
func (*Project) HasCustomDomain ¶
HasCustomDomain returns a boolean if a field has been set.
func (*Project) HasDescription ¶
HasDescription returns a boolean if a field has been set.
func (*Project) HasDomainVerificationStatus ¶
HasDomainVerificationStatus returns a boolean if a field has been set.
func (*Project) HasEntriesCount ¶
HasEntriesCount returns a boolean if a field has been set.
func (*Project) HasUpdatedAt ¶
HasUpdatedAt returns a boolean if a field has been set.
func (Project) MarshalJSON ¶
func (*Project) SetCreatedAt ¶
SetCreatedAt gets a reference to the given time.Time and assigns it to the CreatedAt field.
func (*Project) SetCustomDomain ¶
SetCustomDomain gets a reference to the given NullableString and assigns it to the CustomDomain field.
func (*Project) SetCustomDomainNil ¶
func (o *Project) SetCustomDomainNil()
SetCustomDomainNil sets the value for CustomDomain to be an explicit nil
func (*Project) SetDescription ¶
SetDescription gets a reference to the given NullableString and assigns it to the Description field.
func (*Project) SetDescriptionNil ¶
func (o *Project) SetDescriptionNil()
SetDescriptionNil sets the value for Description to be an explicit nil
func (*Project) SetDomainVerificationStatus ¶
SetDomainVerificationStatus gets a reference to the given NullableString and assigns it to the DomainVerificationStatus field.
func (*Project) SetDomainVerificationStatusNil ¶
func (o *Project) SetDomainVerificationStatusNil()
SetDomainVerificationStatusNil sets the value for DomainVerificationStatus to be an explicit nil
func (*Project) SetEntriesCount ¶
SetEntriesCount gets a reference to the given int32 and assigns it to the EntriesCount field.
func (*Project) SetName ¶
SetName gets a reference to the given string and assigns it to the Name field.
func (*Project) SetSlug ¶
SetSlug gets a reference to the given string and assigns it to the Slug field.
func (*Project) SetUpdatedAt ¶
SetUpdatedAt gets a reference to the given time.Time and assigns it to the UpdatedAt field.
func (*Project) UnsetCustomDomain ¶
func (o *Project) UnsetCustomDomain()
UnsetCustomDomain ensures that no value is present for CustomDomain, not even an explicit nil
func (*Project) UnsetDescription ¶
func (o *Project) UnsetDescription()
UnsetDescription ensures that no value is present for Description, not even an explicit nil
func (*Project) UnsetDomainVerificationStatus ¶
func (o *Project) UnsetDomainVerificationStatus()
UnsetDomainVerificationStatus ensures that no value is present for DomainVerificationStatus, not even an explicit nil
type ProjectInput ¶
type ProjectInput struct {
Name string `json:"name"`
Description NullableString `json:"description,omitempty"`
}
ProjectInput struct for ProjectInput
func NewProjectInput ¶
func NewProjectInput(name string) *ProjectInput
NewProjectInput instantiates a new ProjectInput 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 NewProjectInputWithDefaults ¶
func NewProjectInputWithDefaults() *ProjectInput
NewProjectInputWithDefaults instantiates a new ProjectInput 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 (*ProjectInput) GetDescription ¶
func (o *ProjectInput) GetDescription() string
GetDescription returns the Description field value if set, zero value otherwise (both if not set or set to explicit null).
func (*ProjectInput) GetDescriptionOk ¶
func (o *ProjectInput) GetDescriptionOk() (*string, bool)
GetDescriptionOk returns a tuple with the Description field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*ProjectInput) GetName ¶
func (o *ProjectInput) GetName() string
GetName returns the Name field value
func (*ProjectInput) GetNameOk ¶
func (o *ProjectInput) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.
func (*ProjectInput) HasDescription ¶
func (o *ProjectInput) HasDescription() bool
HasDescription returns a boolean if a field has been set.
func (ProjectInput) MarshalJSON ¶
func (o ProjectInput) MarshalJSON() ([]byte, error)
func (*ProjectInput) SetDescription ¶
func (o *ProjectInput) SetDescription(v string)
SetDescription gets a reference to the given NullableString and assigns it to the Description field.
func (*ProjectInput) SetDescriptionNil ¶
func (o *ProjectInput) SetDescriptionNil()
SetDescriptionNil sets the value for Description to be an explicit nil
func (ProjectInput) ToMap ¶
func (o ProjectInput) ToMap() (map[string]interface{}, error)
func (*ProjectInput) UnmarshalJSON ¶
func (o *ProjectInput) UnmarshalJSON(data []byte) (err error)
func (*ProjectInput) UnsetDescription ¶
func (o *ProjectInput) UnsetDescription()
UnsetDescription ensures that no value is present for Description, not even an explicit nil
type ProjectsAPIService ¶
type ProjectsAPIService service
ProjectsAPIService ProjectsAPI service
func (*ProjectsAPIService) ProjectsGet ¶
func (a *ProjectsAPIService) ProjectsGet(ctx context.Context) ApiProjectsGetRequest
ProjectsGet List projects
Returns all projects owned by the authenticated user.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiProjectsGetRequest
func (*ProjectsAPIService) ProjectsGetExecute ¶
func (a *ProjectsAPIService) ProjectsGetExecute(r ApiProjectsGetRequest) (*ProjectsGet200Response, *http.Response, error)
Execute executes the request
@return ProjectsGet200Response
func (*ProjectsAPIService) ProjectsPost ¶
func (a *ProjectsAPIService) ProjectsPost(ctx context.Context) ApiProjectsPostRequest
ProjectsPost Create a project
Creates a new changelog project. The slug is auto-generated from the name.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiProjectsPostRequest
func (*ProjectsAPIService) ProjectsPostExecute ¶
func (a *ProjectsAPIService) ProjectsPostExecute(r ApiProjectsPostRequest) (*ProjectsPost201Response, *http.Response, error)
Execute executes the request
@return ProjectsPost201Response
func (*ProjectsAPIService) ProjectsProjectDelete ¶
func (a *ProjectsAPIService) ProjectsProjectDelete(ctx context.Context, project int32) ApiProjectsProjectDeleteRequest
ProjectsProjectDelete Delete a project
Permanently deletes a project and all its entries.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param project Project ID @return ApiProjectsProjectDeleteRequest
func (*ProjectsAPIService) ProjectsProjectDeleteExecute ¶
func (a *ProjectsAPIService) ProjectsProjectDeleteExecute(r ApiProjectsProjectDeleteRequest) (*http.Response, error)
Execute executes the request
func (*ProjectsAPIService) ProjectsProjectGet ¶
func (a *ProjectsAPIService) ProjectsProjectGet(ctx context.Context, project int32) ApiProjectsProjectGetRequest
ProjectsProjectGet Get a project
Returns a single project by ID.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param project Project ID @return ApiProjectsProjectGetRequest
func (*ProjectsAPIService) ProjectsProjectGetExecute ¶
func (a *ProjectsAPIService) ProjectsProjectGetExecute(r ApiProjectsProjectGetRequest) (*ProjectsPost201Response, *http.Response, error)
Execute executes the request
@return ProjectsPost201Response
func (*ProjectsAPIService) ProjectsProjectPut ¶
func (a *ProjectsAPIService) ProjectsProjectPut(ctx context.Context, project int32) ApiProjectsProjectPutRequest
ProjectsProjectPut Update a project
Updates an existing project's name and description.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param project Project ID @return ApiProjectsProjectPutRequest
func (*ProjectsAPIService) ProjectsProjectPutExecute ¶
func (a *ProjectsAPIService) ProjectsProjectPutExecute(r ApiProjectsProjectPutRequest) (*ProjectsPost201Response, *http.Response, error)
Execute executes the request
@return ProjectsPost201Response
type ProjectsGet200Response ¶
type ProjectsGet200Response struct {
Data []Project `json:"data,omitempty"`
}
ProjectsGet200Response struct for ProjectsGet200Response
func NewProjectsGet200Response ¶
func NewProjectsGet200Response() *ProjectsGet200Response
NewProjectsGet200Response instantiates a new ProjectsGet200Response 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 NewProjectsGet200ResponseWithDefaults ¶
func NewProjectsGet200ResponseWithDefaults() *ProjectsGet200Response
NewProjectsGet200ResponseWithDefaults instantiates a new ProjectsGet200Response 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 (*ProjectsGet200Response) GetData ¶
func (o *ProjectsGet200Response) GetData() []Project
GetData returns the Data field value if set, zero value otherwise.
func (*ProjectsGet200Response) GetDataOk ¶
func (o *ProjectsGet200Response) GetDataOk() ([]Project, bool)
GetDataOk returns a tuple with the Data field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ProjectsGet200Response) HasData ¶
func (o *ProjectsGet200Response) HasData() bool
HasData returns a boolean if a field has been set.
func (ProjectsGet200Response) MarshalJSON ¶
func (o ProjectsGet200Response) MarshalJSON() ([]byte, error)
func (*ProjectsGet200Response) SetData ¶
func (o *ProjectsGet200Response) SetData(v []Project)
SetData gets a reference to the given []Project and assigns it to the Data field.
func (ProjectsGet200Response) ToMap ¶
func (o ProjectsGet200Response) ToMap() (map[string]interface{}, error)
type ProjectsPost201Response ¶
type ProjectsPost201Response struct {
Data *Project `json:"data,omitempty"`
}
ProjectsPost201Response struct for ProjectsPost201Response
func NewProjectsPost201Response ¶
func NewProjectsPost201Response() *ProjectsPost201Response
NewProjectsPost201Response instantiates a new ProjectsPost201Response 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 NewProjectsPost201ResponseWithDefaults ¶
func NewProjectsPost201ResponseWithDefaults() *ProjectsPost201Response
NewProjectsPost201ResponseWithDefaults instantiates a new ProjectsPost201Response 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 (*ProjectsPost201Response) GetData ¶
func (o *ProjectsPost201Response) GetData() Project
GetData returns the Data field value if set, zero value otherwise.
func (*ProjectsPost201Response) GetDataOk ¶
func (o *ProjectsPost201Response) GetDataOk() (*Project, bool)
GetDataOk returns a tuple with the Data field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ProjectsPost201Response) HasData ¶
func (o *ProjectsPost201Response) HasData() bool
HasData returns a boolean if a field has been set.
func (ProjectsPost201Response) MarshalJSON ¶
func (o ProjectsPost201Response) MarshalJSON() ([]byte, error)
func (*ProjectsPost201Response) SetData ¶
func (o *ProjectsPost201Response) SetData(v Project)
SetData gets a reference to the given Project and assigns it to the Data field.
func (ProjectsPost201Response) ToMap ¶
func (o ProjectsPost201Response) ToMap() (map[string]interface{}, error)
type ProjectsProjectEntriesGet200Response ¶
type ProjectsProjectEntriesGet200Response struct {
Data []Entry `json:"data,omitempty"`
Meta *PaginationMeta `json:"meta,omitempty"`
}
ProjectsProjectEntriesGet200Response struct for ProjectsProjectEntriesGet200Response
func NewProjectsProjectEntriesGet200Response ¶
func NewProjectsProjectEntriesGet200Response() *ProjectsProjectEntriesGet200Response
NewProjectsProjectEntriesGet200Response instantiates a new ProjectsProjectEntriesGet200Response 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 NewProjectsProjectEntriesGet200ResponseWithDefaults ¶
func NewProjectsProjectEntriesGet200ResponseWithDefaults() *ProjectsProjectEntriesGet200Response
NewProjectsProjectEntriesGet200ResponseWithDefaults instantiates a new ProjectsProjectEntriesGet200Response 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 (*ProjectsProjectEntriesGet200Response) GetData ¶
func (o *ProjectsProjectEntriesGet200Response) GetData() []Entry
GetData returns the Data field value if set, zero value otherwise.
func (*ProjectsProjectEntriesGet200Response) GetDataOk ¶
func (o *ProjectsProjectEntriesGet200Response) GetDataOk() ([]Entry, bool)
GetDataOk returns a tuple with the Data field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ProjectsProjectEntriesGet200Response) GetMeta ¶
func (o *ProjectsProjectEntriesGet200Response) GetMeta() PaginationMeta
GetMeta returns the Meta field value if set, zero value otherwise.
func (*ProjectsProjectEntriesGet200Response) GetMetaOk ¶
func (o *ProjectsProjectEntriesGet200Response) GetMetaOk() (*PaginationMeta, bool)
GetMetaOk returns a tuple with the Meta field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ProjectsProjectEntriesGet200Response) HasData ¶
func (o *ProjectsProjectEntriesGet200Response) HasData() bool
HasData returns a boolean if a field has been set.
func (*ProjectsProjectEntriesGet200Response) HasMeta ¶
func (o *ProjectsProjectEntriesGet200Response) HasMeta() bool
HasMeta returns a boolean if a field has been set.
func (ProjectsProjectEntriesGet200Response) MarshalJSON ¶
func (o ProjectsProjectEntriesGet200Response) MarshalJSON() ([]byte, error)
func (*ProjectsProjectEntriesGet200Response) SetData ¶
func (o *ProjectsProjectEntriesGet200Response) SetData(v []Entry)
SetData gets a reference to the given []Entry and assigns it to the Data field.
func (*ProjectsProjectEntriesGet200Response) SetMeta ¶
func (o *ProjectsProjectEntriesGet200Response) SetMeta(v PaginationMeta)
SetMeta gets a reference to the given PaginationMeta and assigns it to the Meta field.
func (ProjectsProjectEntriesGet200Response) ToMap ¶
func (o ProjectsProjectEntriesGet200Response) ToMap() (map[string]interface{}, error)
type ProjectsProjectEntriesPost201Response ¶
type ProjectsProjectEntriesPost201Response struct {
Data *Entry `json:"data,omitempty"`
}
ProjectsProjectEntriesPost201Response struct for ProjectsProjectEntriesPost201Response
func NewProjectsProjectEntriesPost201Response ¶
func NewProjectsProjectEntriesPost201Response() *ProjectsProjectEntriesPost201Response
NewProjectsProjectEntriesPost201Response instantiates a new ProjectsProjectEntriesPost201Response 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 NewProjectsProjectEntriesPost201ResponseWithDefaults ¶
func NewProjectsProjectEntriesPost201ResponseWithDefaults() *ProjectsProjectEntriesPost201Response
NewProjectsProjectEntriesPost201ResponseWithDefaults instantiates a new ProjectsProjectEntriesPost201Response 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 (*ProjectsProjectEntriesPost201Response) GetData ¶
func (o *ProjectsProjectEntriesPost201Response) GetData() Entry
GetData returns the Data field value if set, zero value otherwise.
func (*ProjectsProjectEntriesPost201Response) GetDataOk ¶
func (o *ProjectsProjectEntriesPost201Response) GetDataOk() (*Entry, bool)
GetDataOk returns a tuple with the Data field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ProjectsProjectEntriesPost201Response) HasData ¶
func (o *ProjectsProjectEntriesPost201Response) HasData() bool
HasData returns a boolean if a field has been set.
func (ProjectsProjectEntriesPost201Response) MarshalJSON ¶
func (o ProjectsProjectEntriesPost201Response) MarshalJSON() ([]byte, error)
func (*ProjectsProjectEntriesPost201Response) SetData ¶
func (o *ProjectsProjectEntriesPost201Response) SetData(v Entry)
SetData gets a reference to the given Entry and assigns it to the Data field.
func (ProjectsProjectEntriesPost201Response) ToMap ¶
func (o ProjectsProjectEntriesPost201Response) ToMap() (map[string]interface{}, error)
type PublicAPIService ¶
type PublicAPIService service
PublicAPIService PublicAPI service
func (*PublicAPIService) PublicProjectsSlugEntriesGet ¶
func (a *PublicAPIService) PublicProjectsSlugEntriesGet(ctx context.Context, slug string) ApiPublicProjectsSlugEntriesGetRequest
PublicProjectsSlugEntriesGet List published entries (public)
Returns all published entries for a project. No authentication required.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param slug Project slug @return ApiPublicProjectsSlugEntriesGetRequest
func (*PublicAPIService) PublicProjectsSlugEntriesGetExecute ¶
func (a *PublicAPIService) PublicProjectsSlugEntriesGetExecute(r ApiPublicProjectsSlugEntriesGetRequest) (*PublicProjectsSlugEntriesGet200Response, *http.Response, error)
Execute executes the request
@return PublicProjectsSlugEntriesGet200Response
type PublicProjectsSlugEntriesGet200Response ¶
type PublicProjectsSlugEntriesGet200Response struct {
Data []Entry `json:"data,omitempty"`
}
PublicProjectsSlugEntriesGet200Response struct for PublicProjectsSlugEntriesGet200Response
func NewPublicProjectsSlugEntriesGet200Response ¶
func NewPublicProjectsSlugEntriesGet200Response() *PublicProjectsSlugEntriesGet200Response
NewPublicProjectsSlugEntriesGet200Response instantiates a new PublicProjectsSlugEntriesGet200Response 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 NewPublicProjectsSlugEntriesGet200ResponseWithDefaults ¶
func NewPublicProjectsSlugEntriesGet200ResponseWithDefaults() *PublicProjectsSlugEntriesGet200Response
NewPublicProjectsSlugEntriesGet200ResponseWithDefaults instantiates a new PublicProjectsSlugEntriesGet200Response 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 (*PublicProjectsSlugEntriesGet200Response) GetData ¶
func (o *PublicProjectsSlugEntriesGet200Response) GetData() []Entry
GetData returns the Data field value if set, zero value otherwise.
func (*PublicProjectsSlugEntriesGet200Response) GetDataOk ¶
func (o *PublicProjectsSlugEntriesGet200Response) GetDataOk() ([]Entry, bool)
GetDataOk returns a tuple with the Data field value if set, nil otherwise and a boolean to check if the value has been set.
func (*PublicProjectsSlugEntriesGet200Response) HasData ¶
func (o *PublicProjectsSlugEntriesGet200Response) HasData() bool
HasData returns a boolean if a field has been set.
func (PublicProjectsSlugEntriesGet200Response) MarshalJSON ¶
func (o PublicProjectsSlugEntriesGet200Response) MarshalJSON() ([]byte, error)
func (*PublicProjectsSlugEntriesGet200Response) SetData ¶
func (o *PublicProjectsSlugEntriesGet200Response) SetData(v []Entry)
SetData gets a reference to the given []Entry and assigns it to the Data field.
func (PublicProjectsSlugEntriesGet200Response) ToMap ¶
func (o PublicProjectsSlugEntriesGet200Response) ToMap() (map[string]interface{}, error)
type ServerConfiguration ¶
type ServerConfiguration struct {
URL string
Description string
Variables map[string]ServerVariable
}
ServerConfiguration stores the information about a server
type ServerConfigurations ¶
type ServerConfigurations []ServerConfiguration
ServerConfigurations stores multiple ServerConfiguration items
type ServerVariable ¶
ServerVariable stores the information about a server variable
type TokenInfo ¶
type TokenInfo struct {
Id *string `json:"id,omitempty"`
Name *string `json:"name,omitempty"`
LastUsedAt NullableTime `json:"last_used_at,omitempty"`
CreatedAt *time.Time `json:"created_at,omitempty"`
}
TokenInfo struct for TokenInfo
func NewTokenInfo ¶
func NewTokenInfo() *TokenInfo
NewTokenInfo instantiates a new TokenInfo 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 NewTokenInfoWithDefaults ¶
func NewTokenInfoWithDefaults() *TokenInfo
NewTokenInfoWithDefaults instantiates a new TokenInfo 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 (*TokenInfo) GetCreatedAt ¶
GetCreatedAt returns the CreatedAt field value if set, zero value otherwise.
func (*TokenInfo) GetCreatedAtOk ¶
GetCreatedAtOk returns a tuple with the CreatedAt field value if set, nil otherwise and a boolean to check if the value has been set.
func (*TokenInfo) GetIdOk ¶
GetIdOk returns a tuple with the Id field value if set, nil otherwise and a boolean to check if the value has been set.
func (*TokenInfo) GetLastUsedAt ¶
GetLastUsedAt returns the LastUsedAt field value if set, zero value otherwise (both if not set or set to explicit null).
func (*TokenInfo) GetLastUsedAtOk ¶
GetLastUsedAtOk returns a tuple with the LastUsedAt field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*TokenInfo) GetNameOk ¶
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 (*TokenInfo) HasCreatedAt ¶
HasCreatedAt returns a boolean if a field has been set.
func (*TokenInfo) HasLastUsedAt ¶
HasLastUsedAt returns a boolean if a field has been set.
func (TokenInfo) MarshalJSON ¶
func (*TokenInfo) SetCreatedAt ¶
SetCreatedAt gets a reference to the given time.Time and assigns it to the CreatedAt field.
func (*TokenInfo) SetLastUsedAt ¶
SetLastUsedAt gets a reference to the given NullableTime and assigns it to the LastUsedAt field.
func (*TokenInfo) SetLastUsedAtNil ¶
func (o *TokenInfo) SetLastUsedAtNil()
SetLastUsedAtNil sets the value for LastUsedAt to be an explicit nil
func (*TokenInfo) SetName ¶
SetName gets a reference to the given string and assigns it to the Name field.
func (*TokenInfo) UnsetLastUsedAt ¶
func (o *TokenInfo) UnsetLastUsedAt()
UnsetLastUsedAt ensures that no value is present for LastUsedAt, not even an explicit nil
type TokensGet200Response ¶
type TokensGet200Response struct {
Data []TokenInfo `json:"data,omitempty"`
}
TokensGet200Response struct for TokensGet200Response
func NewTokensGet200Response ¶
func NewTokensGet200Response() *TokensGet200Response
NewTokensGet200Response instantiates a new TokensGet200Response 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 NewTokensGet200ResponseWithDefaults ¶
func NewTokensGet200ResponseWithDefaults() *TokensGet200Response
NewTokensGet200ResponseWithDefaults instantiates a new TokensGet200Response 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 (*TokensGet200Response) GetData ¶
func (o *TokensGet200Response) GetData() []TokenInfo
GetData returns the Data field value if set, zero value otherwise.
func (*TokensGet200Response) GetDataOk ¶
func (o *TokensGet200Response) GetDataOk() ([]TokenInfo, bool)
GetDataOk returns a tuple with the Data field value if set, nil otherwise and a boolean to check if the value has been set.
func (*TokensGet200Response) HasData ¶
func (o *TokensGet200Response) HasData() bool
HasData returns a boolean if a field has been set.
func (TokensGet200Response) MarshalJSON ¶
func (o TokensGet200Response) MarshalJSON() ([]byte, error)
func (*TokensGet200Response) SetData ¶
func (o *TokensGet200Response) SetData(v []TokenInfo)
SetData gets a reference to the given []TokenInfo and assigns it to the Data field.
func (TokensGet200Response) ToMap ¶
func (o TokensGet200Response) ToMap() (map[string]interface{}, error)
type TokensPost201Response ¶
type TokensPost201Response struct {
Data *NewToken `json:"data,omitempty"`
}
TokensPost201Response struct for TokensPost201Response
func NewTokensPost201Response ¶
func NewTokensPost201Response() *TokensPost201Response
NewTokensPost201Response instantiates a new TokensPost201Response 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 NewTokensPost201ResponseWithDefaults ¶
func NewTokensPost201ResponseWithDefaults() *TokensPost201Response
NewTokensPost201ResponseWithDefaults instantiates a new TokensPost201Response 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 (*TokensPost201Response) GetData ¶
func (o *TokensPost201Response) GetData() NewToken
GetData returns the Data field value if set, zero value otherwise.
func (*TokensPost201Response) GetDataOk ¶
func (o *TokensPost201Response) GetDataOk() (*NewToken, bool)
GetDataOk returns a tuple with the Data field value if set, nil otherwise and a boolean to check if the value has been set.
func (*TokensPost201Response) HasData ¶
func (o *TokensPost201Response) HasData() bool
HasData returns a boolean if a field has been set.
func (TokensPost201Response) MarshalJSON ¶
func (o TokensPost201Response) MarshalJSON() ([]byte, error)
func (*TokensPost201Response) SetData ¶
func (o *TokensPost201Response) SetData(v NewToken)
SetData gets a reference to the given NewToken and assigns it to the Data field.
func (TokensPost201Response) ToMap ¶
func (o TokensPost201Response) ToMap() (map[string]interface{}, error)
type TokensPostRequest ¶
type TokensPostRequest struct {
// A descriptive name for the token
Name string `json:"name"`
}
TokensPostRequest struct for TokensPostRequest
func NewTokensPostRequest ¶
func NewTokensPostRequest(name string) *TokensPostRequest
NewTokensPostRequest instantiates a new TokensPostRequest 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 NewTokensPostRequestWithDefaults ¶
func NewTokensPostRequestWithDefaults() *TokensPostRequest
NewTokensPostRequestWithDefaults instantiates a new TokensPostRequest 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 (*TokensPostRequest) GetName ¶
func (o *TokensPostRequest) GetName() string
GetName returns the Name field value
func (*TokensPostRequest) GetNameOk ¶
func (o *TokensPostRequest) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.
func (TokensPostRequest) MarshalJSON ¶
func (o TokensPostRequest) MarshalJSON() ([]byte, error)
func (*TokensPostRequest) SetName ¶
func (o *TokensPostRequest) SetName(v string)
SetName sets field value
func (TokensPostRequest) ToMap ¶
func (o TokensPostRequest) ToMap() (map[string]interface{}, error)
func (*TokensPostRequest) UnmarshalJSON ¶
func (o *TokensPostRequest) UnmarshalJSON(data []byte) (err error)
type Usage ¶
type Usage struct {
ProjectsCount *int32 `json:"projects_count,omitempty"`
EntriesThisMonth *int32 `json:"entries_this_month,omitempty"`
Limits *UsageLimits `json:"limits,omitempty"`
PlanName *string `json:"plan_name,omitempty"`
}
Usage struct for Usage
func NewUsage ¶
func NewUsage() *Usage
NewUsage instantiates a new Usage 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 NewUsageWithDefaults ¶
func NewUsageWithDefaults() *Usage
NewUsageWithDefaults instantiates a new Usage 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 (*Usage) GetEntriesThisMonth ¶
GetEntriesThisMonth returns the EntriesThisMonth field value if set, zero value otherwise.
func (*Usage) GetEntriesThisMonthOk ¶
GetEntriesThisMonthOk returns a tuple with the EntriesThisMonth field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Usage) GetLimits ¶
func (o *Usage) GetLimits() UsageLimits
GetLimits returns the Limits field value if set, zero value otherwise.
func (*Usage) GetLimitsOk ¶
func (o *Usage) GetLimitsOk() (*UsageLimits, bool)
GetLimitsOk returns a tuple with the Limits field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Usage) GetPlanName ¶
GetPlanName returns the PlanName field value if set, zero value otherwise.
func (*Usage) GetPlanNameOk ¶
GetPlanNameOk returns a tuple with the PlanName field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Usage) GetProjectsCount ¶
GetProjectsCount returns the ProjectsCount field value if set, zero value otherwise.
func (*Usage) GetProjectsCountOk ¶
GetProjectsCountOk returns a tuple with the ProjectsCount field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Usage) HasEntriesThisMonth ¶
HasEntriesThisMonth returns a boolean if a field has been set.
func (*Usage) HasPlanName ¶
HasPlanName returns a boolean if a field has been set.
func (*Usage) HasProjectsCount ¶
HasProjectsCount returns a boolean if a field has been set.
func (Usage) MarshalJSON ¶
func (*Usage) SetEntriesThisMonth ¶
SetEntriesThisMonth gets a reference to the given int32 and assigns it to the EntriesThisMonth field.
func (*Usage) SetLimits ¶
func (o *Usage) SetLimits(v UsageLimits)
SetLimits gets a reference to the given UsageLimits and assigns it to the Limits field.
func (*Usage) SetPlanName ¶
SetPlanName gets a reference to the given string and assigns it to the PlanName field.
func (*Usage) SetProjectsCount ¶
SetProjectsCount gets a reference to the given int32 and assigns it to the ProjectsCount field.
type UsageLimits ¶
type UsageLimits struct {
MaxProjects *int32 `json:"max_projects,omitempty"`
MaxEntriesPerMonth *int32 `json:"max_entries_per_month,omitempty"`
}
UsageLimits struct for UsageLimits
func NewUsageLimits ¶
func NewUsageLimits() *UsageLimits
NewUsageLimits instantiates a new UsageLimits 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 NewUsageLimitsWithDefaults ¶
func NewUsageLimitsWithDefaults() *UsageLimits
NewUsageLimitsWithDefaults instantiates a new UsageLimits 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 (*UsageLimits) GetMaxEntriesPerMonth ¶
func (o *UsageLimits) GetMaxEntriesPerMonth() int32
GetMaxEntriesPerMonth returns the MaxEntriesPerMonth field value if set, zero value otherwise.
func (*UsageLimits) GetMaxEntriesPerMonthOk ¶
func (o *UsageLimits) GetMaxEntriesPerMonthOk() (*int32, bool)
GetMaxEntriesPerMonthOk returns a tuple with the MaxEntriesPerMonth field value if set, nil otherwise and a boolean to check if the value has been set.
func (*UsageLimits) GetMaxProjects ¶
func (o *UsageLimits) GetMaxProjects() int32
GetMaxProjects returns the MaxProjects field value if set, zero value otherwise.
func (*UsageLimits) GetMaxProjectsOk ¶
func (o *UsageLimits) GetMaxProjectsOk() (*int32, bool)
GetMaxProjectsOk returns a tuple with the MaxProjects field value if set, nil otherwise and a boolean to check if the value has been set.
func (*UsageLimits) HasMaxEntriesPerMonth ¶
func (o *UsageLimits) HasMaxEntriesPerMonth() bool
HasMaxEntriesPerMonth returns a boolean if a field has been set.
func (*UsageLimits) HasMaxProjects ¶
func (o *UsageLimits) HasMaxProjects() bool
HasMaxProjects returns a boolean if a field has been set.
func (UsageLimits) MarshalJSON ¶
func (o UsageLimits) MarshalJSON() ([]byte, error)
func (*UsageLimits) SetMaxEntriesPerMonth ¶
func (o *UsageLimits) SetMaxEntriesPerMonth(v int32)
SetMaxEntriesPerMonth gets a reference to the given int32 and assigns it to the MaxEntriesPerMonth field.
func (*UsageLimits) SetMaxProjects ¶
func (o *UsageLimits) SetMaxProjects(v int32)
SetMaxProjects gets a reference to the given int32 and assigns it to the MaxProjects field.
func (UsageLimits) ToMap ¶
func (o UsageLimits) ToMap() (map[string]interface{}, error)
type User ¶
type User struct {
Id *int32 `json:"id,omitempty"`
Name *string `json:"name,omitempty"`
Email *string `json:"email,omitempty"`
Plan NullableUserPlan `json:"plan,omitempty"`
CreatedAt *time.Time `json:"created_at,omitempty"`
}
User struct for User
func NewUser ¶
func NewUser() *User
NewUser instantiates a new User 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 NewUserWithDefaults ¶
func NewUserWithDefaults() *User
NewUserWithDefaults instantiates a new User 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 (*User) GetCreatedAt ¶
GetCreatedAt returns the CreatedAt field value if set, zero value otherwise.
func (*User) GetCreatedAtOk ¶
GetCreatedAtOk returns a tuple with the CreatedAt field value if set, nil otherwise and a boolean to check if the value has been set.
func (*User) GetEmailOk ¶
GetEmailOk returns a tuple with the Email field value if set, nil otherwise and a boolean to check if the value has been set.
func (*User) GetIdOk ¶
GetIdOk returns a tuple with the Id field value if set, nil otherwise and a boolean to check if the value has been set.
func (*User) GetNameOk ¶
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 (*User) GetPlan ¶
GetPlan returns the Plan field value if set, zero value otherwise (both if not set or set to explicit null).
func (*User) GetPlanOk ¶
GetPlanOk returns a tuple with the Plan field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*User) HasCreatedAt ¶
HasCreatedAt returns a boolean if a field has been set.
func (User) MarshalJSON ¶
func (*User) SetCreatedAt ¶
SetCreatedAt gets a reference to the given time.Time and assigns it to the CreatedAt field.
func (*User) SetEmail ¶
SetEmail gets a reference to the given string and assigns it to the Email field.
func (*User) SetName ¶
SetName gets a reference to the given string and assigns it to the Name field.
func (*User) SetPlan ¶
SetPlan gets a reference to the given NullableUserPlan and assigns it to the Plan field.
func (*User) SetPlanNil ¶
func (o *User) SetPlanNil()
SetPlanNil sets the value for Plan to be an explicit nil
type UserGet200Response ¶
type UserGet200Response struct {
Data *User `json:"data,omitempty"`
}
UserGet200Response struct for UserGet200Response
func NewUserGet200Response ¶
func NewUserGet200Response() *UserGet200Response
NewUserGet200Response instantiates a new UserGet200Response 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 NewUserGet200ResponseWithDefaults ¶
func NewUserGet200ResponseWithDefaults() *UserGet200Response
NewUserGet200ResponseWithDefaults instantiates a new UserGet200Response 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 (*UserGet200Response) GetData ¶
func (o *UserGet200Response) GetData() User
GetData returns the Data field value if set, zero value otherwise.
func (*UserGet200Response) GetDataOk ¶
func (o *UserGet200Response) GetDataOk() (*User, bool)
GetDataOk returns a tuple with the Data field value if set, nil otherwise and a boolean to check if the value has been set.
func (*UserGet200Response) HasData ¶
func (o *UserGet200Response) HasData() bool
HasData returns a boolean if a field has been set.
func (UserGet200Response) MarshalJSON ¶
func (o UserGet200Response) MarshalJSON() ([]byte, error)
func (*UserGet200Response) SetData ¶
func (o *UserGet200Response) SetData(v User)
SetData gets a reference to the given User and assigns it to the Data field.
func (UserGet200Response) ToMap ¶
func (o UserGet200Response) ToMap() (map[string]interface{}, error)
type UserPlan ¶
type UserPlan struct {
Id *int32 `json:"id,omitempty"`
Name *string `json:"name,omitempty"`
PlanType *string `json:"plan_type,omitempty"`
MaxProjects *int32 `json:"max_projects,omitempty"`
MaxEntriesPerMonth *int32 `json:"max_entries_per_month,omitempty"`
CustomDomainAllowed *bool `json:"custom_domain_allowed,omitempty"`
AnalyticsEnabled *bool `json:"analytics_enabled,omitempty"`
ApiAccessEnabled *bool `json:"api_access_enabled,omitempty"`
// Maximum API requests per minute for this plan
ApiRateLimit *int32 `json:"api_rate_limit,omitempty"`
}
UserPlan struct for UserPlan
func NewUserPlan ¶
func NewUserPlan() *UserPlan
NewUserPlan instantiates a new UserPlan 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 NewUserPlanWithDefaults ¶
func NewUserPlanWithDefaults() *UserPlan
NewUserPlanWithDefaults instantiates a new UserPlan 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 (*UserPlan) GetAnalyticsEnabled ¶
GetAnalyticsEnabled returns the AnalyticsEnabled field value if set, zero value otherwise.
func (*UserPlan) GetAnalyticsEnabledOk ¶
GetAnalyticsEnabledOk returns a tuple with the AnalyticsEnabled field value if set, nil otherwise and a boolean to check if the value has been set.
func (*UserPlan) GetApiAccessEnabled ¶
GetApiAccessEnabled returns the ApiAccessEnabled field value if set, zero value otherwise.
func (*UserPlan) GetApiAccessEnabledOk ¶
GetApiAccessEnabledOk returns a tuple with the ApiAccessEnabled field value if set, nil otherwise and a boolean to check if the value has been set.
func (*UserPlan) GetApiRateLimit ¶
GetApiRateLimit returns the ApiRateLimit field value if set, zero value otherwise.
func (*UserPlan) GetApiRateLimitOk ¶
GetApiRateLimitOk returns a tuple with the ApiRateLimit field value if set, nil otherwise and a boolean to check if the value has been set.
func (*UserPlan) GetCustomDomainAllowed ¶
GetCustomDomainAllowed returns the CustomDomainAllowed field value if set, zero value otherwise.
func (*UserPlan) GetCustomDomainAllowedOk ¶
GetCustomDomainAllowedOk returns a tuple with the CustomDomainAllowed field value if set, nil otherwise and a boolean to check if the value has been set.
func (*UserPlan) GetIdOk ¶
GetIdOk returns a tuple with the Id field value if set, nil otherwise and a boolean to check if the value has been set.
func (*UserPlan) GetMaxEntriesPerMonth ¶
GetMaxEntriesPerMonth returns the MaxEntriesPerMonth field value if set, zero value otherwise.
func (*UserPlan) GetMaxEntriesPerMonthOk ¶
GetMaxEntriesPerMonthOk returns a tuple with the MaxEntriesPerMonth field value if set, nil otherwise and a boolean to check if the value has been set.
func (*UserPlan) GetMaxProjects ¶
GetMaxProjects returns the MaxProjects field value if set, zero value otherwise.
func (*UserPlan) GetMaxProjectsOk ¶
GetMaxProjectsOk returns a tuple with the MaxProjects field value if set, nil otherwise and a boolean to check if the value has been set.
func (*UserPlan) GetNameOk ¶
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 (*UserPlan) GetPlanType ¶
GetPlanType returns the PlanType field value if set, zero value otherwise.
func (*UserPlan) GetPlanTypeOk ¶
GetPlanTypeOk returns a tuple with the PlanType field value if set, nil otherwise and a boolean to check if the value has been set.
func (*UserPlan) HasAnalyticsEnabled ¶
HasAnalyticsEnabled returns a boolean if a field has been set.
func (*UserPlan) HasApiAccessEnabled ¶
HasApiAccessEnabled returns a boolean if a field has been set.
func (*UserPlan) HasApiRateLimit ¶
HasApiRateLimit returns a boolean if a field has been set.
func (*UserPlan) HasCustomDomainAllowed ¶
HasCustomDomainAllowed returns a boolean if a field has been set.
func (*UserPlan) HasMaxEntriesPerMonth ¶
HasMaxEntriesPerMonth returns a boolean if a field has been set.
func (*UserPlan) HasMaxProjects ¶
HasMaxProjects returns a boolean if a field has been set.
func (*UserPlan) HasPlanType ¶
HasPlanType returns a boolean if a field has been set.
func (UserPlan) MarshalJSON ¶
func (*UserPlan) SetAnalyticsEnabled ¶
SetAnalyticsEnabled gets a reference to the given bool and assigns it to the AnalyticsEnabled field.
func (*UserPlan) SetApiAccessEnabled ¶
SetApiAccessEnabled gets a reference to the given bool and assigns it to the ApiAccessEnabled field.
func (*UserPlan) SetApiRateLimit ¶
SetApiRateLimit gets a reference to the given int32 and assigns it to the ApiRateLimit field.
func (*UserPlan) SetCustomDomainAllowed ¶
SetCustomDomainAllowed gets a reference to the given bool and assigns it to the CustomDomainAllowed field.
func (*UserPlan) SetMaxEntriesPerMonth ¶
SetMaxEntriesPerMonth gets a reference to the given int32 and assigns it to the MaxEntriesPerMonth field.
func (*UserPlan) SetMaxProjects ¶
SetMaxProjects gets a reference to the given int32 and assigns it to the MaxProjects field.
func (*UserPlan) SetName ¶
SetName gets a reference to the given string and assigns it to the Name field.
func (*UserPlan) SetPlanType ¶
SetPlanType gets a reference to the given string and assigns it to the PlanType field.
type UserUsageGet200Response ¶
type UserUsageGet200Response struct {
Data *Usage `json:"data,omitempty"`
}
UserUsageGet200Response struct for UserUsageGet200Response
func NewUserUsageGet200Response ¶
func NewUserUsageGet200Response() *UserUsageGet200Response
NewUserUsageGet200Response instantiates a new UserUsageGet200Response 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 NewUserUsageGet200ResponseWithDefaults ¶
func NewUserUsageGet200ResponseWithDefaults() *UserUsageGet200Response
NewUserUsageGet200ResponseWithDefaults instantiates a new UserUsageGet200Response 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 (*UserUsageGet200Response) GetData ¶
func (o *UserUsageGet200Response) GetData() Usage
GetData returns the Data field value if set, zero value otherwise.
func (*UserUsageGet200Response) GetDataOk ¶
func (o *UserUsageGet200Response) GetDataOk() (*Usage, bool)
GetDataOk returns a tuple with the Data field value if set, nil otherwise and a boolean to check if the value has been set.
func (*UserUsageGet200Response) HasData ¶
func (o *UserUsageGet200Response) HasData() bool
HasData returns a boolean if a field has been set.
func (UserUsageGet200Response) MarshalJSON ¶
func (o UserUsageGet200Response) MarshalJSON() ([]byte, error)
func (*UserUsageGet200Response) SetData ¶
func (o *UserUsageGet200Response) SetData(v Usage)
SetData gets a reference to the given Usage and assigns it to the Data field.
func (UserUsageGet200Response) ToMap ¶
func (o UserUsageGet200Response) ToMap() (map[string]interface{}, error)
type UsersAPIService ¶
type UsersAPIService service
UsersAPIService UsersAPI service
func (*UsersAPIService) UserGet ¶
func (a *UsersAPIService) UserGet(ctx context.Context) ApiUserGetRequest
UserGet Get current user
Returns the authenticated user's profile and plan details.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiUserGetRequest
func (*UsersAPIService) UserGetExecute ¶
func (a *UsersAPIService) UserGetExecute(r ApiUserGetRequest) (*UserGet200Response, *http.Response, error)
Execute executes the request
@return UserGet200Response
func (*UsersAPIService) UserUsageGet ¶
func (a *UsersAPIService) UserUsageGet(ctx context.Context) ApiUserUsageGetRequest
UserUsageGet Get usage statistics
Returns current usage counts and plan limits.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiUserUsageGetRequest
func (*UsersAPIService) UserUsageGetExecute ¶
func (a *UsersAPIService) UserUsageGetExecute(r ApiUserUsageGetRequest) (*UserUsageGet200Response, *http.Response, error)
Execute executes the request
@return UserUsageGet200Response
type ValidationError ¶
type ValidationError struct {
Message *string `json:"message,omitempty"`
Errors *map[string][]string `json:"errors,omitempty"`
}
ValidationError struct for ValidationError
func NewValidationError ¶
func NewValidationError() *ValidationError
NewValidationError instantiates a new ValidationError 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 NewValidationErrorWithDefaults ¶
func NewValidationErrorWithDefaults() *ValidationError
NewValidationErrorWithDefaults instantiates a new ValidationError 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 (*ValidationError) GetErrors ¶
func (o *ValidationError) GetErrors() map[string][]string
GetErrors returns the Errors field value if set, zero value otherwise.
func (*ValidationError) GetErrorsOk ¶
func (o *ValidationError) GetErrorsOk() (*map[string][]string, bool)
GetErrorsOk returns a tuple with the Errors field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ValidationError) GetMessage ¶
func (o *ValidationError) GetMessage() string
GetMessage returns the Message field value if set, zero value otherwise.
func (*ValidationError) GetMessageOk ¶
func (o *ValidationError) GetMessageOk() (*string, bool)
GetMessageOk returns a tuple with the Message field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ValidationError) HasErrors ¶
func (o *ValidationError) HasErrors() bool
HasErrors returns a boolean if a field has been set.
func (*ValidationError) HasMessage ¶
func (o *ValidationError) HasMessage() bool
HasMessage returns a boolean if a field has been set.
func (ValidationError) MarshalJSON ¶
func (o ValidationError) MarshalJSON() ([]byte, error)
func (*ValidationError) SetErrors ¶
func (o *ValidationError) SetErrors(v map[string][]string)
SetErrors gets a reference to the given map[string][]string and assigns it to the Errors field.
func (*ValidationError) SetMessage ¶
func (o *ValidationError) SetMessage(v string)
SetMessage gets a reference to the given string and assigns it to the Message field.
func (ValidationError) ToMap ¶
func (o ValidationError) ToMap() (map[string]interface{}, error)
Source Files
¶
- api_authentication.go
- api_entries.go
- api_projects.go
- api_public.go
- api_users.go
- client.go
- configuration.go
- model__projects__project__entries_get_200_response.go
- model__projects__project__entries_post_201_response.go
- model__projects_get_200_response.go
- model__projects_post_201_response.go
- model__public_projects__slug__entries_get_200_response.go
- model__tokens_get_200_response.go
- model__tokens_post_201_response.go
- model__tokens_post_request.go
- model__user_get_200_response.go
- model__user_usage_get_200_response.go
- model_entry.go
- model_entry_input.go
- model_error.go
- model_new_token.go
- model_pagination_meta.go
- model_project.go
- model_project_input.go
- model_token_info.go
- model_usage.go
- model_usage_limits.go
- model_user.go
- model_user_plan.go
- model_validation_error.go
- response.go
- utils.go