Documentation
¶
Overview ¶
Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT.
Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT.
Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT.
Index ¶
- Variables
- func CacheExpires(r *http.Response) time.Time
- func IsNil(i interface{}) bool
- func NewConfiguration() *config.Configuration
- 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 APIResponse
- type ApiGetCostsForProjectRequest
- func (r ApiGetCostsForProjectRequest) Accept(accept GetCostsForProjectAcceptParameter) ApiGetCostsForProjectRequest
- func (r ApiGetCostsForProjectRequest) Depth(depth ListCostsForCustomerDepthParameter) ApiGetCostsForProjectRequest
- func (r ApiGetCostsForProjectRequest) Execute() (*ProjectCost, error)
- func (r ApiGetCostsForProjectRequest) From(from string) ApiGetCostsForProjectRequest
- func (r ApiGetCostsForProjectRequest) Granularity(granularity ListCostsForCustomerGranularityParameter) ApiGetCostsForProjectRequest
- func (r ApiGetCostsForProjectRequest) IncludeZeroCosts(includeZeroCosts bool) ApiGetCostsForProjectRequest
- func (r ApiGetCostsForProjectRequest) To(to string) ApiGetCostsForProjectRequest
- type ApiListCostsForCustomerRequest
- func (r ApiListCostsForCustomerRequest) Accept(accept ListCostsForCustomerAcceptParameter) ApiListCostsForCustomerRequest
- func (r ApiListCostsForCustomerRequest) Depth(depth ListCostsForCustomerDepthParameter) ApiListCostsForCustomerRequest
- func (r ApiListCostsForCustomerRequest) Execute() ([]ProjectCost, error)
- func (r ApiListCostsForCustomerRequest) From(from string) ApiListCostsForCustomerRequest
- func (r ApiListCostsForCustomerRequest) Granularity(granularity ListCostsForCustomerGranularityParameter) ApiListCostsForCustomerRequest
- func (r ApiListCostsForCustomerRequest) IncludeZeroCosts(includeZeroCosts bool) ApiListCostsForCustomerRequest
- func (r ApiListCostsForCustomerRequest) To(to string) ApiListCostsForCustomerRequest
- type ApiListCostsForResellerRequest
- func (r ApiListCostsForResellerRequest) Accept(accept ListCostsForResellerAcceptParameter) ApiListCostsForResellerRequest
- func (r ApiListCostsForResellerRequest) Depth(depth ListCostsForCustomerDepthParameter) ApiListCostsForResellerRequest
- func (r ApiListCostsForResellerRequest) Execute() ([]ProjectCost, error)
- func (r ApiListCostsForResellerRequest) From(from string) ApiListCostsForResellerRequest
- func (r ApiListCostsForResellerRequest) Granularity(granularity ListCostsForCustomerGranularityParameter) ApiListCostsForResellerRequest
- func (r ApiListCostsForResellerRequest) IncludeZeroCosts(includeZeroCosts bool) ApiListCostsForResellerRequest
- func (r ApiListCostsForResellerRequest) To(to string) ApiListCostsForResellerRequest
- type AuthErrorResponse
- func (o *AuthErrorResponse) GetError() string
- func (o *AuthErrorResponse) GetErrorOk() (*string, bool)
- func (o *AuthErrorResponse) GetMessage() string
- func (o *AuthErrorResponse) GetMessageOk() (*string, bool)
- func (o *AuthErrorResponse) GetPath() string
- func (o *AuthErrorResponse) GetPathOk() (*string, bool)
- func (o *AuthErrorResponse) GetStatus() int32
- func (o *AuthErrorResponse) GetStatusOk() (*int32, bool)
- func (o *AuthErrorResponse) GetTimeStamp() time.Time
- func (o *AuthErrorResponse) GetTimeStampOk() (*time.Time, bool)
- func (o AuthErrorResponse) MarshalJSON() ([]byte, error)
- func (o *AuthErrorResponse) SetError(v string)
- func (o *AuthErrorResponse) SetMessage(v string)
- func (o *AuthErrorResponse) SetPath(v string)
- func (o *AuthErrorResponse) SetStatus(v int32)
- func (o *AuthErrorResponse) SetTimeStamp(v time.Time)
- func (o AuthErrorResponse) ToMap() (map[string]interface{}, error)
- func (o *AuthErrorResponse) UnmarshalJSON(data []byte) (err error)
- type DefaultAPI
- type DefaultAPIService
- func (a *DefaultAPIService) GetCostsForProject(ctx context.Context, customerAccountId string, projectId string) ApiGetCostsForProjectRequest
- func (a *DefaultAPIService) GetCostsForProjectExecute(r ApiGetCostsForProjectRequest) (*ProjectCost, error)
- func (a *DefaultAPIService) ListCostsForCustomer(ctx context.Context, customerAccountId string) ApiListCostsForCustomerRequest
- func (a *DefaultAPIService) ListCostsForCustomerExecute(r ApiListCostsForCustomerRequest) ([]ProjectCost, error)
- func (a *DefaultAPIService) ListCostsForReseller(ctx context.Context, customerAccountId string) ApiListCostsForResellerRequest
- func (a *DefaultAPIService) ListCostsForResellerExecute(r ApiListCostsForResellerRequest) ([]ProjectCost, error)
- type DefaultAPIServiceMock
- func (a DefaultAPIServiceMock) GetCostsForProject(ctx context.Context, customerAccountId string, projectId string) ApiGetCostsForProjectRequest
- func (a DefaultAPIServiceMock) GetCostsForProjectExecute(r ApiGetCostsForProjectRequest) (*ProjectCost, error)
- func (a DefaultAPIServiceMock) ListCostsForCustomer(ctx context.Context, customerAccountId string) ApiListCostsForCustomerRequest
- func (a DefaultAPIServiceMock) ListCostsForCustomerExecute(r ApiListCostsForCustomerRequest) ([]ProjectCost, error)
- func (a DefaultAPIServiceMock) ListCostsForReseller(ctx context.Context, customerAccountId string) ApiListCostsForResellerRequest
- func (a DefaultAPIServiceMock) ListCostsForResellerExecute(r ApiListCostsForResellerRequest) ([]ProjectCost, error)
- type DetailedServiceCost
- func (o *DetailedServiceCost) GetReportData() []ReportData
- func (o *DetailedServiceCost) GetReportDataOk() ([]ReportData, bool)
- func (o *DetailedServiceCost) GetServiceCategoryName() string
- func (o *DetailedServiceCost) GetServiceCategoryNameOk() (*string, bool)
- func (o *DetailedServiceCost) GetServiceName() string
- func (o *DetailedServiceCost) GetServiceNameOk() (*string, bool)
- func (o *DetailedServiceCost) GetSku() string
- func (o *DetailedServiceCost) GetSkuOk() (*string, bool)
- func (o *DetailedServiceCost) GetTotalCharge() float64
- func (o *DetailedServiceCost) GetTotalChargeOk() (*float64, bool)
- func (o *DetailedServiceCost) GetTotalDiscount() float64
- func (o *DetailedServiceCost) GetTotalDiscountOk() (*float64, bool)
- func (o *DetailedServiceCost) GetTotalQuantity() int32
- func (o *DetailedServiceCost) GetTotalQuantityOk() (*int32, bool)
- func (o *DetailedServiceCost) GetUnitLabel() string
- func (o *DetailedServiceCost) GetUnitLabelOk() (*string, bool)
- func (o *DetailedServiceCost) HasReportData() bool
- func (o DetailedServiceCost) MarshalJSON() ([]byte, error)
- func (o *DetailedServiceCost) SetReportData(v []ReportData)
- func (o *DetailedServiceCost) SetServiceCategoryName(v string)
- func (o *DetailedServiceCost) SetServiceName(v string)
- func (o *DetailedServiceCost) SetSku(v string)
- func (o *DetailedServiceCost) SetTotalCharge(v float64)
- func (o *DetailedServiceCost) SetTotalDiscount(v float64)
- func (o *DetailedServiceCost) SetTotalQuantity(v int32)
- func (o *DetailedServiceCost) SetUnitLabel(v string)
- func (o DetailedServiceCost) ToMap() (map[string]interface{}, error)
- func (o *DetailedServiceCost) UnmarshalJSON(data []byte) (err error)
- type ErrorResponse
- func (o *ErrorResponse) GetMsg() string
- func (o *ErrorResponse) GetMsgOk() (*string, bool)
- func (o ErrorResponse) MarshalJSON() ([]byte, error)
- func (o *ErrorResponse) SetMsg(v string)
- func (o ErrorResponse) ToMap() (map[string]interface{}, error)
- func (o *ErrorResponse) UnmarshalJSON(data []byte) (err error)
- type GetCostsForProjectAcceptParameter
- type ListCostsForCustomerAcceptParameter
- type ListCostsForCustomerDepthParameter
- type ListCostsForCustomerGranularityParameter
- type ListCostsForResellerAcceptParameter
- type MappedNullable
- type NullableAuthErrorResponse
- func (v NullableAuthErrorResponse) Get() *AuthErrorResponse
- func (v NullableAuthErrorResponse) IsSet() bool
- func (v NullableAuthErrorResponse) MarshalJSON() ([]byte, error)
- func (v *NullableAuthErrorResponse) Set(val *AuthErrorResponse)
- func (v *NullableAuthErrorResponse) UnmarshalJSON(src []byte) error
- func (v *NullableAuthErrorResponse) Unset()
- type NullableBool
- type NullableDetailedServiceCost
- func (v NullableDetailedServiceCost) Get() *DetailedServiceCost
- func (v NullableDetailedServiceCost) IsSet() bool
- func (v NullableDetailedServiceCost) MarshalJSON() ([]byte, error)
- func (v *NullableDetailedServiceCost) Set(val *DetailedServiceCost)
- func (v *NullableDetailedServiceCost) UnmarshalJSON(src []byte) error
- func (v *NullableDetailedServiceCost) Unset()
- type NullableErrorResponse
- func (v NullableErrorResponse) Get() *ErrorResponse
- func (v NullableErrorResponse) IsSet() bool
- func (v NullableErrorResponse) MarshalJSON() ([]byte, error)
- func (v *NullableErrorResponse) Set(val *ErrorResponse)
- func (v *NullableErrorResponse) UnmarshalJSON(src []byte) error
- func (v *NullableErrorResponse) Unset()
- type NullableFloat32
- type NullableFloat64
- type NullableGetCostsForProjectAcceptParameter
- func (v NullableGetCostsForProjectAcceptParameter) Get() *GetCostsForProjectAcceptParameter
- func (v NullableGetCostsForProjectAcceptParameter) IsSet() bool
- func (v NullableGetCostsForProjectAcceptParameter) MarshalJSON() ([]byte, error)
- func (v *NullableGetCostsForProjectAcceptParameter) Set(val *GetCostsForProjectAcceptParameter)
- func (v *NullableGetCostsForProjectAcceptParameter) UnmarshalJSON(src []byte) error
- func (v *NullableGetCostsForProjectAcceptParameter) Unset()
- type NullableInt
- type NullableInt32
- type NullableInt64
- type NullableListCostsForCustomerAcceptParameter
- func (v NullableListCostsForCustomerAcceptParameter) Get() *ListCostsForCustomerAcceptParameter
- func (v NullableListCostsForCustomerAcceptParameter) IsSet() bool
- func (v NullableListCostsForCustomerAcceptParameter) MarshalJSON() ([]byte, error)
- func (v *NullableListCostsForCustomerAcceptParameter) Set(val *ListCostsForCustomerAcceptParameter)
- func (v *NullableListCostsForCustomerAcceptParameter) UnmarshalJSON(src []byte) error
- func (v *NullableListCostsForCustomerAcceptParameter) Unset()
- type NullableListCostsForCustomerDepthParameter
- func (v NullableListCostsForCustomerDepthParameter) Get() *ListCostsForCustomerDepthParameter
- func (v NullableListCostsForCustomerDepthParameter) IsSet() bool
- func (v NullableListCostsForCustomerDepthParameter) MarshalJSON() ([]byte, error)
- func (v *NullableListCostsForCustomerDepthParameter) Set(val *ListCostsForCustomerDepthParameter)
- func (v *NullableListCostsForCustomerDepthParameter) UnmarshalJSON(src []byte) error
- func (v *NullableListCostsForCustomerDepthParameter) Unset()
- type NullableListCostsForCustomerGranularityParameter
- func (v NullableListCostsForCustomerGranularityParameter) Get() *ListCostsForCustomerGranularityParameter
- func (v NullableListCostsForCustomerGranularityParameter) IsSet() bool
- func (v NullableListCostsForCustomerGranularityParameter) MarshalJSON() ([]byte, error)
- func (v *NullableListCostsForCustomerGranularityParameter) Set(val *ListCostsForCustomerGranularityParameter)
- func (v *NullableListCostsForCustomerGranularityParameter) UnmarshalJSON(src []byte) error
- func (v *NullableListCostsForCustomerGranularityParameter) Unset()
- type NullableListCostsForResellerAcceptParameter
- func (v NullableListCostsForResellerAcceptParameter) Get() *ListCostsForResellerAcceptParameter
- func (v NullableListCostsForResellerAcceptParameter) IsSet() bool
- func (v NullableListCostsForResellerAcceptParameter) MarshalJSON() ([]byte, error)
- func (v *NullableListCostsForResellerAcceptParameter) Set(val *ListCostsForResellerAcceptParameter)
- func (v *NullableListCostsForResellerAcceptParameter) UnmarshalJSON(src []byte) error
- func (v *NullableListCostsForResellerAcceptParameter) Unset()
- type NullableProjectCost
- func (v NullableProjectCost) Get() *ProjectCost
- func (v NullableProjectCost) IsSet() bool
- func (v NullableProjectCost) MarshalJSON() ([]byte, error)
- func (v *NullableProjectCost) Set(val *ProjectCost)
- func (v *NullableProjectCost) UnmarshalJSON(src []byte) error
- func (v *NullableProjectCost) Unset()
- type NullableProjectCostWithDetailedServices
- func (v NullableProjectCostWithDetailedServices) Get() *ProjectCostWithDetailedServices
- func (v NullableProjectCostWithDetailedServices) IsSet() bool
- func (v NullableProjectCostWithDetailedServices) MarshalJSON() ([]byte, error)
- func (v *NullableProjectCostWithDetailedServices) Set(val *ProjectCostWithDetailedServices)
- func (v *NullableProjectCostWithDetailedServices) UnmarshalJSON(src []byte) error
- func (v *NullableProjectCostWithDetailedServices) Unset()
- type NullableProjectCostWithReports
- func (v NullableProjectCostWithReports) Get() *ProjectCostWithReports
- func (v NullableProjectCostWithReports) IsSet() bool
- func (v NullableProjectCostWithReports) MarshalJSON() ([]byte, error)
- func (v *NullableProjectCostWithReports) Set(val *ProjectCostWithReports)
- func (v *NullableProjectCostWithReports) UnmarshalJSON(src []byte) error
- func (v *NullableProjectCostWithReports) Unset()
- type NullableProjectCostWithSummarizedServices
- func (v NullableProjectCostWithSummarizedServices) Get() *ProjectCostWithSummarizedServices
- func (v NullableProjectCostWithSummarizedServices) IsSet() bool
- func (v NullableProjectCostWithSummarizedServices) MarshalJSON() ([]byte, error)
- func (v *NullableProjectCostWithSummarizedServices) Set(val *ProjectCostWithSummarizedServices)
- func (v *NullableProjectCostWithSummarizedServices) UnmarshalJSON(src []byte) error
- func (v *NullableProjectCostWithSummarizedServices) Unset()
- type NullableReportData
- type NullableReportDataTimePeriod
- func (v NullableReportDataTimePeriod) Get() *ReportDataTimePeriod
- func (v NullableReportDataTimePeriod) IsSet() bool
- func (v NullableReportDataTimePeriod) MarshalJSON() ([]byte, error)
- func (v *NullableReportDataTimePeriod) Set(val *ReportDataTimePeriod)
- func (v *NullableReportDataTimePeriod) UnmarshalJSON(src []byte) error
- func (v *NullableReportDataTimePeriod) Unset()
- type NullableString
- type NullableSummarizedProjectCost
- func (v NullableSummarizedProjectCost) Get() *SummarizedProjectCost
- func (v NullableSummarizedProjectCost) IsSet() bool
- func (v NullableSummarizedProjectCost) MarshalJSON() ([]byte, error)
- func (v *NullableSummarizedProjectCost) Set(val *SummarizedProjectCost)
- func (v *NullableSummarizedProjectCost) UnmarshalJSON(src []byte) error
- func (v *NullableSummarizedProjectCost) Unset()
- type NullableSummarizedServiceCost
- func (v NullableSummarizedServiceCost) Get() *SummarizedServiceCost
- func (v NullableSummarizedServiceCost) IsSet() bool
- func (v NullableSummarizedServiceCost) MarshalJSON() ([]byte, error)
- func (v *NullableSummarizedServiceCost) Set(val *SummarizedServiceCost)
- func (v *NullableSummarizedServiceCost) UnmarshalJSON(src []byte) error
- func (v *NullableSummarizedServiceCost) Unset()
- type NullableTime
- type ProjectCost
- type ProjectCostWithDetailedServices
- func (o *ProjectCostWithDetailedServices) GetCustomerAccountId() string
- func (o *ProjectCostWithDetailedServices) GetCustomerAccountIdOk() (*string, bool)
- func (o *ProjectCostWithDetailedServices) GetProjectId() string
- func (o *ProjectCostWithDetailedServices) GetProjectIdOk() (*string, bool)
- func (o *ProjectCostWithDetailedServices) GetProjectName() string
- func (o *ProjectCostWithDetailedServices) GetProjectNameOk() (*string, bool)
- func (o *ProjectCostWithDetailedServices) GetServices() []DetailedServiceCost
- func (o *ProjectCostWithDetailedServices) GetServicesOk() ([]DetailedServiceCost, bool)
- func (o *ProjectCostWithDetailedServices) GetTotalCharge() float64
- func (o *ProjectCostWithDetailedServices) GetTotalChargeOk() (*float64, bool)
- func (o *ProjectCostWithDetailedServices) GetTotalDiscount() float64
- func (o *ProjectCostWithDetailedServices) GetTotalDiscountOk() (*float64, bool)
- func (o *ProjectCostWithDetailedServices) HasServices() bool
- func (o ProjectCostWithDetailedServices) MarshalJSON() ([]byte, error)
- func (o *ProjectCostWithDetailedServices) SetCustomerAccountId(v string)
- func (o *ProjectCostWithDetailedServices) SetProjectId(v string)
- func (o *ProjectCostWithDetailedServices) SetProjectName(v string)
- func (o *ProjectCostWithDetailedServices) SetServices(v []DetailedServiceCost)
- func (o *ProjectCostWithDetailedServices) SetTotalCharge(v float64)
- func (o *ProjectCostWithDetailedServices) SetTotalDiscount(v float64)
- func (o ProjectCostWithDetailedServices) ToMap() (map[string]interface{}, error)
- func (o *ProjectCostWithDetailedServices) UnmarshalJSON(data []byte) (err error)
- type ProjectCostWithReports
- func (o *ProjectCostWithReports) GetCustomerAccountId() string
- func (o *ProjectCostWithReports) GetCustomerAccountIdOk() (*string, bool)
- func (o *ProjectCostWithReports) GetProjectId() string
- func (o *ProjectCostWithReports) GetProjectIdOk() (*string, bool)
- func (o *ProjectCostWithReports) GetProjectName() string
- func (o *ProjectCostWithReports) GetProjectNameOk() (*string, bool)
- func (o *ProjectCostWithReports) GetReportData() []ReportData
- func (o *ProjectCostWithReports) GetReportDataOk() ([]ReportData, bool)
- func (o *ProjectCostWithReports) GetTotalCharge() float64
- func (o *ProjectCostWithReports) GetTotalChargeOk() (*float64, bool)
- func (o *ProjectCostWithReports) GetTotalDiscount() float64
- func (o *ProjectCostWithReports) GetTotalDiscountOk() (*float64, bool)
- func (o *ProjectCostWithReports) HasReportData() bool
- func (o ProjectCostWithReports) MarshalJSON() ([]byte, error)
- func (o *ProjectCostWithReports) SetCustomerAccountId(v string)
- func (o *ProjectCostWithReports) SetProjectId(v string)
- func (o *ProjectCostWithReports) SetProjectName(v string)
- func (o *ProjectCostWithReports) SetReportData(v []ReportData)
- func (o *ProjectCostWithReports) SetTotalCharge(v float64)
- func (o *ProjectCostWithReports) SetTotalDiscount(v float64)
- func (o ProjectCostWithReports) ToMap() (map[string]interface{}, error)
- func (o *ProjectCostWithReports) UnmarshalJSON(data []byte) (err error)
- type ProjectCostWithSummarizedServices
- func (o *ProjectCostWithSummarizedServices) GetCustomerAccountId() string
- func (o *ProjectCostWithSummarizedServices) GetCustomerAccountIdOk() (*string, bool)
- func (o *ProjectCostWithSummarizedServices) GetProjectId() string
- func (o *ProjectCostWithSummarizedServices) GetProjectIdOk() (*string, bool)
- func (o *ProjectCostWithSummarizedServices) GetProjectName() string
- func (o *ProjectCostWithSummarizedServices) GetProjectNameOk() (*string, bool)
- func (o *ProjectCostWithSummarizedServices) GetServices() []SummarizedServiceCost
- func (o *ProjectCostWithSummarizedServices) GetServicesOk() ([]SummarizedServiceCost, bool)
- func (o *ProjectCostWithSummarizedServices) GetTotalCharge() float64
- func (o *ProjectCostWithSummarizedServices) GetTotalChargeOk() (*float64, bool)
- func (o *ProjectCostWithSummarizedServices) GetTotalDiscount() float64
- func (o *ProjectCostWithSummarizedServices) GetTotalDiscountOk() (*float64, bool)
- func (o *ProjectCostWithSummarizedServices) HasServices() bool
- func (o ProjectCostWithSummarizedServices) MarshalJSON() ([]byte, error)
- func (o *ProjectCostWithSummarizedServices) SetCustomerAccountId(v string)
- func (o *ProjectCostWithSummarizedServices) SetProjectId(v string)
- func (o *ProjectCostWithSummarizedServices) SetProjectName(v string)
- func (o *ProjectCostWithSummarizedServices) SetServices(v []SummarizedServiceCost)
- func (o *ProjectCostWithSummarizedServices) SetTotalCharge(v float64)
- func (o *ProjectCostWithSummarizedServices) SetTotalDiscount(v float64)
- func (o ProjectCostWithSummarizedServices) ToMap() (map[string]interface{}, error)
- func (o *ProjectCostWithSummarizedServices) UnmarshalJSON(data []byte) (err error)
- type ReportData
- func (o *ReportData) GetCharge() float64
- func (o *ReportData) GetChargeOk() (*float64, bool)
- func (o *ReportData) GetDiscount() float64
- func (o *ReportData) GetDiscountOk() (*float64, bool)
- func (o *ReportData) GetQuantity() int32
- func (o *ReportData) GetQuantityOk() (*int32, bool)
- func (o *ReportData) GetTimePeriod() ReportDataTimePeriod
- func (o *ReportData) GetTimePeriodOk() (*ReportDataTimePeriod, bool)
- func (o ReportData) MarshalJSON() ([]byte, error)
- func (o *ReportData) SetCharge(v float64)
- func (o *ReportData) SetDiscount(v float64)
- func (o *ReportData) SetQuantity(v int32)
- func (o *ReportData) SetTimePeriod(v ReportDataTimePeriod)
- func (o ReportData) ToMap() (map[string]interface{}, error)
- func (o *ReportData) UnmarshalJSON(data []byte) (err error)
- type ReportDataTimePeriod
- func (o *ReportDataTimePeriod) GetEnd() string
- func (o *ReportDataTimePeriod) GetEndOk() (*string, bool)
- func (o *ReportDataTimePeriod) GetStart() string
- func (o *ReportDataTimePeriod) GetStartOk() (*string, bool)
- func (o *ReportDataTimePeriod) HasEnd() bool
- func (o *ReportDataTimePeriod) HasStart() bool
- func (o ReportDataTimePeriod) MarshalJSON() ([]byte, error)
- func (o *ReportDataTimePeriod) SetEnd(v string)
- func (o *ReportDataTimePeriod) SetStart(v string)
- func (o ReportDataTimePeriod) ToMap() (map[string]interface{}, error)
- func (o *ReportDataTimePeriod) UnmarshalJSON(data []byte) (err error)
- type SummarizedProjectCost
- func (o *SummarizedProjectCost) GetCustomerAccountId() string
- func (o *SummarizedProjectCost) GetCustomerAccountIdOk() (*string, bool)
- func (o *SummarizedProjectCost) GetProjectId() string
- func (o *SummarizedProjectCost) GetProjectIdOk() (*string, bool)
- func (o *SummarizedProjectCost) GetProjectName() string
- func (o *SummarizedProjectCost) GetProjectNameOk() (*string, bool)
- func (o *SummarizedProjectCost) GetTotalCharge() float64
- func (o *SummarizedProjectCost) GetTotalChargeOk() (*float64, bool)
- func (o *SummarizedProjectCost) GetTotalDiscount() float64
- func (o *SummarizedProjectCost) GetTotalDiscountOk() (*float64, bool)
- func (o SummarizedProjectCost) MarshalJSON() ([]byte, error)
- func (o *SummarizedProjectCost) SetCustomerAccountId(v string)
- func (o *SummarizedProjectCost) SetProjectId(v string)
- func (o *SummarizedProjectCost) SetProjectName(v string)
- func (o *SummarizedProjectCost) SetTotalCharge(v float64)
- func (o *SummarizedProjectCost) SetTotalDiscount(v float64)
- func (o SummarizedProjectCost) ToMap() (map[string]interface{}, error)
- func (o *SummarizedProjectCost) UnmarshalJSON(data []byte) (err error)
- type SummarizedServiceCost
- func (o *SummarizedServiceCost) GetCustomerAccountId() string
- func (o *SummarizedServiceCost) GetCustomerAccountIdOk() (*string, bool)
- func (o *SummarizedServiceCost) GetProjectId() string
- func (o *SummarizedServiceCost) GetProjectIdOk() (*string, bool)
- func (o *SummarizedServiceCost) GetProjectName() string
- func (o *SummarizedServiceCost) GetProjectNameOk() (*string, bool)
- func (o *SummarizedServiceCost) GetTotalCharge() float64
- func (o *SummarizedServiceCost) GetTotalChargeOk() (*float64, bool)
- func (o *SummarizedServiceCost) GetTotalDiscount() float64
- func (o *SummarizedServiceCost) GetTotalDiscountOk() (*float64, bool)
- func (o SummarizedServiceCost) MarshalJSON() ([]byte, error)
- func (o *SummarizedServiceCost) SetCustomerAccountId(v string)
- func (o *SummarizedServiceCost) SetProjectId(v string)
- func (o *SummarizedServiceCost) SetProjectName(v string)
- func (o *SummarizedServiceCost) SetTotalCharge(v float64)
- func (o *SummarizedServiceCost) SetTotalDiscount(v float64)
- func (o SummarizedServiceCost) ToMap() (map[string]interface{}, error)
- func (o *SummarizedServiceCost) UnmarshalJSON(data []byte) (err error)
Constants ¶
This section is empty.
Variables ¶
var ( JsonCheck = regexp.MustCompile(`(?i:(?:application|text)/(?:[^;]+\+)?json)`) XmlCheck = regexp.MustCompile(`(?i:(?:application|text)/(?:[^;]+\+)?xml)`) )
var AllowedGetCostsForProjectAcceptParameterEnumValues = []GetCostsForProjectAcceptParameter{
"application/json",
"text/csv",
"unknown_default_open_api",
}
All allowed values of GetCostsForProjectAcceptParameter enum
var AllowedListCostsForCustomerAcceptParameterEnumValues = []ListCostsForCustomerAcceptParameter{
"application/json",
"text/csv",
"unknown_default_open_api",
}
All allowed values of ListCostsForCustomerAcceptParameter enum
var AllowedListCostsForCustomerDepthParameterEnumValues = []ListCostsForCustomerDepthParameter{
"project",
"service",
"auto",
"unknown_default_open_api",
}
All allowed values of ListCostsForCustomerDepthParameter enum
var AllowedListCostsForCustomerGranularityParameterEnumValues = []ListCostsForCustomerGranularityParameter{
"daily",
"weekly",
"monthly",
"yearly",
"none",
"unknown_default_open_api",
}
All allowed values of ListCostsForCustomerGranularityParameter enum
var AllowedListCostsForResellerAcceptParameterEnumValues = []ListCostsForResellerAcceptParameter{
"application/json",
"text/csv",
"unknown_default_open_api",
}
All allowed values of ListCostsForResellerAcceptParameter enum
Functions ¶
func CacheExpires ¶
CacheExpires helper function to determine remaining time before repeating a request.
func NewConfiguration ¶
func NewConfiguration() *config.Configuration
NewConfiguration returns a new Configuration object
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 {
DefaultAPI DefaultAPI
// contains filtered or unexported fields
}
APIClient manages communication with the STACKIT Cost API API v3.0 In most cases there should be only one, shared, APIClient.
func NewAPIClient ¶
func NewAPIClient(opts ...config.ConfigurationOption) (*APIClient, error)
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() *config.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 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 ApiGetCostsForProjectRequest ¶
type ApiGetCostsForProjectRequest struct {
ApiService DefaultAPI
// contains filtered or unexported fields
}
func (ApiGetCostsForProjectRequest) Accept ¶
func (r ApiGetCostsForProjectRequest) Accept(accept GetCostsForProjectAcceptParameter) ApiGetCostsForProjectRequest
Desired content type
func (ApiGetCostsForProjectRequest) Depth ¶
func (r ApiGetCostsForProjectRequest) Depth(depth ListCostsForCustomerDepthParameter) ApiGetCostsForProjectRequest
Depth of desired cost information. \"project\" provides costs grouped by project, without services. \"service\" provides costs separated on service level.
func (ApiGetCostsForProjectRequest) Execute ¶
func (r ApiGetCostsForProjectRequest) Execute() (*ProjectCost, error)
func (ApiGetCostsForProjectRequest) From ¶
func (r ApiGetCostsForProjectRequest) From(from string) ApiGetCostsForProjectRequest
Inclusive start date of the selection range. Internally, usages are recorded in UTC. This means all usages starting on and after 00:00:00 UTC on the specified date are included.
func (ApiGetCostsForProjectRequest) Granularity ¶
func (r ApiGetCostsForProjectRequest) Granularity(granularity ListCostsForCustomerGranularityParameter) ApiGetCostsForProjectRequest
Define granularity of costs – Default is \"none\" which does NOT include detailed report data. If \"monthly\", \"weekly\" or \"yearly\" is requested, the \"from\" parameter SHOULD be the first day and the \"to\" parameter SHOULD be the last day of that time period. If not, they are normalized accordingly. If \"daily\" is requested, the date range defined by \"from\" and \"to\" MUST NOT be longer than 92 days.
func (ApiGetCostsForProjectRequest) IncludeZeroCosts ¶
func (r ApiGetCostsForProjectRequest) IncludeZeroCosts(includeZeroCosts bool) ApiGetCostsForProjectRequest
Whether costs of 0 should be included in the response
func (ApiGetCostsForProjectRequest) To ¶
func (r ApiGetCostsForProjectRequest) To(to string) ApiGetCostsForProjectRequest
Inclusive end date of the selection range. Internally, usages are recorded in UTC. This means all usages starting up to and including 23:59:59 UTC on the specified date are included.
type ApiListCostsForCustomerRequest ¶
type ApiListCostsForCustomerRequest struct {
ApiService DefaultAPI
// contains filtered or unexported fields
}
func (ApiListCostsForCustomerRequest) Accept ¶
func (r ApiListCostsForCustomerRequest) Accept(accept ListCostsForCustomerAcceptParameter) ApiListCostsForCustomerRequest
Desired content type
func (ApiListCostsForCustomerRequest) Depth ¶
func (r ApiListCostsForCustomerRequest) Depth(depth ListCostsForCustomerDepthParameter) ApiListCostsForCustomerRequest
Depth of desired cost information. \"project\" provides costs grouped by project, without services. \"service\" provides costs separated on service level.
func (ApiListCostsForCustomerRequest) Execute ¶
func (r ApiListCostsForCustomerRequest) Execute() ([]ProjectCost, error)
func (ApiListCostsForCustomerRequest) From ¶
func (r ApiListCostsForCustomerRequest) From(from string) ApiListCostsForCustomerRequest
Inclusive start date of the selection range. Internally, usages are recorded in UTC. This means all usages starting on and after 00:00:00 UTC on the specified date are included.
func (ApiListCostsForCustomerRequest) Granularity ¶
func (r ApiListCostsForCustomerRequest) Granularity(granularity ListCostsForCustomerGranularityParameter) ApiListCostsForCustomerRequest
Define granularity of costs – Default is \"none\" which does NOT include detailed report data. If \"monthly\", \"weekly\" or \"yearly\" is requested, the \"from\" parameter SHOULD be the first day and the \"to\" parameter SHOULD be the last day of that time period. If not, they are normalized accordingly. If \"daily\" is requested, the date range defined by \"from\" and \"to\" MUST NOT be longer than 92 days.
func (ApiListCostsForCustomerRequest) IncludeZeroCosts ¶
func (r ApiListCostsForCustomerRequest) IncludeZeroCosts(includeZeroCosts bool) ApiListCostsForCustomerRequest
Whether costs of 0 should be included in the response
func (ApiListCostsForCustomerRequest) To ¶
func (r ApiListCostsForCustomerRequest) To(to string) ApiListCostsForCustomerRequest
Inclusive end date of the selection range. Internally, usages are recorded in UTC. This means all usages starting up to and including 23:59:59 UTC on the specified date are included.
type ApiListCostsForResellerRequest ¶
type ApiListCostsForResellerRequest struct {
ApiService DefaultAPI
// contains filtered or unexported fields
}
func (ApiListCostsForResellerRequest) Accept ¶
func (r ApiListCostsForResellerRequest) Accept(accept ListCostsForResellerAcceptParameter) ApiListCostsForResellerRequest
Desired content type
func (ApiListCostsForResellerRequest) Depth ¶
func (r ApiListCostsForResellerRequest) Depth(depth ListCostsForCustomerDepthParameter) ApiListCostsForResellerRequest
Depth of desired cost information. \"project\" provides costs grouped by project, without services. \"service\" provides costs separated on service level.
func (ApiListCostsForResellerRequest) Execute ¶
func (r ApiListCostsForResellerRequest) Execute() ([]ProjectCost, error)
func (ApiListCostsForResellerRequest) From ¶
func (r ApiListCostsForResellerRequest) From(from string) ApiListCostsForResellerRequest
Inclusive start date of the selection range. Internally, usages are recorded in UTC. This means all usages starting on and after 00:00:00 UTC on the specified date are included.
func (ApiListCostsForResellerRequest) Granularity ¶
func (r ApiListCostsForResellerRequest) Granularity(granularity ListCostsForCustomerGranularityParameter) ApiListCostsForResellerRequest
Define granularity of costs – Default is \"none\" which does NOT include detailed report data. If \"monthly\", \"weekly\" or \"yearly\" is requested, the \"from\" parameter SHOULD be the first day and the \"to\" parameter SHOULD be the last day of that time period. If not, they are normalized accordingly. If \"daily\" is requested, the date range defined by \"from\" and \"to\" MUST NOT be longer than 92 days.
func (ApiListCostsForResellerRequest) IncludeZeroCosts ¶
func (r ApiListCostsForResellerRequest) IncludeZeroCosts(includeZeroCosts bool) ApiListCostsForResellerRequest
Whether costs of 0 should be included in the response
func (ApiListCostsForResellerRequest) To ¶
func (r ApiListCostsForResellerRequest) To(to string) ApiListCostsForResellerRequest
Inclusive end date of the selection range. Internally, usages are recorded in UTC. This means all usages starting up to and including 23:59:59 UTC on the specified date are included.
type AuthErrorResponse ¶ added in v0.2.0
type AuthErrorResponse struct {
Error string `json:"error"`
Message string `json:"message"`
Path string `json:"path"`
Status int32 `json:"status"`
TimeStamp time.Time `json:"timeStamp"`
AdditionalProperties map[string]interface{}
}
AuthErrorResponse struct for AuthErrorResponse
func NewAuthErrorResponse ¶ added in v0.2.0
func NewAuthErrorResponse(error_ string, message string, path string, status int32, timeStamp time.Time) *AuthErrorResponse
NewAuthErrorResponse instantiates a new AuthErrorResponse 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 NewAuthErrorResponseWithDefaults ¶ added in v0.2.0
func NewAuthErrorResponseWithDefaults() *AuthErrorResponse
NewAuthErrorResponseWithDefaults instantiates a new AuthErrorResponse 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 (*AuthErrorResponse) GetError ¶ added in v0.2.0
func (o *AuthErrorResponse) GetError() string
GetError returns the Error field value
func (*AuthErrorResponse) GetErrorOk ¶ added in v0.2.0
func (o *AuthErrorResponse) GetErrorOk() (*string, bool)
GetErrorOk returns a tuple with the Error field value and a boolean to check if the value has been set.
func (*AuthErrorResponse) GetMessage ¶ added in v0.2.0
func (o *AuthErrorResponse) GetMessage() string
GetMessage returns the Message field value
func (*AuthErrorResponse) GetMessageOk ¶ added in v0.2.0
func (o *AuthErrorResponse) GetMessageOk() (*string, bool)
GetMessageOk returns a tuple with the Message field value and a boolean to check if the value has been set.
func (*AuthErrorResponse) GetPath ¶ added in v0.2.0
func (o *AuthErrorResponse) GetPath() string
GetPath returns the Path field value
func (*AuthErrorResponse) GetPathOk ¶ added in v0.2.0
func (o *AuthErrorResponse) GetPathOk() (*string, bool)
GetPathOk returns a tuple with the Path field value and a boolean to check if the value has been set.
func (*AuthErrorResponse) GetStatus ¶ added in v0.2.0
func (o *AuthErrorResponse) GetStatus() int32
GetStatus returns the Status field value
func (*AuthErrorResponse) GetStatusOk ¶ added in v0.2.0
func (o *AuthErrorResponse) GetStatusOk() (*int32, bool)
GetStatusOk returns a tuple with the Status field value and a boolean to check if the value has been set.
func (*AuthErrorResponse) GetTimeStamp ¶ added in v0.2.0
func (o *AuthErrorResponse) GetTimeStamp() time.Time
GetTimeStamp returns the TimeStamp field value
func (*AuthErrorResponse) GetTimeStampOk ¶ added in v0.2.0
func (o *AuthErrorResponse) GetTimeStampOk() (*time.Time, bool)
GetTimeStampOk returns a tuple with the TimeStamp field value and a boolean to check if the value has been set.
func (AuthErrorResponse) MarshalJSON ¶ added in v0.2.0
func (o AuthErrorResponse) MarshalJSON() ([]byte, error)
func (*AuthErrorResponse) SetError ¶ added in v0.2.0
func (o *AuthErrorResponse) SetError(v string)
SetError sets field value
func (*AuthErrorResponse) SetMessage ¶ added in v0.2.0
func (o *AuthErrorResponse) SetMessage(v string)
SetMessage sets field value
func (*AuthErrorResponse) SetPath ¶ added in v0.2.0
func (o *AuthErrorResponse) SetPath(v string)
SetPath sets field value
func (*AuthErrorResponse) SetStatus ¶ added in v0.2.0
func (o *AuthErrorResponse) SetStatus(v int32)
SetStatus sets field value
func (*AuthErrorResponse) SetTimeStamp ¶ added in v0.2.0
func (o *AuthErrorResponse) SetTimeStamp(v time.Time)
SetTimeStamp sets field value
func (AuthErrorResponse) ToMap ¶ added in v0.2.0
func (o AuthErrorResponse) ToMap() (map[string]interface{}, error)
func (*AuthErrorResponse) UnmarshalJSON ¶ added in v0.2.0
func (o *AuthErrorResponse) UnmarshalJSON(data []byte) (err error)
type DefaultAPI ¶
type DefaultAPI interface {
/*
GetCostsForProject V3 Costs for a certain project
Get costs for a certain project in a customer account
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param customerAccountId ID of a customer account
@param projectId ID of a project
@return ApiGetCostsForProjectRequest
*/
GetCostsForProject(ctx context.Context, customerAccountId string, projectId string) ApiGetCostsForProjectRequest
// GetCostsForProjectExecute executes the request
// @return ProjectCost
GetCostsForProjectExecute(r ApiGetCostsForProjectRequest) (*ProjectCost, error)
/*
ListCostsForCustomer V3 Costs for all projects
Get costs for all projects in a customer account
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param customerAccountId ID of a customer account
@return ApiListCostsForCustomerRequest
*/
ListCostsForCustomer(ctx context.Context, customerAccountId string) ApiListCostsForCustomerRequest
// ListCostsForCustomerExecute executes the request
// @return []ProjectCost
ListCostsForCustomerExecute(r ApiListCostsForCustomerRequest) ([]ProjectCost, error)
/*
ListCostsForReseller V3 Costs for all projects of all related sub-customers
Get costs for all projects of all related sub-customer accounts
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param customerAccountId ID of a customer account
@return ApiListCostsForResellerRequest
*/
ListCostsForReseller(ctx context.Context, customerAccountId string) ApiListCostsForResellerRequest
// ListCostsForResellerExecute executes the request
// @return []ProjectCost
ListCostsForResellerExecute(r ApiListCostsForResellerRequest) ([]ProjectCost, error)
}
type DefaultAPIService ¶
type DefaultAPIService service
DefaultAPIService DefaultAPI service
func (*DefaultAPIService) GetCostsForProject ¶
func (a *DefaultAPIService) GetCostsForProject(ctx context.Context, customerAccountId string, projectId string) ApiGetCostsForProjectRequest
GetCostsForProject V3 Costs for a certain project
Get costs for a certain project in a customer account
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param customerAccountId ID of a customer account @param projectId ID of a project @return ApiGetCostsForProjectRequest
func (*DefaultAPIService) GetCostsForProjectExecute ¶
func (a *DefaultAPIService) GetCostsForProjectExecute(r ApiGetCostsForProjectRequest) (*ProjectCost, error)
Execute executes the request
@return ProjectCost
func (*DefaultAPIService) ListCostsForCustomer ¶
func (a *DefaultAPIService) ListCostsForCustomer(ctx context.Context, customerAccountId string) ApiListCostsForCustomerRequest
ListCostsForCustomer V3 Costs for all projects
Get costs for all projects in a customer account
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param customerAccountId ID of a customer account @return ApiListCostsForCustomerRequest
func (*DefaultAPIService) ListCostsForCustomerExecute ¶
func (a *DefaultAPIService) ListCostsForCustomerExecute(r ApiListCostsForCustomerRequest) ([]ProjectCost, error)
Execute executes the request
@return []ProjectCost
func (*DefaultAPIService) ListCostsForReseller ¶
func (a *DefaultAPIService) ListCostsForReseller(ctx context.Context, customerAccountId string) ApiListCostsForResellerRequest
ListCostsForReseller V3 Costs for all projects of all related sub-customers
Get costs for all projects of all related sub-customer accounts
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param customerAccountId ID of a customer account @return ApiListCostsForResellerRequest
func (*DefaultAPIService) ListCostsForResellerExecute ¶
func (a *DefaultAPIService) ListCostsForResellerExecute(r ApiListCostsForResellerRequest) ([]ProjectCost, error)
Execute executes the request
@return []ProjectCost
type DefaultAPIServiceMock ¶
type DefaultAPIServiceMock struct {
// GetCostsForProjectExecuteMock can be populated to implement the behavior of the GetCostsForProjectExecute function of this mock
GetCostsForProjectExecuteMock *func(r ApiGetCostsForProjectRequest) (*ProjectCost, error)
// ListCostsForCustomerExecuteMock can be populated to implement the behavior of the ListCostsForCustomerExecute function of this mock
ListCostsForCustomerExecuteMock *func(r ApiListCostsForCustomerRequest) ([]ProjectCost, error)
// ListCostsForResellerExecuteMock can be populated to implement the behavior of the ListCostsForResellerExecute function of this mock
ListCostsForResellerExecuteMock *func(r ApiListCostsForResellerRequest) ([]ProjectCost, error)
}
DefaultAPIServiceMock is meant to be used for testing only as a replacement for DefaultAPIService. By default all FooExecute() implementations are a no-op. Behavior of the mock can be customized by populating the callbacks in this struct.
func (DefaultAPIServiceMock) GetCostsForProject ¶
func (a DefaultAPIServiceMock) GetCostsForProject(ctx context.Context, customerAccountId string, projectId string) ApiGetCostsForProjectRequest
func (DefaultAPIServiceMock) GetCostsForProjectExecute ¶
func (a DefaultAPIServiceMock) GetCostsForProjectExecute(r ApiGetCostsForProjectRequest) (*ProjectCost, error)
GetCostsForProjectExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the GetCostsForProjectExecuteMock field in the DefaultAPIServiceMock struct.
func (DefaultAPIServiceMock) ListCostsForCustomer ¶
func (a DefaultAPIServiceMock) ListCostsForCustomer(ctx context.Context, customerAccountId string) ApiListCostsForCustomerRequest
func (DefaultAPIServiceMock) ListCostsForCustomerExecute ¶
func (a DefaultAPIServiceMock) ListCostsForCustomerExecute(r ApiListCostsForCustomerRequest) ([]ProjectCost, error)
ListCostsForCustomerExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the ListCostsForCustomerExecuteMock field in the DefaultAPIServiceMock struct.
func (DefaultAPIServiceMock) ListCostsForReseller ¶
func (a DefaultAPIServiceMock) ListCostsForReseller(ctx context.Context, customerAccountId string) ApiListCostsForResellerRequest
func (DefaultAPIServiceMock) ListCostsForResellerExecute ¶
func (a DefaultAPIServiceMock) ListCostsForResellerExecute(r ApiListCostsForResellerRequest) ([]ProjectCost, error)
ListCostsForResellerExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the ListCostsForResellerExecuteMock field in the DefaultAPIServiceMock struct.
type DetailedServiceCost ¶
type DetailedServiceCost struct {
// Detailed service costs which are ONLY included if granularity is provided
ReportData []ReportData `json:"reportData,omitempty"`
// Service category name
ServiceCategoryName string `json:"serviceCategoryName"`
// Name of the service
ServiceName string `json:"serviceName"`
// Service key
Sku string `json:"sku"`
// Total charge (including discounts) for all services and the whole requested date range (value in cents)
TotalCharge float64 `json:"totalCharge"`
// Total discount for all services and the whole requested date range (value in cents)
TotalDiscount float64 `json:"totalDiscount"`
// Total quantity
TotalQuantity int32 `json:"totalQuantity"`
// Label for unit
UnitLabel string `json:"unitLabel"`
AdditionalProperties map[string]interface{}
}
DetailedServiceCost Costs for a single service
func NewDetailedServiceCost ¶
func NewDetailedServiceCost(serviceCategoryName string, serviceName string, sku string, totalCharge float64, totalDiscount float64, totalQuantity int32, unitLabel string) *DetailedServiceCost
NewDetailedServiceCost instantiates a new DetailedServiceCost 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 NewDetailedServiceCostWithDefaults ¶
func NewDetailedServiceCostWithDefaults() *DetailedServiceCost
NewDetailedServiceCostWithDefaults instantiates a new DetailedServiceCost 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 (*DetailedServiceCost) GetReportData ¶
func (o *DetailedServiceCost) GetReportData() []ReportData
GetReportData returns the ReportData field value if set, zero value otherwise.
func (*DetailedServiceCost) GetReportDataOk ¶
func (o *DetailedServiceCost) GetReportDataOk() ([]ReportData, bool)
GetReportDataOk returns a tuple with the ReportData field value if set, nil otherwise and a boolean to check if the value has been set.
func (*DetailedServiceCost) GetServiceCategoryName ¶
func (o *DetailedServiceCost) GetServiceCategoryName() string
GetServiceCategoryName returns the ServiceCategoryName field value
func (*DetailedServiceCost) GetServiceCategoryNameOk ¶
func (o *DetailedServiceCost) GetServiceCategoryNameOk() (*string, bool)
GetServiceCategoryNameOk returns a tuple with the ServiceCategoryName field value and a boolean to check if the value has been set.
func (*DetailedServiceCost) GetServiceName ¶
func (o *DetailedServiceCost) GetServiceName() string
GetServiceName returns the ServiceName field value
func (*DetailedServiceCost) GetServiceNameOk ¶
func (o *DetailedServiceCost) GetServiceNameOk() (*string, bool)
GetServiceNameOk returns a tuple with the ServiceName field value and a boolean to check if the value has been set.
func (*DetailedServiceCost) GetSku ¶
func (o *DetailedServiceCost) GetSku() string
GetSku returns the Sku field value
func (*DetailedServiceCost) GetSkuOk ¶
func (o *DetailedServiceCost) GetSkuOk() (*string, bool)
GetSkuOk returns a tuple with the Sku field value and a boolean to check if the value has been set.
func (*DetailedServiceCost) GetTotalCharge ¶
func (o *DetailedServiceCost) GetTotalCharge() float64
GetTotalCharge returns the TotalCharge field value
func (*DetailedServiceCost) GetTotalChargeOk ¶
func (o *DetailedServiceCost) GetTotalChargeOk() (*float64, bool)
GetTotalChargeOk returns a tuple with the TotalCharge field value and a boolean to check if the value has been set.
func (*DetailedServiceCost) GetTotalDiscount ¶
func (o *DetailedServiceCost) GetTotalDiscount() float64
GetTotalDiscount returns the TotalDiscount field value
func (*DetailedServiceCost) GetTotalDiscountOk ¶
func (o *DetailedServiceCost) GetTotalDiscountOk() (*float64, bool)
GetTotalDiscountOk returns a tuple with the TotalDiscount field value and a boolean to check if the value has been set.
func (*DetailedServiceCost) GetTotalQuantity ¶
func (o *DetailedServiceCost) GetTotalQuantity() int32
GetTotalQuantity returns the TotalQuantity field value
func (*DetailedServiceCost) GetTotalQuantityOk ¶
func (o *DetailedServiceCost) GetTotalQuantityOk() (*int32, bool)
GetTotalQuantityOk returns a tuple with the TotalQuantity field value and a boolean to check if the value has been set.
func (*DetailedServiceCost) GetUnitLabel ¶
func (o *DetailedServiceCost) GetUnitLabel() string
GetUnitLabel returns the UnitLabel field value
func (*DetailedServiceCost) GetUnitLabelOk ¶
func (o *DetailedServiceCost) GetUnitLabelOk() (*string, bool)
GetUnitLabelOk returns a tuple with the UnitLabel field value and a boolean to check if the value has been set.
func (*DetailedServiceCost) HasReportData ¶
func (o *DetailedServiceCost) HasReportData() bool
HasReportData returns a boolean if a field has been set.
func (DetailedServiceCost) MarshalJSON ¶
func (o DetailedServiceCost) MarshalJSON() ([]byte, error)
func (*DetailedServiceCost) SetReportData ¶
func (o *DetailedServiceCost) SetReportData(v []ReportData)
SetReportData gets a reference to the given []ReportData and assigns it to the ReportData field.
func (*DetailedServiceCost) SetServiceCategoryName ¶
func (o *DetailedServiceCost) SetServiceCategoryName(v string)
SetServiceCategoryName sets field value
func (*DetailedServiceCost) SetServiceName ¶
func (o *DetailedServiceCost) SetServiceName(v string)
SetServiceName sets field value
func (*DetailedServiceCost) SetSku ¶
func (o *DetailedServiceCost) SetSku(v string)
SetSku sets field value
func (*DetailedServiceCost) SetTotalCharge ¶
func (o *DetailedServiceCost) SetTotalCharge(v float64)
SetTotalCharge sets field value
func (*DetailedServiceCost) SetTotalDiscount ¶
func (o *DetailedServiceCost) SetTotalDiscount(v float64)
SetTotalDiscount sets field value
func (*DetailedServiceCost) SetTotalQuantity ¶
func (o *DetailedServiceCost) SetTotalQuantity(v int32)
SetTotalQuantity sets field value
func (*DetailedServiceCost) SetUnitLabel ¶
func (o *DetailedServiceCost) SetUnitLabel(v string)
SetUnitLabel sets field value
func (DetailedServiceCost) ToMap ¶
func (o DetailedServiceCost) ToMap() (map[string]interface{}, error)
func (*DetailedServiceCost) UnmarshalJSON ¶
func (o *DetailedServiceCost) UnmarshalJSON(data []byte) (err error)
type ErrorResponse ¶ added in v0.2.0
ErrorResponse struct for ErrorResponse
func NewErrorResponse ¶ added in v0.2.0
func NewErrorResponse(msg string) *ErrorResponse
NewErrorResponse instantiates a new ErrorResponse 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 NewErrorResponseWithDefaults ¶ added in v0.2.0
func NewErrorResponseWithDefaults() *ErrorResponse
NewErrorResponseWithDefaults instantiates a new ErrorResponse 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 (*ErrorResponse) GetMsg ¶ added in v0.2.0
func (o *ErrorResponse) GetMsg() string
GetMsg returns the Msg field value
func (*ErrorResponse) GetMsgOk ¶ added in v0.2.0
func (o *ErrorResponse) GetMsgOk() (*string, bool)
GetMsgOk returns a tuple with the Msg field value and a boolean to check if the value has been set.
func (ErrorResponse) MarshalJSON ¶ added in v0.2.0
func (o ErrorResponse) MarshalJSON() ([]byte, error)
func (*ErrorResponse) SetMsg ¶ added in v0.2.0
func (o *ErrorResponse) SetMsg(v string)
SetMsg sets field value
func (ErrorResponse) ToMap ¶ added in v0.2.0
func (o ErrorResponse) ToMap() (map[string]interface{}, error)
func (*ErrorResponse) UnmarshalJSON ¶ added in v0.2.0
func (o *ErrorResponse) UnmarshalJSON(data []byte) (err error)
type GetCostsForProjectAcceptParameter ¶ added in v0.4.0
type GetCostsForProjectAcceptParameter string
GetCostsForProjectAcceptParameter the model 'GetCostsForProjectAcceptParameter'
const ( GETCOSTSFORPROJECTACCEPTPARAMETER_APPLICATION_JSON GetCostsForProjectAcceptParameter = "application/json" GETCOSTSFORPROJECTACCEPTPARAMETER_TEXT_CSV GetCostsForProjectAcceptParameter = "text/csv" GETCOSTSFORPROJECTACCEPTPARAMETER_UNKNOWN_DEFAULT_OPEN_API GetCostsForProjectAcceptParameter = "unknown_default_open_api" )
List of GetCostsForProject_Accept_parameter
func NewGetCostsForProjectAcceptParameterFromValue ¶ added in v0.4.0
func NewGetCostsForProjectAcceptParameterFromValue(v string) (*GetCostsForProjectAcceptParameter, error)
NewGetCostsForProjectAcceptParameterFromValue returns a pointer to a valid GetCostsForProjectAcceptParameter for the value passed as argument, or an error if the value passed is not allowed by the enum
func (GetCostsForProjectAcceptParameter) IsValid ¶ added in v0.4.0
func (v GetCostsForProjectAcceptParameter) IsValid() bool
IsValid return true if the value is valid for the enum, false otherwise
func (GetCostsForProjectAcceptParameter) Ptr ¶ added in v0.4.0
func (v GetCostsForProjectAcceptParameter) Ptr() *GetCostsForProjectAcceptParameter
Ptr returns reference to GetCostsForProject_Accept_parameter value
func (*GetCostsForProjectAcceptParameter) UnmarshalJSON ¶ added in v0.4.0
func (v *GetCostsForProjectAcceptParameter) UnmarshalJSON(src []byte) error
type ListCostsForCustomerAcceptParameter ¶ added in v0.4.0
type ListCostsForCustomerAcceptParameter string
ListCostsForCustomerAcceptParameter the model 'ListCostsForCustomerAcceptParameter'
const ( LISTCOSTSFORCUSTOMERACCEPTPARAMETER_APPLICATION_JSON ListCostsForCustomerAcceptParameter = "application/json" LISTCOSTSFORCUSTOMERACCEPTPARAMETER_TEXT_CSV ListCostsForCustomerAcceptParameter = "text/csv" LISTCOSTSFORCUSTOMERACCEPTPARAMETER_UNKNOWN_DEFAULT_OPEN_API ListCostsForCustomerAcceptParameter = "unknown_default_open_api" )
List of ListCostsForCustomer_Accept_parameter
func NewListCostsForCustomerAcceptParameterFromValue ¶ added in v0.4.0
func NewListCostsForCustomerAcceptParameterFromValue(v string) (*ListCostsForCustomerAcceptParameter, error)
NewListCostsForCustomerAcceptParameterFromValue returns a pointer to a valid ListCostsForCustomerAcceptParameter for the value passed as argument, or an error if the value passed is not allowed by the enum
func (ListCostsForCustomerAcceptParameter) IsValid ¶ added in v0.4.0
func (v ListCostsForCustomerAcceptParameter) IsValid() bool
IsValid return true if the value is valid for the enum, false otherwise
func (ListCostsForCustomerAcceptParameter) Ptr ¶ added in v0.4.0
Ptr returns reference to ListCostsForCustomer_Accept_parameter value
func (*ListCostsForCustomerAcceptParameter) UnmarshalJSON ¶ added in v0.4.0
func (v *ListCostsForCustomerAcceptParameter) UnmarshalJSON(src []byte) error
type ListCostsForCustomerDepthParameter ¶ added in v0.4.0
type ListCostsForCustomerDepthParameter string
ListCostsForCustomerDepthParameter the model 'ListCostsForCustomerDepthParameter'
const ( LISTCOSTSFORCUSTOMERDEPTHPARAMETER_PROJECT ListCostsForCustomerDepthParameter = "project" LISTCOSTSFORCUSTOMERDEPTHPARAMETER_SERVICE ListCostsForCustomerDepthParameter = "service" LISTCOSTSFORCUSTOMERDEPTHPARAMETER_AUTO ListCostsForCustomerDepthParameter = "auto" LISTCOSTSFORCUSTOMERDEPTHPARAMETER_UNKNOWN_DEFAULT_OPEN_API ListCostsForCustomerDepthParameter = "unknown_default_open_api" )
List of ListCostsForCustomer_depth_parameter
func NewListCostsForCustomerDepthParameterFromValue ¶ added in v0.4.0
func NewListCostsForCustomerDepthParameterFromValue(v string) (*ListCostsForCustomerDepthParameter, error)
NewListCostsForCustomerDepthParameterFromValue returns a pointer to a valid ListCostsForCustomerDepthParameter for the value passed as argument, or an error if the value passed is not allowed by the enum
func (ListCostsForCustomerDepthParameter) IsValid ¶ added in v0.4.0
func (v ListCostsForCustomerDepthParameter) IsValid() bool
IsValid return true if the value is valid for the enum, false otherwise
func (ListCostsForCustomerDepthParameter) Ptr ¶ added in v0.4.0
func (v ListCostsForCustomerDepthParameter) Ptr() *ListCostsForCustomerDepthParameter
Ptr returns reference to ListCostsForCustomer_depth_parameter value
func (*ListCostsForCustomerDepthParameter) UnmarshalJSON ¶ added in v0.4.0
func (v *ListCostsForCustomerDepthParameter) UnmarshalJSON(src []byte) error
type ListCostsForCustomerGranularityParameter ¶ added in v0.4.0
type ListCostsForCustomerGranularityParameter string
ListCostsForCustomerGranularityParameter the model 'ListCostsForCustomerGranularityParameter'
const ( LISTCOSTSFORCUSTOMERGRANULARITYPARAMETER_DAILY ListCostsForCustomerGranularityParameter = "daily" LISTCOSTSFORCUSTOMERGRANULARITYPARAMETER_WEEKLY ListCostsForCustomerGranularityParameter = "weekly" LISTCOSTSFORCUSTOMERGRANULARITYPARAMETER_MONTHLY ListCostsForCustomerGranularityParameter = "monthly" LISTCOSTSFORCUSTOMERGRANULARITYPARAMETER_YEARLY ListCostsForCustomerGranularityParameter = "yearly" LISTCOSTSFORCUSTOMERGRANULARITYPARAMETER_NONE ListCostsForCustomerGranularityParameter = "none" LISTCOSTSFORCUSTOMERGRANULARITYPARAMETER_UNKNOWN_DEFAULT_OPEN_API ListCostsForCustomerGranularityParameter = "unknown_default_open_api" )
List of ListCostsForCustomer_granularity_parameter
func NewListCostsForCustomerGranularityParameterFromValue ¶ added in v0.4.0
func NewListCostsForCustomerGranularityParameterFromValue(v string) (*ListCostsForCustomerGranularityParameter, error)
NewListCostsForCustomerGranularityParameterFromValue returns a pointer to a valid ListCostsForCustomerGranularityParameter for the value passed as argument, or an error if the value passed is not allowed by the enum
func (ListCostsForCustomerGranularityParameter) IsValid ¶ added in v0.4.0
func (v ListCostsForCustomerGranularityParameter) IsValid() bool
IsValid return true if the value is valid for the enum, false otherwise
func (ListCostsForCustomerGranularityParameter) Ptr ¶ added in v0.4.0
Ptr returns reference to ListCostsForCustomer_granularity_parameter value
func (*ListCostsForCustomerGranularityParameter) UnmarshalJSON ¶ added in v0.4.0
func (v *ListCostsForCustomerGranularityParameter) UnmarshalJSON(src []byte) error
type ListCostsForResellerAcceptParameter ¶ added in v0.4.0
type ListCostsForResellerAcceptParameter string
ListCostsForResellerAcceptParameter the model 'ListCostsForResellerAcceptParameter'
const ( LISTCOSTSFORRESELLERACCEPTPARAMETER_APPLICATION_JSON ListCostsForResellerAcceptParameter = "application/json" LISTCOSTSFORRESELLERACCEPTPARAMETER_TEXT_CSV ListCostsForResellerAcceptParameter = "text/csv" LISTCOSTSFORRESELLERACCEPTPARAMETER_UNKNOWN_DEFAULT_OPEN_API ListCostsForResellerAcceptParameter = "unknown_default_open_api" )
List of ListCostsForReseller_Accept_parameter
func NewListCostsForResellerAcceptParameterFromValue ¶ added in v0.4.0
func NewListCostsForResellerAcceptParameterFromValue(v string) (*ListCostsForResellerAcceptParameter, error)
NewListCostsForResellerAcceptParameterFromValue returns a pointer to a valid ListCostsForResellerAcceptParameter for the value passed as argument, or an error if the value passed is not allowed by the enum
func (ListCostsForResellerAcceptParameter) IsValid ¶ added in v0.4.0
func (v ListCostsForResellerAcceptParameter) IsValid() bool
IsValid return true if the value is valid for the enum, false otherwise
func (ListCostsForResellerAcceptParameter) Ptr ¶ added in v0.4.0
Ptr returns reference to ListCostsForReseller_Accept_parameter value
func (*ListCostsForResellerAcceptParameter) UnmarshalJSON ¶ added in v0.4.0
func (v *ListCostsForResellerAcceptParameter) UnmarshalJSON(src []byte) error
type MappedNullable ¶
type NullableAuthErrorResponse ¶ added in v0.2.0
type NullableAuthErrorResponse struct {
// contains filtered or unexported fields
}
func NewNullableAuthErrorResponse ¶ added in v0.2.0
func NewNullableAuthErrorResponse(val *AuthErrorResponse) *NullableAuthErrorResponse
func (NullableAuthErrorResponse) Get ¶ added in v0.2.0
func (v NullableAuthErrorResponse) Get() *AuthErrorResponse
func (NullableAuthErrorResponse) IsSet ¶ added in v0.2.0
func (v NullableAuthErrorResponse) IsSet() bool
func (NullableAuthErrorResponse) MarshalJSON ¶ added in v0.2.0
func (v NullableAuthErrorResponse) MarshalJSON() ([]byte, error)
func (*NullableAuthErrorResponse) Set ¶ added in v0.2.0
func (v *NullableAuthErrorResponse) Set(val *AuthErrorResponse)
func (*NullableAuthErrorResponse) UnmarshalJSON ¶ added in v0.2.0
func (v *NullableAuthErrorResponse) UnmarshalJSON(src []byte) error
func (*NullableAuthErrorResponse) Unset ¶ added in v0.2.0
func (v *NullableAuthErrorResponse) Unset()
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 NullableDetailedServiceCost ¶
type NullableDetailedServiceCost struct {
// contains filtered or unexported fields
}
func NewNullableDetailedServiceCost ¶
func NewNullableDetailedServiceCost(val *DetailedServiceCost) *NullableDetailedServiceCost
func (NullableDetailedServiceCost) Get ¶
func (v NullableDetailedServiceCost) Get() *DetailedServiceCost
func (NullableDetailedServiceCost) IsSet ¶
func (v NullableDetailedServiceCost) IsSet() bool
func (NullableDetailedServiceCost) MarshalJSON ¶
func (v NullableDetailedServiceCost) MarshalJSON() ([]byte, error)
func (*NullableDetailedServiceCost) Set ¶
func (v *NullableDetailedServiceCost) Set(val *DetailedServiceCost)
func (*NullableDetailedServiceCost) UnmarshalJSON ¶
func (v *NullableDetailedServiceCost) UnmarshalJSON(src []byte) error
func (*NullableDetailedServiceCost) Unset ¶
func (v *NullableDetailedServiceCost) Unset()
type NullableErrorResponse ¶ added in v0.2.0
type NullableErrorResponse struct {
// contains filtered or unexported fields
}
func NewNullableErrorResponse ¶ added in v0.2.0
func NewNullableErrorResponse(val *ErrorResponse) *NullableErrorResponse
func (NullableErrorResponse) Get ¶ added in v0.2.0
func (v NullableErrorResponse) Get() *ErrorResponse
func (NullableErrorResponse) IsSet ¶ added in v0.2.0
func (v NullableErrorResponse) IsSet() bool
func (NullableErrorResponse) MarshalJSON ¶ added in v0.2.0
func (v NullableErrorResponse) MarshalJSON() ([]byte, error)
func (*NullableErrorResponse) Set ¶ added in v0.2.0
func (v *NullableErrorResponse) Set(val *ErrorResponse)
func (*NullableErrorResponse) UnmarshalJSON ¶ added in v0.2.0
func (v *NullableErrorResponse) UnmarshalJSON(src []byte) error
func (*NullableErrorResponse) Unset ¶ added in v0.2.0
func (v *NullableErrorResponse) 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 NullableGetCostsForProjectAcceptParameter ¶ added in v0.4.0
type NullableGetCostsForProjectAcceptParameter struct {
// contains filtered or unexported fields
}
func NewNullableGetCostsForProjectAcceptParameter ¶ added in v0.4.0
func NewNullableGetCostsForProjectAcceptParameter(val *GetCostsForProjectAcceptParameter) *NullableGetCostsForProjectAcceptParameter
func (NullableGetCostsForProjectAcceptParameter) IsSet ¶ added in v0.4.0
func (v NullableGetCostsForProjectAcceptParameter) IsSet() bool
func (NullableGetCostsForProjectAcceptParameter) MarshalJSON ¶ added in v0.4.0
func (v NullableGetCostsForProjectAcceptParameter) MarshalJSON() ([]byte, error)
func (*NullableGetCostsForProjectAcceptParameter) Set ¶ added in v0.4.0
func (v *NullableGetCostsForProjectAcceptParameter) Set(val *GetCostsForProjectAcceptParameter)
func (*NullableGetCostsForProjectAcceptParameter) UnmarshalJSON ¶ added in v0.4.0
func (v *NullableGetCostsForProjectAcceptParameter) UnmarshalJSON(src []byte) error
func (*NullableGetCostsForProjectAcceptParameter) Unset ¶ added in v0.4.0
func (v *NullableGetCostsForProjectAcceptParameter) 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 NullableListCostsForCustomerAcceptParameter ¶ added in v0.4.0
type NullableListCostsForCustomerAcceptParameter struct {
// contains filtered or unexported fields
}
func NewNullableListCostsForCustomerAcceptParameter ¶ added in v0.4.0
func NewNullableListCostsForCustomerAcceptParameter(val *ListCostsForCustomerAcceptParameter) *NullableListCostsForCustomerAcceptParameter
func (NullableListCostsForCustomerAcceptParameter) IsSet ¶ added in v0.4.0
func (v NullableListCostsForCustomerAcceptParameter) IsSet() bool
func (NullableListCostsForCustomerAcceptParameter) MarshalJSON ¶ added in v0.4.0
func (v NullableListCostsForCustomerAcceptParameter) MarshalJSON() ([]byte, error)
func (*NullableListCostsForCustomerAcceptParameter) Set ¶ added in v0.4.0
func (v *NullableListCostsForCustomerAcceptParameter) Set(val *ListCostsForCustomerAcceptParameter)
func (*NullableListCostsForCustomerAcceptParameter) UnmarshalJSON ¶ added in v0.4.0
func (v *NullableListCostsForCustomerAcceptParameter) UnmarshalJSON(src []byte) error
func (*NullableListCostsForCustomerAcceptParameter) Unset ¶ added in v0.4.0
func (v *NullableListCostsForCustomerAcceptParameter) Unset()
type NullableListCostsForCustomerDepthParameter ¶ added in v0.4.0
type NullableListCostsForCustomerDepthParameter struct {
// contains filtered or unexported fields
}
func NewNullableListCostsForCustomerDepthParameter ¶ added in v0.4.0
func NewNullableListCostsForCustomerDepthParameter(val *ListCostsForCustomerDepthParameter) *NullableListCostsForCustomerDepthParameter
func (NullableListCostsForCustomerDepthParameter) IsSet ¶ added in v0.4.0
func (v NullableListCostsForCustomerDepthParameter) IsSet() bool
func (NullableListCostsForCustomerDepthParameter) MarshalJSON ¶ added in v0.4.0
func (v NullableListCostsForCustomerDepthParameter) MarshalJSON() ([]byte, error)
func (*NullableListCostsForCustomerDepthParameter) Set ¶ added in v0.4.0
func (v *NullableListCostsForCustomerDepthParameter) Set(val *ListCostsForCustomerDepthParameter)
func (*NullableListCostsForCustomerDepthParameter) UnmarshalJSON ¶ added in v0.4.0
func (v *NullableListCostsForCustomerDepthParameter) UnmarshalJSON(src []byte) error
func (*NullableListCostsForCustomerDepthParameter) Unset ¶ added in v0.4.0
func (v *NullableListCostsForCustomerDepthParameter) Unset()
type NullableListCostsForCustomerGranularityParameter ¶ added in v0.4.0
type NullableListCostsForCustomerGranularityParameter struct {
// contains filtered or unexported fields
}
func NewNullableListCostsForCustomerGranularityParameter ¶ added in v0.4.0
func NewNullableListCostsForCustomerGranularityParameter(val *ListCostsForCustomerGranularityParameter) *NullableListCostsForCustomerGranularityParameter
func (NullableListCostsForCustomerGranularityParameter) IsSet ¶ added in v0.4.0
func (v NullableListCostsForCustomerGranularityParameter) IsSet() bool
func (NullableListCostsForCustomerGranularityParameter) MarshalJSON ¶ added in v0.4.0
func (v NullableListCostsForCustomerGranularityParameter) MarshalJSON() ([]byte, error)
func (*NullableListCostsForCustomerGranularityParameter) UnmarshalJSON ¶ added in v0.4.0
func (v *NullableListCostsForCustomerGranularityParameter) UnmarshalJSON(src []byte) error
func (*NullableListCostsForCustomerGranularityParameter) Unset ¶ added in v0.4.0
func (v *NullableListCostsForCustomerGranularityParameter) Unset()
type NullableListCostsForResellerAcceptParameter ¶ added in v0.4.0
type NullableListCostsForResellerAcceptParameter struct {
// contains filtered or unexported fields
}
func NewNullableListCostsForResellerAcceptParameter ¶ added in v0.4.0
func NewNullableListCostsForResellerAcceptParameter(val *ListCostsForResellerAcceptParameter) *NullableListCostsForResellerAcceptParameter
func (NullableListCostsForResellerAcceptParameter) IsSet ¶ added in v0.4.0
func (v NullableListCostsForResellerAcceptParameter) IsSet() bool
func (NullableListCostsForResellerAcceptParameter) MarshalJSON ¶ added in v0.4.0
func (v NullableListCostsForResellerAcceptParameter) MarshalJSON() ([]byte, error)
func (*NullableListCostsForResellerAcceptParameter) Set ¶ added in v0.4.0
func (v *NullableListCostsForResellerAcceptParameter) Set(val *ListCostsForResellerAcceptParameter)
func (*NullableListCostsForResellerAcceptParameter) UnmarshalJSON ¶ added in v0.4.0
func (v *NullableListCostsForResellerAcceptParameter) UnmarshalJSON(src []byte) error
func (*NullableListCostsForResellerAcceptParameter) Unset ¶ added in v0.4.0
func (v *NullableListCostsForResellerAcceptParameter) Unset()
type NullableProjectCost ¶
type NullableProjectCost struct {
// contains filtered or unexported fields
}
func NewNullableProjectCost ¶
func NewNullableProjectCost(val *ProjectCost) *NullableProjectCost
func (NullableProjectCost) Get ¶
func (v NullableProjectCost) Get() *ProjectCost
func (NullableProjectCost) IsSet ¶
func (v NullableProjectCost) IsSet() bool
func (NullableProjectCost) MarshalJSON ¶
func (v NullableProjectCost) MarshalJSON() ([]byte, error)
func (*NullableProjectCost) Set ¶
func (v *NullableProjectCost) Set(val *ProjectCost)
func (*NullableProjectCost) UnmarshalJSON ¶
func (v *NullableProjectCost) UnmarshalJSON(src []byte) error
func (*NullableProjectCost) Unset ¶
func (v *NullableProjectCost) Unset()
type NullableProjectCostWithDetailedServices ¶
type NullableProjectCostWithDetailedServices struct {
// contains filtered or unexported fields
}
func NewNullableProjectCostWithDetailedServices ¶
func NewNullableProjectCostWithDetailedServices(val *ProjectCostWithDetailedServices) *NullableProjectCostWithDetailedServices
func (NullableProjectCostWithDetailedServices) IsSet ¶
func (v NullableProjectCostWithDetailedServices) IsSet() bool
func (NullableProjectCostWithDetailedServices) MarshalJSON ¶
func (v NullableProjectCostWithDetailedServices) MarshalJSON() ([]byte, error)
func (*NullableProjectCostWithDetailedServices) Set ¶
func (v *NullableProjectCostWithDetailedServices) Set(val *ProjectCostWithDetailedServices)
func (*NullableProjectCostWithDetailedServices) UnmarshalJSON ¶
func (v *NullableProjectCostWithDetailedServices) UnmarshalJSON(src []byte) error
func (*NullableProjectCostWithDetailedServices) Unset ¶
func (v *NullableProjectCostWithDetailedServices) Unset()
type NullableProjectCostWithReports ¶
type NullableProjectCostWithReports struct {
// contains filtered or unexported fields
}
func NewNullableProjectCostWithReports ¶
func NewNullableProjectCostWithReports(val *ProjectCostWithReports) *NullableProjectCostWithReports
func (NullableProjectCostWithReports) Get ¶
func (v NullableProjectCostWithReports) Get() *ProjectCostWithReports
func (NullableProjectCostWithReports) IsSet ¶
func (v NullableProjectCostWithReports) IsSet() bool
func (NullableProjectCostWithReports) MarshalJSON ¶
func (v NullableProjectCostWithReports) MarshalJSON() ([]byte, error)
func (*NullableProjectCostWithReports) Set ¶
func (v *NullableProjectCostWithReports) Set(val *ProjectCostWithReports)
func (*NullableProjectCostWithReports) UnmarshalJSON ¶
func (v *NullableProjectCostWithReports) UnmarshalJSON(src []byte) error
func (*NullableProjectCostWithReports) Unset ¶
func (v *NullableProjectCostWithReports) Unset()
type NullableProjectCostWithSummarizedServices ¶
type NullableProjectCostWithSummarizedServices struct {
// contains filtered or unexported fields
}
func NewNullableProjectCostWithSummarizedServices ¶
func NewNullableProjectCostWithSummarizedServices(val *ProjectCostWithSummarizedServices) *NullableProjectCostWithSummarizedServices
func (NullableProjectCostWithSummarizedServices) IsSet ¶
func (v NullableProjectCostWithSummarizedServices) IsSet() bool
func (NullableProjectCostWithSummarizedServices) MarshalJSON ¶
func (v NullableProjectCostWithSummarizedServices) MarshalJSON() ([]byte, error)
func (*NullableProjectCostWithSummarizedServices) Set ¶
func (v *NullableProjectCostWithSummarizedServices) Set(val *ProjectCostWithSummarizedServices)
func (*NullableProjectCostWithSummarizedServices) UnmarshalJSON ¶
func (v *NullableProjectCostWithSummarizedServices) UnmarshalJSON(src []byte) error
func (*NullableProjectCostWithSummarizedServices) Unset ¶
func (v *NullableProjectCostWithSummarizedServices) Unset()
type NullableReportData ¶
type NullableReportData struct {
// contains filtered or unexported fields
}
func NewNullableReportData ¶
func NewNullableReportData(val *ReportData) *NullableReportData
func (NullableReportData) Get ¶
func (v NullableReportData) Get() *ReportData
func (NullableReportData) IsSet ¶
func (v NullableReportData) IsSet() bool
func (NullableReportData) MarshalJSON ¶
func (v NullableReportData) MarshalJSON() ([]byte, error)
func (*NullableReportData) Set ¶
func (v *NullableReportData) Set(val *ReportData)
func (*NullableReportData) UnmarshalJSON ¶
func (v *NullableReportData) UnmarshalJSON(src []byte) error
func (*NullableReportData) Unset ¶
func (v *NullableReportData) Unset()
type NullableReportDataTimePeriod ¶
type NullableReportDataTimePeriod struct {
// contains filtered or unexported fields
}
func NewNullableReportDataTimePeriod ¶
func NewNullableReportDataTimePeriod(val *ReportDataTimePeriod) *NullableReportDataTimePeriod
func (NullableReportDataTimePeriod) Get ¶
func (v NullableReportDataTimePeriod) Get() *ReportDataTimePeriod
func (NullableReportDataTimePeriod) IsSet ¶
func (v NullableReportDataTimePeriod) IsSet() bool
func (NullableReportDataTimePeriod) MarshalJSON ¶
func (v NullableReportDataTimePeriod) MarshalJSON() ([]byte, error)
func (*NullableReportDataTimePeriod) Set ¶
func (v *NullableReportDataTimePeriod) Set(val *ReportDataTimePeriod)
func (*NullableReportDataTimePeriod) UnmarshalJSON ¶
func (v *NullableReportDataTimePeriod) UnmarshalJSON(src []byte) error
func (*NullableReportDataTimePeriod) Unset ¶
func (v *NullableReportDataTimePeriod) 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 NullableSummarizedProjectCost ¶
type NullableSummarizedProjectCost struct {
// contains filtered or unexported fields
}
func NewNullableSummarizedProjectCost ¶
func NewNullableSummarizedProjectCost(val *SummarizedProjectCost) *NullableSummarizedProjectCost
func (NullableSummarizedProjectCost) Get ¶
func (v NullableSummarizedProjectCost) Get() *SummarizedProjectCost
func (NullableSummarizedProjectCost) IsSet ¶
func (v NullableSummarizedProjectCost) IsSet() bool
func (NullableSummarizedProjectCost) MarshalJSON ¶
func (v NullableSummarizedProjectCost) MarshalJSON() ([]byte, error)
func (*NullableSummarizedProjectCost) Set ¶
func (v *NullableSummarizedProjectCost) Set(val *SummarizedProjectCost)
func (*NullableSummarizedProjectCost) UnmarshalJSON ¶
func (v *NullableSummarizedProjectCost) UnmarshalJSON(src []byte) error
func (*NullableSummarizedProjectCost) Unset ¶
func (v *NullableSummarizedProjectCost) Unset()
type NullableSummarizedServiceCost ¶
type NullableSummarizedServiceCost struct {
// contains filtered or unexported fields
}
func NewNullableSummarizedServiceCost ¶
func NewNullableSummarizedServiceCost(val *SummarizedServiceCost) *NullableSummarizedServiceCost
func (NullableSummarizedServiceCost) Get ¶
func (v NullableSummarizedServiceCost) Get() *SummarizedServiceCost
func (NullableSummarizedServiceCost) IsSet ¶
func (v NullableSummarizedServiceCost) IsSet() bool
func (NullableSummarizedServiceCost) MarshalJSON ¶
func (v NullableSummarizedServiceCost) MarshalJSON() ([]byte, error)
func (*NullableSummarizedServiceCost) Set ¶
func (v *NullableSummarizedServiceCost) Set(val *SummarizedServiceCost)
func (*NullableSummarizedServiceCost) UnmarshalJSON ¶
func (v *NullableSummarizedServiceCost) UnmarshalJSON(src []byte) error
func (*NullableSummarizedServiceCost) Unset ¶
func (v *NullableSummarizedServiceCost) 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 ProjectCost ¶
type ProjectCost struct {
ProjectCostWithDetailedServices *ProjectCostWithDetailedServices
ProjectCostWithReports *ProjectCostWithReports
ProjectCostWithSummarizedServices *ProjectCostWithSummarizedServices
SummarizedProjectCost *SummarizedProjectCost
}
ProjectCost struct for ProjectCost
func (ProjectCost) MarshalJSON ¶
func (src ProjectCost) MarshalJSON() ([]byte, error)
Marshal data from the first non-nil pointers in the struct to JSON
func (*ProjectCost) UnmarshalJSON ¶
func (dst *ProjectCost) UnmarshalJSON(data []byte) error
Unmarshal JSON data into any of the pointers in the struct
type ProjectCostWithDetailedServices ¶
type ProjectCostWithDetailedServices struct {
CustomerAccountId string `json:"customerAccountId"`
ProjectId string `json:"projectId"`
ProjectName string `json:"projectName"`
// Total discount for all services and the whole requested date range (value in cents). Please see \"depth\" parameter for more details.
Services []DetailedServiceCost `json:"services,omitempty"`
// Total charge (including discounts) for all services and the whole requested date range (value in cents)
TotalCharge float64 `json:"totalCharge"`
// Total discount for all services and the whole requested date range (value in cents)
TotalDiscount float64 `json:"totalDiscount"`
AdditionalProperties map[string]interface{}
}
ProjectCostWithDetailedServices Detailed costs for a project including service costs
func NewProjectCostWithDetailedServices ¶
func NewProjectCostWithDetailedServices(customerAccountId string, projectId string, projectName string, totalCharge float64, totalDiscount float64) *ProjectCostWithDetailedServices
NewProjectCostWithDetailedServices instantiates a new ProjectCostWithDetailedServices 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 NewProjectCostWithDetailedServicesWithDefaults ¶
func NewProjectCostWithDetailedServicesWithDefaults() *ProjectCostWithDetailedServices
NewProjectCostWithDetailedServicesWithDefaults instantiates a new ProjectCostWithDetailedServices 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 (*ProjectCostWithDetailedServices) GetCustomerAccountId ¶
func (o *ProjectCostWithDetailedServices) GetCustomerAccountId() string
GetCustomerAccountId returns the CustomerAccountId field value
func (*ProjectCostWithDetailedServices) GetCustomerAccountIdOk ¶
func (o *ProjectCostWithDetailedServices) GetCustomerAccountIdOk() (*string, bool)
GetCustomerAccountIdOk returns a tuple with the CustomerAccountId field value and a boolean to check if the value has been set.
func (*ProjectCostWithDetailedServices) GetProjectId ¶
func (o *ProjectCostWithDetailedServices) GetProjectId() string
GetProjectId returns the ProjectId field value
func (*ProjectCostWithDetailedServices) GetProjectIdOk ¶
func (o *ProjectCostWithDetailedServices) GetProjectIdOk() (*string, bool)
GetProjectIdOk returns a tuple with the ProjectId field value and a boolean to check if the value has been set.
func (*ProjectCostWithDetailedServices) GetProjectName ¶
func (o *ProjectCostWithDetailedServices) GetProjectName() string
GetProjectName returns the ProjectName field value
func (*ProjectCostWithDetailedServices) GetProjectNameOk ¶
func (o *ProjectCostWithDetailedServices) GetProjectNameOk() (*string, bool)
GetProjectNameOk returns a tuple with the ProjectName field value and a boolean to check if the value has been set.
func (*ProjectCostWithDetailedServices) GetServices ¶
func (o *ProjectCostWithDetailedServices) GetServices() []DetailedServiceCost
GetServices returns the Services field value if set, zero value otherwise.
func (*ProjectCostWithDetailedServices) GetServicesOk ¶
func (o *ProjectCostWithDetailedServices) GetServicesOk() ([]DetailedServiceCost, bool)
GetServicesOk returns a tuple with the Services field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ProjectCostWithDetailedServices) GetTotalCharge ¶
func (o *ProjectCostWithDetailedServices) GetTotalCharge() float64
GetTotalCharge returns the TotalCharge field value
func (*ProjectCostWithDetailedServices) GetTotalChargeOk ¶
func (o *ProjectCostWithDetailedServices) GetTotalChargeOk() (*float64, bool)
GetTotalChargeOk returns a tuple with the TotalCharge field value and a boolean to check if the value has been set.
func (*ProjectCostWithDetailedServices) GetTotalDiscount ¶
func (o *ProjectCostWithDetailedServices) GetTotalDiscount() float64
GetTotalDiscount returns the TotalDiscount field value
func (*ProjectCostWithDetailedServices) GetTotalDiscountOk ¶
func (o *ProjectCostWithDetailedServices) GetTotalDiscountOk() (*float64, bool)
GetTotalDiscountOk returns a tuple with the TotalDiscount field value and a boolean to check if the value has been set.
func (*ProjectCostWithDetailedServices) HasServices ¶
func (o *ProjectCostWithDetailedServices) HasServices() bool
HasServices returns a boolean if a field has been set.
func (ProjectCostWithDetailedServices) MarshalJSON ¶
func (o ProjectCostWithDetailedServices) MarshalJSON() ([]byte, error)
func (*ProjectCostWithDetailedServices) SetCustomerAccountId ¶
func (o *ProjectCostWithDetailedServices) SetCustomerAccountId(v string)
SetCustomerAccountId sets field value
func (*ProjectCostWithDetailedServices) SetProjectId ¶
func (o *ProjectCostWithDetailedServices) SetProjectId(v string)
SetProjectId sets field value
func (*ProjectCostWithDetailedServices) SetProjectName ¶
func (o *ProjectCostWithDetailedServices) SetProjectName(v string)
SetProjectName sets field value
func (*ProjectCostWithDetailedServices) SetServices ¶
func (o *ProjectCostWithDetailedServices) SetServices(v []DetailedServiceCost)
SetServices gets a reference to the given []DetailedServiceCost and assigns it to the Services field.
func (*ProjectCostWithDetailedServices) SetTotalCharge ¶
func (o *ProjectCostWithDetailedServices) SetTotalCharge(v float64)
SetTotalCharge sets field value
func (*ProjectCostWithDetailedServices) SetTotalDiscount ¶
func (o *ProjectCostWithDetailedServices) SetTotalDiscount(v float64)
SetTotalDiscount sets field value
func (ProjectCostWithDetailedServices) ToMap ¶
func (o ProjectCostWithDetailedServices) ToMap() (map[string]interface{}, error)
func (*ProjectCostWithDetailedServices) UnmarshalJSON ¶
func (o *ProjectCostWithDetailedServices) UnmarshalJSON(data []byte) (err error)
type ProjectCostWithReports ¶
type ProjectCostWithReports struct {
CustomerAccountId string `json:"customerAccountId"`
ProjectId string `json:"projectId"`
ProjectName string `json:"projectName"`
// Detailed project costs which are ONLY included if granularity is provided AND depth is \"project\"
ReportData []ReportData `json:"reportData,omitempty"`
// Total charge (including discounts) for all services and the whole requested date range (value in cents)
TotalCharge float64 `json:"totalCharge"`
// Total discount for all services and the whole requested date range (value in cents)
TotalDiscount float64 `json:"totalDiscount"`
AdditionalProperties map[string]interface{}
}
ProjectCostWithReports Detailed costs for a project
func NewProjectCostWithReports ¶
func NewProjectCostWithReports(customerAccountId string, projectId string, projectName string, totalCharge float64, totalDiscount float64) *ProjectCostWithReports
NewProjectCostWithReports instantiates a new ProjectCostWithReports 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 NewProjectCostWithReportsWithDefaults ¶
func NewProjectCostWithReportsWithDefaults() *ProjectCostWithReports
NewProjectCostWithReportsWithDefaults instantiates a new ProjectCostWithReports 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 (*ProjectCostWithReports) GetCustomerAccountId ¶
func (o *ProjectCostWithReports) GetCustomerAccountId() string
GetCustomerAccountId returns the CustomerAccountId field value
func (*ProjectCostWithReports) GetCustomerAccountIdOk ¶
func (o *ProjectCostWithReports) GetCustomerAccountIdOk() (*string, bool)
GetCustomerAccountIdOk returns a tuple with the CustomerAccountId field value and a boolean to check if the value has been set.
func (*ProjectCostWithReports) GetProjectId ¶
func (o *ProjectCostWithReports) GetProjectId() string
GetProjectId returns the ProjectId field value
func (*ProjectCostWithReports) GetProjectIdOk ¶
func (o *ProjectCostWithReports) GetProjectIdOk() (*string, bool)
GetProjectIdOk returns a tuple with the ProjectId field value and a boolean to check if the value has been set.
func (*ProjectCostWithReports) GetProjectName ¶
func (o *ProjectCostWithReports) GetProjectName() string
GetProjectName returns the ProjectName field value
func (*ProjectCostWithReports) GetProjectNameOk ¶
func (o *ProjectCostWithReports) GetProjectNameOk() (*string, bool)
GetProjectNameOk returns a tuple with the ProjectName field value and a boolean to check if the value has been set.
func (*ProjectCostWithReports) GetReportData ¶
func (o *ProjectCostWithReports) GetReportData() []ReportData
GetReportData returns the ReportData field value if set, zero value otherwise.
func (*ProjectCostWithReports) GetReportDataOk ¶
func (o *ProjectCostWithReports) GetReportDataOk() ([]ReportData, bool)
GetReportDataOk returns a tuple with the ReportData field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ProjectCostWithReports) GetTotalCharge ¶
func (o *ProjectCostWithReports) GetTotalCharge() float64
GetTotalCharge returns the TotalCharge field value
func (*ProjectCostWithReports) GetTotalChargeOk ¶
func (o *ProjectCostWithReports) GetTotalChargeOk() (*float64, bool)
GetTotalChargeOk returns a tuple with the TotalCharge field value and a boolean to check if the value has been set.
func (*ProjectCostWithReports) GetTotalDiscount ¶
func (o *ProjectCostWithReports) GetTotalDiscount() float64
GetTotalDiscount returns the TotalDiscount field value
func (*ProjectCostWithReports) GetTotalDiscountOk ¶
func (o *ProjectCostWithReports) GetTotalDiscountOk() (*float64, bool)
GetTotalDiscountOk returns a tuple with the TotalDiscount field value and a boolean to check if the value has been set.
func (*ProjectCostWithReports) HasReportData ¶
func (o *ProjectCostWithReports) HasReportData() bool
HasReportData returns a boolean if a field has been set.
func (ProjectCostWithReports) MarshalJSON ¶
func (o ProjectCostWithReports) MarshalJSON() ([]byte, error)
func (*ProjectCostWithReports) SetCustomerAccountId ¶
func (o *ProjectCostWithReports) SetCustomerAccountId(v string)
SetCustomerAccountId sets field value
func (*ProjectCostWithReports) SetProjectId ¶
func (o *ProjectCostWithReports) SetProjectId(v string)
SetProjectId sets field value
func (*ProjectCostWithReports) SetProjectName ¶
func (o *ProjectCostWithReports) SetProjectName(v string)
SetProjectName sets field value
func (*ProjectCostWithReports) SetReportData ¶
func (o *ProjectCostWithReports) SetReportData(v []ReportData)
SetReportData gets a reference to the given []ReportData and assigns it to the ReportData field.
func (*ProjectCostWithReports) SetTotalCharge ¶
func (o *ProjectCostWithReports) SetTotalCharge(v float64)
SetTotalCharge sets field value
func (*ProjectCostWithReports) SetTotalDiscount ¶
func (o *ProjectCostWithReports) SetTotalDiscount(v float64)
SetTotalDiscount sets field value
func (ProjectCostWithReports) ToMap ¶
func (o ProjectCostWithReports) ToMap() (map[string]interface{}, error)
func (*ProjectCostWithReports) UnmarshalJSON ¶
func (o *ProjectCostWithReports) UnmarshalJSON(data []byte) (err error)
type ProjectCostWithSummarizedServices ¶
type ProjectCostWithSummarizedServices struct {
CustomerAccountId string `json:"customerAccountId"`
ProjectId string `json:"projectId"`
ProjectName string `json:"projectName"`
// Summarized service costs
Services []SummarizedServiceCost `json:"services,omitempty"`
// Total charge (including discounts) for all services and the whole requested date range (value in cents)
TotalCharge float64 `json:"totalCharge"`
// Total discount for all services and the whole requested date range (value in cents)
TotalDiscount float64 `json:"totalDiscount"`
AdditionalProperties map[string]interface{}
}
ProjectCostWithSummarizedServices Costs for a project including summarized service costs
func NewProjectCostWithSummarizedServices ¶
func NewProjectCostWithSummarizedServices(customerAccountId string, projectId string, projectName string, totalCharge float64, totalDiscount float64) *ProjectCostWithSummarizedServices
NewProjectCostWithSummarizedServices instantiates a new ProjectCostWithSummarizedServices 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 NewProjectCostWithSummarizedServicesWithDefaults ¶
func NewProjectCostWithSummarizedServicesWithDefaults() *ProjectCostWithSummarizedServices
NewProjectCostWithSummarizedServicesWithDefaults instantiates a new ProjectCostWithSummarizedServices 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 (*ProjectCostWithSummarizedServices) GetCustomerAccountId ¶
func (o *ProjectCostWithSummarizedServices) GetCustomerAccountId() string
GetCustomerAccountId returns the CustomerAccountId field value
func (*ProjectCostWithSummarizedServices) GetCustomerAccountIdOk ¶
func (o *ProjectCostWithSummarizedServices) GetCustomerAccountIdOk() (*string, bool)
GetCustomerAccountIdOk returns a tuple with the CustomerAccountId field value and a boolean to check if the value has been set.
func (*ProjectCostWithSummarizedServices) GetProjectId ¶
func (o *ProjectCostWithSummarizedServices) GetProjectId() string
GetProjectId returns the ProjectId field value
func (*ProjectCostWithSummarizedServices) GetProjectIdOk ¶
func (o *ProjectCostWithSummarizedServices) GetProjectIdOk() (*string, bool)
GetProjectIdOk returns a tuple with the ProjectId field value and a boolean to check if the value has been set.
func (*ProjectCostWithSummarizedServices) GetProjectName ¶
func (o *ProjectCostWithSummarizedServices) GetProjectName() string
GetProjectName returns the ProjectName field value
func (*ProjectCostWithSummarizedServices) GetProjectNameOk ¶
func (o *ProjectCostWithSummarizedServices) GetProjectNameOk() (*string, bool)
GetProjectNameOk returns a tuple with the ProjectName field value and a boolean to check if the value has been set.
func (*ProjectCostWithSummarizedServices) GetServices ¶
func (o *ProjectCostWithSummarizedServices) GetServices() []SummarizedServiceCost
GetServices returns the Services field value if set, zero value otherwise.
func (*ProjectCostWithSummarizedServices) GetServicesOk ¶
func (o *ProjectCostWithSummarizedServices) GetServicesOk() ([]SummarizedServiceCost, bool)
GetServicesOk returns a tuple with the Services field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ProjectCostWithSummarizedServices) GetTotalCharge ¶
func (o *ProjectCostWithSummarizedServices) GetTotalCharge() float64
GetTotalCharge returns the TotalCharge field value
func (*ProjectCostWithSummarizedServices) GetTotalChargeOk ¶
func (o *ProjectCostWithSummarizedServices) GetTotalChargeOk() (*float64, bool)
GetTotalChargeOk returns a tuple with the TotalCharge field value and a boolean to check if the value has been set.
func (*ProjectCostWithSummarizedServices) GetTotalDiscount ¶
func (o *ProjectCostWithSummarizedServices) GetTotalDiscount() float64
GetTotalDiscount returns the TotalDiscount field value
func (*ProjectCostWithSummarizedServices) GetTotalDiscountOk ¶
func (o *ProjectCostWithSummarizedServices) GetTotalDiscountOk() (*float64, bool)
GetTotalDiscountOk returns a tuple with the TotalDiscount field value and a boolean to check if the value has been set.
func (*ProjectCostWithSummarizedServices) HasServices ¶
func (o *ProjectCostWithSummarizedServices) HasServices() bool
HasServices returns a boolean if a field has been set.
func (ProjectCostWithSummarizedServices) MarshalJSON ¶
func (o ProjectCostWithSummarizedServices) MarshalJSON() ([]byte, error)
func (*ProjectCostWithSummarizedServices) SetCustomerAccountId ¶
func (o *ProjectCostWithSummarizedServices) SetCustomerAccountId(v string)
SetCustomerAccountId sets field value
func (*ProjectCostWithSummarizedServices) SetProjectId ¶
func (o *ProjectCostWithSummarizedServices) SetProjectId(v string)
SetProjectId sets field value
func (*ProjectCostWithSummarizedServices) SetProjectName ¶
func (o *ProjectCostWithSummarizedServices) SetProjectName(v string)
SetProjectName sets field value
func (*ProjectCostWithSummarizedServices) SetServices ¶
func (o *ProjectCostWithSummarizedServices) SetServices(v []SummarizedServiceCost)
SetServices gets a reference to the given []SummarizedServiceCost and assigns it to the Services field.
func (*ProjectCostWithSummarizedServices) SetTotalCharge ¶
func (o *ProjectCostWithSummarizedServices) SetTotalCharge(v float64)
SetTotalCharge sets field value
func (*ProjectCostWithSummarizedServices) SetTotalDiscount ¶
func (o *ProjectCostWithSummarizedServices) SetTotalDiscount(v float64)
SetTotalDiscount sets field value
func (ProjectCostWithSummarizedServices) ToMap ¶
func (o ProjectCostWithSummarizedServices) ToMap() (map[string]interface{}, error)
func (*ProjectCostWithSummarizedServices) UnmarshalJSON ¶
func (o *ProjectCostWithSummarizedServices) UnmarshalJSON(data []byte) (err error)
type ReportData ¶
type ReportData struct {
// Charge, value in cents
Charge float64 `json:"charge"`
// Discount, value in cents
Discount float64 `json:"discount"`
// Quantity
Quantity int32 `json:"quantity"`
TimePeriod ReportDataTimePeriod `json:"timePeriod"`
AdditionalProperties map[string]interface{}
}
ReportData Costs report for a certain period of time
func NewReportData ¶
func NewReportData(charge float64, discount float64, quantity int32, timePeriod ReportDataTimePeriod) *ReportData
NewReportData instantiates a new ReportData 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 NewReportDataWithDefaults ¶
func NewReportDataWithDefaults() *ReportData
NewReportDataWithDefaults instantiates a new ReportData 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 (*ReportData) GetCharge ¶
func (o *ReportData) GetCharge() float64
GetCharge returns the Charge field value
func (*ReportData) GetChargeOk ¶
func (o *ReportData) GetChargeOk() (*float64, bool)
GetChargeOk returns a tuple with the Charge field value and a boolean to check if the value has been set.
func (*ReportData) GetDiscount ¶
func (o *ReportData) GetDiscount() float64
GetDiscount returns the Discount field value
func (*ReportData) GetDiscountOk ¶
func (o *ReportData) GetDiscountOk() (*float64, bool)
GetDiscountOk returns a tuple with the Discount field value and a boolean to check if the value has been set.
func (*ReportData) GetQuantity ¶
func (o *ReportData) GetQuantity() int32
GetQuantity returns the Quantity field value
func (*ReportData) GetQuantityOk ¶
func (o *ReportData) GetQuantityOk() (*int32, bool)
GetQuantityOk returns a tuple with the Quantity field value and a boolean to check if the value has been set.
func (*ReportData) GetTimePeriod ¶
func (o *ReportData) GetTimePeriod() ReportDataTimePeriod
GetTimePeriod returns the TimePeriod field value
func (*ReportData) GetTimePeriodOk ¶
func (o *ReportData) GetTimePeriodOk() (*ReportDataTimePeriod, bool)
GetTimePeriodOk returns a tuple with the TimePeriod field value and a boolean to check if the value has been set.
func (ReportData) MarshalJSON ¶
func (o ReportData) MarshalJSON() ([]byte, error)
func (*ReportData) SetDiscount ¶
func (o *ReportData) SetDiscount(v float64)
SetDiscount sets field value
func (*ReportData) SetQuantity ¶
func (o *ReportData) SetQuantity(v int32)
SetQuantity sets field value
func (*ReportData) SetTimePeriod ¶
func (o *ReportData) SetTimePeriod(v ReportDataTimePeriod)
SetTimePeriod sets field value
func (ReportData) ToMap ¶
func (o ReportData) ToMap() (map[string]interface{}, error)
func (*ReportData) UnmarshalJSON ¶
func (o *ReportData) UnmarshalJSON(data []byte) (err error)
type ReportDataTimePeriod ¶
type ReportDataTimePeriod struct {
End *string `json:"end,omitempty"`
Start *string `json:"start,omitempty"`
AdditionalProperties map[string]interface{}
}
ReportDataTimePeriod Time period according to desired granularity
func NewReportDataTimePeriod ¶
func NewReportDataTimePeriod() *ReportDataTimePeriod
NewReportDataTimePeriod instantiates a new ReportDataTimePeriod 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 NewReportDataTimePeriodWithDefaults ¶
func NewReportDataTimePeriodWithDefaults() *ReportDataTimePeriod
NewReportDataTimePeriodWithDefaults instantiates a new ReportDataTimePeriod 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 (*ReportDataTimePeriod) GetEnd ¶
func (o *ReportDataTimePeriod) GetEnd() string
GetEnd returns the End field value if set, zero value otherwise.
func (*ReportDataTimePeriod) GetEndOk ¶
func (o *ReportDataTimePeriod) GetEndOk() (*string, bool)
GetEndOk returns a tuple with the End field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ReportDataTimePeriod) GetStart ¶
func (o *ReportDataTimePeriod) GetStart() string
GetStart returns the Start field value if set, zero value otherwise.
func (*ReportDataTimePeriod) GetStartOk ¶
func (o *ReportDataTimePeriod) GetStartOk() (*string, bool)
GetStartOk returns a tuple with the Start field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ReportDataTimePeriod) HasEnd ¶
func (o *ReportDataTimePeriod) HasEnd() bool
HasEnd returns a boolean if a field has been set.
func (*ReportDataTimePeriod) HasStart ¶
func (o *ReportDataTimePeriod) HasStart() bool
HasStart returns a boolean if a field has been set.
func (ReportDataTimePeriod) MarshalJSON ¶
func (o ReportDataTimePeriod) MarshalJSON() ([]byte, error)
func (*ReportDataTimePeriod) SetEnd ¶
func (o *ReportDataTimePeriod) SetEnd(v string)
SetEnd gets a reference to the given string and assigns it to the End field.
func (*ReportDataTimePeriod) SetStart ¶
func (o *ReportDataTimePeriod) SetStart(v string)
SetStart gets a reference to the given string and assigns it to the Start field.
func (ReportDataTimePeriod) ToMap ¶
func (o ReportDataTimePeriod) ToMap() (map[string]interface{}, error)
func (*ReportDataTimePeriod) UnmarshalJSON ¶
func (o *ReportDataTimePeriod) UnmarshalJSON(data []byte) (err error)
type SummarizedProjectCost ¶
type SummarizedProjectCost struct {
CustomerAccountId string `json:"customerAccountId"`
ProjectId string `json:"projectId"`
ProjectName string `json:"projectName"`
// Total charge (including discounts) for all services and the whole requested date range (value in cents)
TotalCharge float64 `json:"totalCharge"`
// Total discount for all services and the whole requested date range (value in cents)
TotalDiscount float64 `json:"totalDiscount"`
AdditionalProperties map[string]interface{}
}
SummarizedProjectCost Summarized costs for a project
func NewSummarizedProjectCost ¶
func NewSummarizedProjectCost(customerAccountId string, projectId string, projectName string, totalCharge float64, totalDiscount float64) *SummarizedProjectCost
NewSummarizedProjectCost instantiates a new SummarizedProjectCost 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 NewSummarizedProjectCostWithDefaults ¶
func NewSummarizedProjectCostWithDefaults() *SummarizedProjectCost
NewSummarizedProjectCostWithDefaults instantiates a new SummarizedProjectCost 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 (*SummarizedProjectCost) GetCustomerAccountId ¶
func (o *SummarizedProjectCost) GetCustomerAccountId() string
GetCustomerAccountId returns the CustomerAccountId field value
func (*SummarizedProjectCost) GetCustomerAccountIdOk ¶
func (o *SummarizedProjectCost) GetCustomerAccountIdOk() (*string, bool)
GetCustomerAccountIdOk returns a tuple with the CustomerAccountId field value and a boolean to check if the value has been set.
func (*SummarizedProjectCost) GetProjectId ¶
func (o *SummarizedProjectCost) GetProjectId() string
GetProjectId returns the ProjectId field value
func (*SummarizedProjectCost) GetProjectIdOk ¶
func (o *SummarizedProjectCost) GetProjectIdOk() (*string, bool)
GetProjectIdOk returns a tuple with the ProjectId field value and a boolean to check if the value has been set.
func (*SummarizedProjectCost) GetProjectName ¶
func (o *SummarizedProjectCost) GetProjectName() string
GetProjectName returns the ProjectName field value
func (*SummarizedProjectCost) GetProjectNameOk ¶
func (o *SummarizedProjectCost) GetProjectNameOk() (*string, bool)
GetProjectNameOk returns a tuple with the ProjectName field value and a boolean to check if the value has been set.
func (*SummarizedProjectCost) GetTotalCharge ¶
func (o *SummarizedProjectCost) GetTotalCharge() float64
GetTotalCharge returns the TotalCharge field value
func (*SummarizedProjectCost) GetTotalChargeOk ¶
func (o *SummarizedProjectCost) GetTotalChargeOk() (*float64, bool)
GetTotalChargeOk returns a tuple with the TotalCharge field value and a boolean to check if the value has been set.
func (*SummarizedProjectCost) GetTotalDiscount ¶
func (o *SummarizedProjectCost) GetTotalDiscount() float64
GetTotalDiscount returns the TotalDiscount field value
func (*SummarizedProjectCost) GetTotalDiscountOk ¶
func (o *SummarizedProjectCost) GetTotalDiscountOk() (*float64, bool)
GetTotalDiscountOk returns a tuple with the TotalDiscount field value and a boolean to check if the value has been set.
func (SummarizedProjectCost) MarshalJSON ¶
func (o SummarizedProjectCost) MarshalJSON() ([]byte, error)
func (*SummarizedProjectCost) SetCustomerAccountId ¶
func (o *SummarizedProjectCost) SetCustomerAccountId(v string)
SetCustomerAccountId sets field value
func (*SummarizedProjectCost) SetProjectId ¶
func (o *SummarizedProjectCost) SetProjectId(v string)
SetProjectId sets field value
func (*SummarizedProjectCost) SetProjectName ¶
func (o *SummarizedProjectCost) SetProjectName(v string)
SetProjectName sets field value
func (*SummarizedProjectCost) SetTotalCharge ¶
func (o *SummarizedProjectCost) SetTotalCharge(v float64)
SetTotalCharge sets field value
func (*SummarizedProjectCost) SetTotalDiscount ¶
func (o *SummarizedProjectCost) SetTotalDiscount(v float64)
SetTotalDiscount sets field value
func (SummarizedProjectCost) ToMap ¶
func (o SummarizedProjectCost) ToMap() (map[string]interface{}, error)
func (*SummarizedProjectCost) UnmarshalJSON ¶
func (o *SummarizedProjectCost) UnmarshalJSON(data []byte) (err error)
type SummarizedServiceCost ¶
type SummarizedServiceCost struct {
CustomerAccountId string `json:"customerAccountId"`
ProjectId string `json:"projectId"`
ProjectName string `json:"projectName"`
// Total charge (including discounts) for all services and the whole requested date range (value in cents)
TotalCharge float64 `json:"totalCharge"`
// Total discount for all services and the whole requested date range (value in cents)
TotalDiscount float64 `json:"totalDiscount"`
AdditionalProperties map[string]interface{}
}
SummarizedServiceCost Summarized costs for a project
func NewSummarizedServiceCost ¶
func NewSummarizedServiceCost(customerAccountId string, projectId string, projectName string, totalCharge float64, totalDiscount float64) *SummarizedServiceCost
NewSummarizedServiceCost instantiates a new SummarizedServiceCost 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 NewSummarizedServiceCostWithDefaults ¶
func NewSummarizedServiceCostWithDefaults() *SummarizedServiceCost
NewSummarizedServiceCostWithDefaults instantiates a new SummarizedServiceCost 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 (*SummarizedServiceCost) GetCustomerAccountId ¶
func (o *SummarizedServiceCost) GetCustomerAccountId() string
GetCustomerAccountId returns the CustomerAccountId field value
func (*SummarizedServiceCost) GetCustomerAccountIdOk ¶
func (o *SummarizedServiceCost) GetCustomerAccountIdOk() (*string, bool)
GetCustomerAccountIdOk returns a tuple with the CustomerAccountId field value and a boolean to check if the value has been set.
func (*SummarizedServiceCost) GetProjectId ¶
func (o *SummarizedServiceCost) GetProjectId() string
GetProjectId returns the ProjectId field value
func (*SummarizedServiceCost) GetProjectIdOk ¶
func (o *SummarizedServiceCost) GetProjectIdOk() (*string, bool)
GetProjectIdOk returns a tuple with the ProjectId field value and a boolean to check if the value has been set.
func (*SummarizedServiceCost) GetProjectName ¶
func (o *SummarizedServiceCost) GetProjectName() string
GetProjectName returns the ProjectName field value
func (*SummarizedServiceCost) GetProjectNameOk ¶
func (o *SummarizedServiceCost) GetProjectNameOk() (*string, bool)
GetProjectNameOk returns a tuple with the ProjectName field value and a boolean to check if the value has been set.
func (*SummarizedServiceCost) GetTotalCharge ¶
func (o *SummarizedServiceCost) GetTotalCharge() float64
GetTotalCharge returns the TotalCharge field value
func (*SummarizedServiceCost) GetTotalChargeOk ¶
func (o *SummarizedServiceCost) GetTotalChargeOk() (*float64, bool)
GetTotalChargeOk returns a tuple with the TotalCharge field value and a boolean to check if the value has been set.
func (*SummarizedServiceCost) GetTotalDiscount ¶
func (o *SummarizedServiceCost) GetTotalDiscount() float64
GetTotalDiscount returns the TotalDiscount field value
func (*SummarizedServiceCost) GetTotalDiscountOk ¶
func (o *SummarizedServiceCost) GetTotalDiscountOk() (*float64, bool)
GetTotalDiscountOk returns a tuple with the TotalDiscount field value and a boolean to check if the value has been set.
func (SummarizedServiceCost) MarshalJSON ¶
func (o SummarizedServiceCost) MarshalJSON() ([]byte, error)
func (*SummarizedServiceCost) SetCustomerAccountId ¶
func (o *SummarizedServiceCost) SetCustomerAccountId(v string)
SetCustomerAccountId sets field value
func (*SummarizedServiceCost) SetProjectId ¶
func (o *SummarizedServiceCost) SetProjectId(v string)
SetProjectId sets field value
func (*SummarizedServiceCost) SetProjectName ¶
func (o *SummarizedServiceCost) SetProjectName(v string)
SetProjectName sets field value
func (*SummarizedServiceCost) SetTotalCharge ¶
func (o *SummarizedServiceCost) SetTotalCharge(v float64)
SetTotalCharge sets field value
func (*SummarizedServiceCost) SetTotalDiscount ¶
func (o *SummarizedServiceCost) SetTotalDiscount(v float64)
SetTotalDiscount sets field value
func (SummarizedServiceCost) ToMap ¶
func (o SummarizedServiceCost) ToMap() (map[string]interface{}, error)
func (*SummarizedServiceCost) UnmarshalJSON ¶
func (o *SummarizedServiceCost) UnmarshalJSON(data []byte) (err error)
Source Files
¶
- api_default.go
- api_default_mock.go
- client.go
- configuration.go
- model_auth_error_response.go
- model_detailed_service_cost.go
- model_error_response.go
- model_get_costs_for_project_accept_parameter.go
- model_list_costs_for_customer_accept_parameter.go
- model_list_costs_for_customer_depth_parameter.go
- model_list_costs_for_customer_granularity_parameter.go
- model_list_costs_for_reseller_accept_parameter.go
- model_project_cost.go
- model_project_cost_with_detailed_services.go
- model_project_cost_with_reports.go
- model_project_cost_with_summarized_services.go
- model_report_data.go
- model_report_data_time_period.go
- model_summarized_project_cost.go
- model_summarized_service_cost.go
- response.go
- utils.go