Documentation
¶
Index ¶
- Constants
- type Client
- func (a *Client) GetAPIUserapiSystemSmets2LiveDataSystemID(params *GetAPIUserapiSystemSmets2LiveDataSystemIDParams, ...) (*GetAPIUserapiSystemSmets2LiveDataSystemIDOK, error)
- func (a *Client) GetAPIUserapiSystemSmets2PeriodicDataSystemID(params *GetAPIUserapiSystemSmets2PeriodicDataSystemIDParams, ...) (*GetAPIUserapiSystemSmets2PeriodicDataSystemIDOK, error)
- func (a *Client) GetAPIUserapiV2UserDetailSystems(params *GetAPIUserapiV2UserDetailSystemsParams, ...) (*GetAPIUserapiV2UserDetailSystemsOK, error)
- func (a *Client) GetEpochserviceV1SystemSystemIDReadings(params *GetEpochserviceV1SystemSystemIDReadingsParams, ...) (*GetEpochserviceV1SystemSystemIDReadingsOK, error)
- func (a *Client) PostUsersserviceV2Login(params *PostUsersserviceV2LoginParams, authInfo runtime.ClientAuthInfoWriter, ...) (*PostUsersserviceV2LoginOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type ClientOption
- type ClientService
- type GetAPIUserapiSystemSmets2LiveDataSystemIDNotFound
- func (o *GetAPIUserapiSystemSmets2LiveDataSystemIDNotFound) Code() int
- func (o *GetAPIUserapiSystemSmets2LiveDataSystemIDNotFound) Error() string
- func (o *GetAPIUserapiSystemSmets2LiveDataSystemIDNotFound) IsClientError() bool
- func (o *GetAPIUserapiSystemSmets2LiveDataSystemIDNotFound) IsCode(code int) bool
- func (o *GetAPIUserapiSystemSmets2LiveDataSystemIDNotFound) IsRedirect() bool
- func (o *GetAPIUserapiSystemSmets2LiveDataSystemIDNotFound) IsServerError() bool
- func (o *GetAPIUserapiSystemSmets2LiveDataSystemIDNotFound) IsSuccess() bool
- func (o *GetAPIUserapiSystemSmets2LiveDataSystemIDNotFound) String() string
- type GetAPIUserapiSystemSmets2LiveDataSystemIDOK
- func (o *GetAPIUserapiSystemSmets2LiveDataSystemIDOK) Code() int
- func (o *GetAPIUserapiSystemSmets2LiveDataSystemIDOK) Error() string
- func (o *GetAPIUserapiSystemSmets2LiveDataSystemIDOK) GetPayload() *GetAPIUserapiSystemSmets2LiveDataSystemIDOKBody
- func (o *GetAPIUserapiSystemSmets2LiveDataSystemIDOK) IsClientError() bool
- func (o *GetAPIUserapiSystemSmets2LiveDataSystemIDOK) IsCode(code int) bool
- func (o *GetAPIUserapiSystemSmets2LiveDataSystemIDOK) IsRedirect() bool
- func (o *GetAPIUserapiSystemSmets2LiveDataSystemIDOK) IsServerError() bool
- func (o *GetAPIUserapiSystemSmets2LiveDataSystemIDOK) IsSuccess() bool
- func (o *GetAPIUserapiSystemSmets2LiveDataSystemIDOK) String() string
- type GetAPIUserapiSystemSmets2LiveDataSystemIDOKBody
- func (o *GetAPIUserapiSystemSmets2LiveDataSystemIDOKBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *GetAPIUserapiSystemSmets2LiveDataSystemIDOKBody) MarshalBinary() ([]byte, error)
- func (o *GetAPIUserapiSystemSmets2LiveDataSystemIDOKBody) UnmarshalBinary(b []byte) error
- func (o *GetAPIUserapiSystemSmets2LiveDataSystemIDOKBody) Validate(formats strfmt.Registry) error
- type GetAPIUserapiSystemSmets2LiveDataSystemIDOKBodyPowerItems0
- func (o *GetAPIUserapiSystemSmets2LiveDataSystemIDOKBodyPowerItems0) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *GetAPIUserapiSystemSmets2LiveDataSystemIDOKBodyPowerItems0) MarshalBinary() ([]byte, error)
- func (o *GetAPIUserapiSystemSmets2LiveDataSystemIDOKBodyPowerItems0) UnmarshalBinary(b []byte) error
- func (o *GetAPIUserapiSystemSmets2LiveDataSystemIDOKBodyPowerItems0) Validate(formats strfmt.Registry) error
- type GetAPIUserapiSystemSmets2LiveDataSystemIDParams
- func NewGetAPIUserapiSystemSmets2LiveDataSystemIDParams() *GetAPIUserapiSystemSmets2LiveDataSystemIDParams
- func NewGetAPIUserapiSystemSmets2LiveDataSystemIDParamsWithContext(ctx context.Context) *GetAPIUserapiSystemSmets2LiveDataSystemIDParams
- func NewGetAPIUserapiSystemSmets2LiveDataSystemIDParamsWithHTTPClient(client *http.Client) *GetAPIUserapiSystemSmets2LiveDataSystemIDParams
- func NewGetAPIUserapiSystemSmets2LiveDataSystemIDParamsWithTimeout(timeout time.Duration) *GetAPIUserapiSystemSmets2LiveDataSystemIDParams
- func (o *GetAPIUserapiSystemSmets2LiveDataSystemIDParams) SetAuthorization(authorization string)
- func (o *GetAPIUserapiSystemSmets2LiveDataSystemIDParams) SetContext(ctx context.Context)
- func (o *GetAPIUserapiSystemSmets2LiveDataSystemIDParams) SetDefaults()
- func (o *GetAPIUserapiSystemSmets2LiveDataSystemIDParams) SetHTTPClient(client *http.Client)
- func (o *GetAPIUserapiSystemSmets2LiveDataSystemIDParams) SetSystemID(systemID string)
- func (o *GetAPIUserapiSystemSmets2LiveDataSystemIDParams) SetTimeout(timeout time.Duration)
- func (o *GetAPIUserapiSystemSmets2LiveDataSystemIDParams) WithAuthorization(authorization string) *GetAPIUserapiSystemSmets2LiveDataSystemIDParams
- func (o *GetAPIUserapiSystemSmets2LiveDataSystemIDParams) WithContext(ctx context.Context) *GetAPIUserapiSystemSmets2LiveDataSystemIDParams
- func (o *GetAPIUserapiSystemSmets2LiveDataSystemIDParams) WithDefaults() *GetAPIUserapiSystemSmets2LiveDataSystemIDParams
- func (o *GetAPIUserapiSystemSmets2LiveDataSystemIDParams) WithHTTPClient(client *http.Client) *GetAPIUserapiSystemSmets2LiveDataSystemIDParams
- func (o *GetAPIUserapiSystemSmets2LiveDataSystemIDParams) WithSystemID(systemID string) *GetAPIUserapiSystemSmets2LiveDataSystemIDParams
- func (o *GetAPIUserapiSystemSmets2LiveDataSystemIDParams) WithTimeout(timeout time.Duration) *GetAPIUserapiSystemSmets2LiveDataSystemIDParams
- func (o *GetAPIUserapiSystemSmets2LiveDataSystemIDParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetAPIUserapiSystemSmets2LiveDataSystemIDReader
- type GetAPIUserapiSystemSmets2LiveDataSystemIDUnauthorized
- func (o *GetAPIUserapiSystemSmets2LiveDataSystemIDUnauthorized) Code() int
- func (o *GetAPIUserapiSystemSmets2LiveDataSystemIDUnauthorized) Error() string
- func (o *GetAPIUserapiSystemSmets2LiveDataSystemIDUnauthorized) IsClientError() bool
- func (o *GetAPIUserapiSystemSmets2LiveDataSystemIDUnauthorized) IsCode(code int) bool
- func (o *GetAPIUserapiSystemSmets2LiveDataSystemIDUnauthorized) IsRedirect() bool
- func (o *GetAPIUserapiSystemSmets2LiveDataSystemIDUnauthorized) IsServerError() bool
- func (o *GetAPIUserapiSystemSmets2LiveDataSystemIDUnauthorized) IsSuccess() bool
- func (o *GetAPIUserapiSystemSmets2LiveDataSystemIDUnauthorized) String() string
- type GetAPIUserapiSystemSmets2PeriodicDataSystemIDNotFound
- func (o *GetAPIUserapiSystemSmets2PeriodicDataSystemIDNotFound) Code() int
- func (o *GetAPIUserapiSystemSmets2PeriodicDataSystemIDNotFound) Error() string
- func (o *GetAPIUserapiSystemSmets2PeriodicDataSystemIDNotFound) IsClientError() bool
- func (o *GetAPIUserapiSystemSmets2PeriodicDataSystemIDNotFound) IsCode(code int) bool
- func (o *GetAPIUserapiSystemSmets2PeriodicDataSystemIDNotFound) IsRedirect() bool
- func (o *GetAPIUserapiSystemSmets2PeriodicDataSystemIDNotFound) IsServerError() bool
- func (o *GetAPIUserapiSystemSmets2PeriodicDataSystemIDNotFound) IsSuccess() bool
- func (o *GetAPIUserapiSystemSmets2PeriodicDataSystemIDNotFound) String() string
- type GetAPIUserapiSystemSmets2PeriodicDataSystemIDOK
- func (o *GetAPIUserapiSystemSmets2PeriodicDataSystemIDOK) Code() int
- func (o *GetAPIUserapiSystemSmets2PeriodicDataSystemIDOK) Error() string
- func (o *GetAPIUserapiSystemSmets2PeriodicDataSystemIDOK) GetPayload() *GetAPIUserapiSystemSmets2PeriodicDataSystemIDOKBody
- func (o *GetAPIUserapiSystemSmets2PeriodicDataSystemIDOK) IsClientError() bool
- func (o *GetAPIUserapiSystemSmets2PeriodicDataSystemIDOK) IsCode(code int) bool
- func (o *GetAPIUserapiSystemSmets2PeriodicDataSystemIDOK) IsRedirect() bool
- func (o *GetAPIUserapiSystemSmets2PeriodicDataSystemIDOK) IsServerError() bool
- func (o *GetAPIUserapiSystemSmets2PeriodicDataSystemIDOK) IsSuccess() bool
- func (o *GetAPIUserapiSystemSmets2PeriodicDataSystemIDOK) String() string
- type GetAPIUserapiSystemSmets2PeriodicDataSystemIDOKBody
- func (o *GetAPIUserapiSystemSmets2PeriodicDataSystemIDOKBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *GetAPIUserapiSystemSmets2PeriodicDataSystemIDOKBody) MarshalBinary() ([]byte, error)
- func (o *GetAPIUserapiSystemSmets2PeriodicDataSystemIDOKBody) UnmarshalBinary(b []byte) error
- func (o *GetAPIUserapiSystemSmets2PeriodicDataSystemIDOKBody) Validate(formats strfmt.Registry) error
- type GetAPIUserapiSystemSmets2PeriodicDataSystemIDOKBodyHistoryItems0
- func (o *GetAPIUserapiSystemSmets2PeriodicDataSystemIDOKBodyHistoryItems0) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *GetAPIUserapiSystemSmets2PeriodicDataSystemIDOKBodyHistoryItems0) MarshalBinary() ([]byte, error)
- func (o *GetAPIUserapiSystemSmets2PeriodicDataSystemIDOKBodyHistoryItems0) UnmarshalBinary(b []byte) error
- func (o *GetAPIUserapiSystemSmets2PeriodicDataSystemIDOKBodyHistoryItems0) Validate(formats strfmt.Registry) error
- type GetAPIUserapiSystemSmets2PeriodicDataSystemIDParams
- func NewGetAPIUserapiSystemSmets2PeriodicDataSystemIDParams() *GetAPIUserapiSystemSmets2PeriodicDataSystemIDParams
- func NewGetAPIUserapiSystemSmets2PeriodicDataSystemIDParamsWithContext(ctx context.Context) *GetAPIUserapiSystemSmets2PeriodicDataSystemIDParams
- func NewGetAPIUserapiSystemSmets2PeriodicDataSystemIDParamsWithHTTPClient(client *http.Client) *GetAPIUserapiSystemSmets2PeriodicDataSystemIDParams
- func NewGetAPIUserapiSystemSmets2PeriodicDataSystemIDParamsWithTimeout(timeout time.Duration) *GetAPIUserapiSystemSmets2PeriodicDataSystemIDParams
- func (o *GetAPIUserapiSystemSmets2PeriodicDataSystemIDParams) SetAuthorization(authorization string)
- func (o *GetAPIUserapiSystemSmets2PeriodicDataSystemIDParams) SetContext(ctx context.Context)
- func (o *GetAPIUserapiSystemSmets2PeriodicDataSystemIDParams) SetDefaults()
- func (o *GetAPIUserapiSystemSmets2PeriodicDataSystemIDParams) SetHTTPClient(client *http.Client)
- func (o *GetAPIUserapiSystemSmets2PeriodicDataSystemIDParams) SetSystemID(systemID string)
- func (o *GetAPIUserapiSystemSmets2PeriodicDataSystemIDParams) SetTimeout(timeout time.Duration)
- func (o *GetAPIUserapiSystemSmets2PeriodicDataSystemIDParams) WithAuthorization(authorization string) *GetAPIUserapiSystemSmets2PeriodicDataSystemIDParams
- func (o *GetAPIUserapiSystemSmets2PeriodicDataSystemIDParams) WithContext(ctx context.Context) *GetAPIUserapiSystemSmets2PeriodicDataSystemIDParams
- func (o *GetAPIUserapiSystemSmets2PeriodicDataSystemIDParams) WithDefaults() *GetAPIUserapiSystemSmets2PeriodicDataSystemIDParams
- func (o *GetAPIUserapiSystemSmets2PeriodicDataSystemIDParams) WithHTTPClient(client *http.Client) *GetAPIUserapiSystemSmets2PeriodicDataSystemIDParams
- func (o *GetAPIUserapiSystemSmets2PeriodicDataSystemIDParams) WithSystemID(systemID string) *GetAPIUserapiSystemSmets2PeriodicDataSystemIDParams
- func (o *GetAPIUserapiSystemSmets2PeriodicDataSystemIDParams) WithTimeout(timeout time.Duration) *GetAPIUserapiSystemSmets2PeriodicDataSystemIDParams
- func (o *GetAPIUserapiSystemSmets2PeriodicDataSystemIDParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetAPIUserapiSystemSmets2PeriodicDataSystemIDReader
- type GetAPIUserapiSystemSmets2PeriodicDataSystemIDUnauthorized
- func (o *GetAPIUserapiSystemSmets2PeriodicDataSystemIDUnauthorized) Code() int
- func (o *GetAPIUserapiSystemSmets2PeriodicDataSystemIDUnauthorized) Error() string
- func (o *GetAPIUserapiSystemSmets2PeriodicDataSystemIDUnauthorized) IsClientError() bool
- func (o *GetAPIUserapiSystemSmets2PeriodicDataSystemIDUnauthorized) IsCode(code int) bool
- func (o *GetAPIUserapiSystemSmets2PeriodicDataSystemIDUnauthorized) IsRedirect() bool
- func (o *GetAPIUserapiSystemSmets2PeriodicDataSystemIDUnauthorized) IsServerError() bool
- func (o *GetAPIUserapiSystemSmets2PeriodicDataSystemIDUnauthorized) IsSuccess() bool
- func (o *GetAPIUserapiSystemSmets2PeriodicDataSystemIDUnauthorized) String() string
- type GetAPIUserapiV2UserDetailSystemsOK
- func (o *GetAPIUserapiV2UserDetailSystemsOK) Code() int
- func (o *GetAPIUserapiV2UserDetailSystemsOK) Error() string
- func (o *GetAPIUserapiV2UserDetailSystemsOK) GetPayload() *GetAPIUserapiV2UserDetailSystemsOKBody
- func (o *GetAPIUserapiV2UserDetailSystemsOK) IsClientError() bool
- func (o *GetAPIUserapiV2UserDetailSystemsOK) IsCode(code int) bool
- func (o *GetAPIUserapiV2UserDetailSystemsOK) IsRedirect() bool
- func (o *GetAPIUserapiV2UserDetailSystemsOK) IsServerError() bool
- func (o *GetAPIUserapiV2UserDetailSystemsOK) IsSuccess() bool
- func (o *GetAPIUserapiV2UserDetailSystemsOK) String() string
- type GetAPIUserapiV2UserDetailSystemsOKBody
- func (o *GetAPIUserapiV2UserDetailSystemsOKBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *GetAPIUserapiV2UserDetailSystemsOKBody) MarshalBinary() ([]byte, error)
- func (o *GetAPIUserapiV2UserDetailSystemsOKBody) UnmarshalBinary(b []byte) error
- func (o *GetAPIUserapiV2UserDetailSystemsOKBody) Validate(formats strfmt.Registry) error
- type GetAPIUserapiV2UserDetailSystemsOKBodySystemDetailsItems0
- func (o *GetAPIUserapiV2UserDetailSystemsOKBodySystemDetailsItems0) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *GetAPIUserapiV2UserDetailSystemsOKBodySystemDetailsItems0) MarshalBinary() ([]byte, error)
- func (o *GetAPIUserapiV2UserDetailSystemsOKBodySystemDetailsItems0) UnmarshalBinary(b []byte) error
- func (o *GetAPIUserapiV2UserDetailSystemsOKBodySystemDetailsItems0) Validate(formats strfmt.Registry) error
- type GetAPIUserapiV2UserDetailSystemsOKBodySystemDetailsItems0DevicesItems0
- func (o *GetAPIUserapiV2UserDetailSystemsOKBodySystemDetailsItems0DevicesItems0) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *GetAPIUserapiV2UserDetailSystemsOKBodySystemDetailsItems0DevicesItems0) MarshalBinary() ([]byte, error)
- func (o *GetAPIUserapiV2UserDetailSystemsOKBodySystemDetailsItems0DevicesItems0) UnmarshalBinary(b []byte) error
- func (o *GetAPIUserapiV2UserDetailSystemsOKBodySystemDetailsItems0DevicesItems0) Validate(formats strfmt.Registry) error
- type GetAPIUserapiV2UserDetailSystemsOKBodySystemDetailsItems0DevicesItems0VersionNumber
- func (o *GetAPIUserapiV2UserDetailSystemsOKBodySystemDetailsItems0DevicesItems0VersionNumber) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *GetAPIUserapiV2UserDetailSystemsOKBodySystemDetailsItems0DevicesItems0VersionNumber) MarshalBinary() ([]byte, error)
- func (o *GetAPIUserapiV2UserDetailSystemsOKBodySystemDetailsItems0DevicesItems0VersionNumber) UnmarshalBinary(b []byte) error
- func (o *GetAPIUserapiV2UserDetailSystemsOKBodySystemDetailsItems0DevicesItems0VersionNumber) Validate(formats strfmt.Registry) error
- type GetAPIUserapiV2UserDetailSystemsOKBodySystemRolesItems0
- func (o *GetAPIUserapiV2UserDetailSystemsOKBodySystemRolesItems0) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *GetAPIUserapiV2UserDetailSystemsOKBodySystemRolesItems0) MarshalBinary() ([]byte, error)
- func (o *GetAPIUserapiV2UserDetailSystemsOKBodySystemRolesItems0) UnmarshalBinary(b []byte) error
- func (o *GetAPIUserapiV2UserDetailSystemsOKBodySystemRolesItems0) Validate(formats strfmt.Registry) error
- type GetAPIUserapiV2UserDetailSystemsParams
- func NewGetAPIUserapiV2UserDetailSystemsParams() *GetAPIUserapiV2UserDetailSystemsParams
- func NewGetAPIUserapiV2UserDetailSystemsParamsWithContext(ctx context.Context) *GetAPIUserapiV2UserDetailSystemsParams
- func NewGetAPIUserapiV2UserDetailSystemsParamsWithHTTPClient(client *http.Client) *GetAPIUserapiV2UserDetailSystemsParams
- func NewGetAPIUserapiV2UserDetailSystemsParamsWithTimeout(timeout time.Duration) *GetAPIUserapiV2UserDetailSystemsParams
- func (o *GetAPIUserapiV2UserDetailSystemsParams) SetAuthorization(authorization string)
- func (o *GetAPIUserapiV2UserDetailSystemsParams) SetContext(ctx context.Context)
- func (o *GetAPIUserapiV2UserDetailSystemsParams) SetDefaults()
- func (o *GetAPIUserapiV2UserDetailSystemsParams) SetHTTPClient(client *http.Client)
- func (o *GetAPIUserapiV2UserDetailSystemsParams) SetSystemDetails(systemDetails bool)
- func (o *GetAPIUserapiV2UserDetailSystemsParams) SetTimeout(timeout time.Duration)
- func (o *GetAPIUserapiV2UserDetailSystemsParams) WithAuthorization(authorization string) *GetAPIUserapiV2UserDetailSystemsParams
- func (o *GetAPIUserapiV2UserDetailSystemsParams) WithContext(ctx context.Context) *GetAPIUserapiV2UserDetailSystemsParams
- func (o *GetAPIUserapiV2UserDetailSystemsParams) WithDefaults() *GetAPIUserapiV2UserDetailSystemsParams
- func (o *GetAPIUserapiV2UserDetailSystemsParams) WithHTTPClient(client *http.Client) *GetAPIUserapiV2UserDetailSystemsParams
- func (o *GetAPIUserapiV2UserDetailSystemsParams) WithSystemDetails(systemDetails bool) *GetAPIUserapiV2UserDetailSystemsParams
- func (o *GetAPIUserapiV2UserDetailSystemsParams) WithTimeout(timeout time.Duration) *GetAPIUserapiV2UserDetailSystemsParams
- func (o *GetAPIUserapiV2UserDetailSystemsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetAPIUserapiV2UserDetailSystemsReader
- type GetAPIUserapiV2UserDetailSystemsUnauthorized
- func (o *GetAPIUserapiV2UserDetailSystemsUnauthorized) Code() int
- func (o *GetAPIUserapiV2UserDetailSystemsUnauthorized) Error() string
- func (o *GetAPIUserapiV2UserDetailSystemsUnauthorized) IsClientError() bool
- func (o *GetAPIUserapiV2UserDetailSystemsUnauthorized) IsCode(code int) bool
- func (o *GetAPIUserapiV2UserDetailSystemsUnauthorized) IsRedirect() bool
- func (o *GetAPIUserapiV2UserDetailSystemsUnauthorized) IsServerError() bool
- func (o *GetAPIUserapiV2UserDetailSystemsUnauthorized) IsSuccess() bool
- func (o *GetAPIUserapiV2UserDetailSystemsUnauthorized) String() string
- type GetEpochserviceV1SystemSystemIDReadingsOK
- func (o *GetEpochserviceV1SystemSystemIDReadingsOK) Code() int
- func (o *GetEpochserviceV1SystemSystemIDReadingsOK) Error() string
- func (o *GetEpochserviceV1SystemSystemIDReadingsOK) GetPayload() []*GetEpochserviceV1SystemSystemIDReadingsOKBodyItems0
- func (o *GetEpochserviceV1SystemSystemIDReadingsOK) IsClientError() bool
- func (o *GetEpochserviceV1SystemSystemIDReadingsOK) IsCode(code int) bool
- func (o *GetEpochserviceV1SystemSystemIDReadingsOK) IsRedirect() bool
- func (o *GetEpochserviceV1SystemSystemIDReadingsOK) IsServerError() bool
- func (o *GetEpochserviceV1SystemSystemIDReadingsOK) IsSuccess() bool
- func (o *GetEpochserviceV1SystemSystemIDReadingsOK) String() string
- type GetEpochserviceV1SystemSystemIDReadingsOKBodyItems0
- func (o *GetEpochserviceV1SystemSystemIDReadingsOKBodyItems0) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *GetEpochserviceV1SystemSystemIDReadingsOKBodyItems0) MarshalBinary() ([]byte, error)
- func (o *GetEpochserviceV1SystemSystemIDReadingsOKBodyItems0) UnmarshalBinary(b []byte) error
- func (o *GetEpochserviceV1SystemSystemIDReadingsOKBodyItems0) Validate(formats strfmt.Registry) error
- type GetEpochserviceV1SystemSystemIDReadingsOKBodyItems0ReadingsItems0
- func (o *GetEpochserviceV1SystemSystemIDReadingsOKBodyItems0ReadingsItems0) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *GetEpochserviceV1SystemSystemIDReadingsOKBodyItems0ReadingsItems0) MarshalBinary() ([]byte, error)
- func (o *GetEpochserviceV1SystemSystemIDReadingsOKBodyItems0ReadingsItems0) UnmarshalBinary(b []byte) error
- func (o *GetEpochserviceV1SystemSystemIDReadingsOKBodyItems0ReadingsItems0) Validate(formats strfmt.Registry) error
- type GetEpochserviceV1SystemSystemIDReadingsParams
- func NewGetEpochserviceV1SystemSystemIDReadingsParams() *GetEpochserviceV1SystemSystemIDReadingsParams
- func NewGetEpochserviceV1SystemSystemIDReadingsParamsWithContext(ctx context.Context) *GetEpochserviceV1SystemSystemIDReadingsParams
- func NewGetEpochserviceV1SystemSystemIDReadingsParamsWithHTTPClient(client *http.Client) *GetEpochserviceV1SystemSystemIDReadingsParams
- func NewGetEpochserviceV1SystemSystemIDReadingsParamsWithTimeout(timeout time.Duration) *GetEpochserviceV1SystemSystemIDReadingsParams
- func (o *GetEpochserviceV1SystemSystemIDReadingsParams) SetContext(ctx context.Context)
- func (o *GetEpochserviceV1SystemSystemIDReadingsParams) SetDefaults()
- func (o *GetEpochserviceV1SystemSystemIDReadingsParams) SetEndDate(endDate strfmt.Date)
- func (o *GetEpochserviceV1SystemSystemIDReadingsParams) SetHTTPClient(client *http.Client)
- func (o *GetEpochserviceV1SystemSystemIDReadingsParams) SetStartDate(startDate strfmt.Date)
- func (o *GetEpochserviceV1SystemSystemIDReadingsParams) SetSystemID(systemID string)
- func (o *GetEpochserviceV1SystemSystemIDReadingsParams) SetTimeout(timeout time.Duration)
- func (o *GetEpochserviceV1SystemSystemIDReadingsParams) WithContext(ctx context.Context) *GetEpochserviceV1SystemSystemIDReadingsParams
- func (o *GetEpochserviceV1SystemSystemIDReadingsParams) WithDefaults() *GetEpochserviceV1SystemSystemIDReadingsParams
- func (o *GetEpochserviceV1SystemSystemIDReadingsParams) WithEndDate(endDate strfmt.Date) *GetEpochserviceV1SystemSystemIDReadingsParams
- func (o *GetEpochserviceV1SystemSystemIDReadingsParams) WithHTTPClient(client *http.Client) *GetEpochserviceV1SystemSystemIDReadingsParams
- func (o *GetEpochserviceV1SystemSystemIDReadingsParams) WithStartDate(startDate strfmt.Date) *GetEpochserviceV1SystemSystemIDReadingsParams
- func (o *GetEpochserviceV1SystemSystemIDReadingsParams) WithSystemID(systemID string) *GetEpochserviceV1SystemSystemIDReadingsParams
- func (o *GetEpochserviceV1SystemSystemIDReadingsParams) WithTimeout(timeout time.Duration) *GetEpochserviceV1SystemSystemIDReadingsParams
- func (o *GetEpochserviceV1SystemSystemIDReadingsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetEpochserviceV1SystemSystemIDReadingsReader
- type PostUsersserviceV2LoginBody
- func (o *PostUsersserviceV2LoginBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *PostUsersserviceV2LoginBody) MarshalBinary() ([]byte, error)
- func (o *PostUsersserviceV2LoginBody) UnmarshalBinary(b []byte) error
- func (o *PostUsersserviceV2LoginBody) Validate(formats strfmt.Registry) error
- type PostUsersserviceV2LoginOK
- func (o *PostUsersserviceV2LoginOK) Code() int
- func (o *PostUsersserviceV2LoginOK) Error() string
- func (o *PostUsersserviceV2LoginOK) GetPayload() *PostUsersserviceV2LoginOKBody
- func (o *PostUsersserviceV2LoginOK) IsClientError() bool
- func (o *PostUsersserviceV2LoginOK) IsCode(code int) bool
- func (o *PostUsersserviceV2LoginOK) IsRedirect() bool
- func (o *PostUsersserviceV2LoginOK) IsServerError() bool
- func (o *PostUsersserviceV2LoginOK) IsSuccess() bool
- func (o *PostUsersserviceV2LoginOK) String() string
- type PostUsersserviceV2LoginOKBody
- func (o *PostUsersserviceV2LoginOKBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *PostUsersserviceV2LoginOKBody) MarshalBinary() ([]byte, error)
- func (o *PostUsersserviceV2LoginOKBody) UnmarshalBinary(b []byte) error
- func (o *PostUsersserviceV2LoginOKBody) Validate(formats strfmt.Registry) error
- type PostUsersserviceV2LoginParams
- func NewPostUsersserviceV2LoginParams() *PostUsersserviceV2LoginParams
- func NewPostUsersserviceV2LoginParamsWithContext(ctx context.Context) *PostUsersserviceV2LoginParams
- func NewPostUsersserviceV2LoginParamsWithHTTPClient(client *http.Client) *PostUsersserviceV2LoginParams
- func NewPostUsersserviceV2LoginParamsWithTimeout(timeout time.Duration) *PostUsersserviceV2LoginParams
- func (o *PostUsersserviceV2LoginParams) SetBody(body PostUsersserviceV2LoginBody)
- func (o *PostUsersserviceV2LoginParams) SetContext(ctx context.Context)
- func (o *PostUsersserviceV2LoginParams) SetDefaults()
- func (o *PostUsersserviceV2LoginParams) SetHTTPClient(client *http.Client)
- func (o *PostUsersserviceV2LoginParams) SetTimeout(timeout time.Duration)
- func (o *PostUsersserviceV2LoginParams) WithBody(body PostUsersserviceV2LoginBody) *PostUsersserviceV2LoginParams
- func (o *PostUsersserviceV2LoginParams) WithContext(ctx context.Context) *PostUsersserviceV2LoginParams
- func (o *PostUsersserviceV2LoginParams) WithDefaults() *PostUsersserviceV2LoginParams
- func (o *PostUsersserviceV2LoginParams) WithHTTPClient(client *http.Client) *PostUsersserviceV2LoginParams
- func (o *PostUsersserviceV2LoginParams) WithTimeout(timeout time.Duration) *PostUsersserviceV2LoginParams
- func (o *PostUsersserviceV2LoginParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PostUsersserviceV2LoginReader
- type PostUsersserviceV2LoginUnauthorized
- func (o *PostUsersserviceV2LoginUnauthorized) Code() int
- func (o *PostUsersserviceV2LoginUnauthorized) Error() string
- func (o *PostUsersserviceV2LoginUnauthorized) IsClientError() bool
- func (o *PostUsersserviceV2LoginUnauthorized) IsCode(code int) bool
- func (o *PostUsersserviceV2LoginUnauthorized) IsRedirect() bool
- func (o *PostUsersserviceV2LoginUnauthorized) IsServerError() bool
- func (o *PostUsersserviceV2LoginUnauthorized) IsSuccess() bool
- func (o *PostUsersserviceV2LoginUnauthorized) String() string
Constants ¶
const ( // GetAPIUserapiSystemSmets2LiveDataSystemIDOKBodyPowerItems0TypeELECTRICITY captures enum value "ELECTRICITY" GetAPIUserapiSystemSmets2LiveDataSystemIDOKBodyPowerItems0TypeELECTRICITY string = "ELECTRICITY" // GetAPIUserapiSystemSmets2LiveDataSystemIDOKBodyPowerItems0TypeGASENERGY captures enum value "GAS_ENERGY" GetAPIUserapiSystemSmets2LiveDataSystemIDOKBodyPowerItems0TypeGASENERGY string = "GAS_ENERGY" )
const ( // GetAPIUserapiSystemSmets2PeriodicDataSystemIDOKBodyHistoryItems0TypeELECTRICITY captures enum value "ELECTRICITY" GetAPIUserapiSystemSmets2PeriodicDataSystemIDOKBodyHistoryItems0TypeELECTRICITY string = "ELECTRICITY" // GetAPIUserapiSystemSmets2PeriodicDataSystemIDOKBodyHistoryItems0TypeGASENERGY captures enum value "GAS_ENERGY" GetAPIUserapiSystemSmets2PeriodicDataSystemIDOKBodyHistoryItems0TypeGASENERGY string = "GAS_ENERGY" )
const ( // GetEpochserviceV1SystemSystemIDReadingsOKBodyItems0ReadingsItems0EnergyTypeIMPORT captures enum value "IMPORT" GetEpochserviceV1SystemSystemIDReadingsOKBodyItems0ReadingsItems0EnergyTypeIMPORT string = "IMPORT" // GetEpochserviceV1SystemSystemIDReadingsOKBodyItems0ReadingsItems0EnergyTypeGASENERGY captures enum value "GAS_ENERGY" GetEpochserviceV1SystemSystemIDReadingsOKBodyItems0ReadingsItems0EnergyTypeGASENERGY string = "GAS_ENERGY" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client for operations API
func (*Client) GetAPIUserapiSystemSmets2LiveDataSystemID ¶
func (a *Client) GetAPIUserapiSystemSmets2LiveDataSystemID(params *GetAPIUserapiSystemSmets2LiveDataSystemIDParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetAPIUserapiSystemSmets2LiveDataSystemIDOK, error)
GetAPIUserapiSystemSmets2LiveDataSystemID retrieves live energy data
Fetches real-time electricity and gas usage.
func (*Client) GetAPIUserapiSystemSmets2PeriodicDataSystemID ¶
func (a *Client) GetAPIUserapiSystemSmets2PeriodicDataSystemID(params *GetAPIUserapiSystemSmets2PeriodicDataSystemIDParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetAPIUserapiSystemSmets2PeriodicDataSystemIDOK, error)
GetAPIUserapiSystemSmets2PeriodicDataSystemID retrieves periodic energy data
Fetches historical electricity and gas usage data.
func (*Client) GetAPIUserapiV2UserDetailSystems ¶
func (a *Client) GetAPIUserapiV2UserDetailSystems(params *GetAPIUserapiV2UserDetailSystemsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetAPIUserapiV2UserDetailSystemsOK, error)
GetAPIUserapiV2UserDetailSystems retrieves user device details
Returns a list of systems associated with the authenticated user.
func (*Client) GetEpochserviceV1SystemSystemIDReadings ¶
func (a *Client) GetEpochserviceV1SystemSystemIDReadings(params *GetEpochserviceV1SystemSystemIDReadingsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetEpochserviceV1SystemSystemIDReadingsOK, error)
GetEpochserviceV1SystemSystemIDReadings retrieves historical energy readings
Fetches historical energy consumption data for a given system within a date range.
func (*Client) PostUsersserviceV2Login ¶
func (a *Client) PostUsersserviceV2Login(params *PostUsersserviceV2LoginParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PostUsersserviceV2LoginOK, error)
PostUsersserviceV2Login authenticates user
Obtain an authentication token by providing user credentials.
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
type ClientOption ¶
type ClientOption func(*runtime.ClientOperation)
ClientOption is the option for Client methods
type ClientService ¶
type ClientService interface { GetAPIUserapiSystemSmets2LiveDataSystemID(params *GetAPIUserapiSystemSmets2LiveDataSystemIDParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetAPIUserapiSystemSmets2LiveDataSystemIDOK, error) GetAPIUserapiSystemSmets2PeriodicDataSystemID(params *GetAPIUserapiSystemSmets2PeriodicDataSystemIDParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetAPIUserapiSystemSmets2PeriodicDataSystemIDOK, error) GetAPIUserapiV2UserDetailSystems(params *GetAPIUserapiV2UserDetailSystemsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetAPIUserapiV2UserDetailSystemsOK, error) GetEpochserviceV1SystemSystemIDReadings(params *GetEpochserviceV1SystemSystemIDReadingsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetEpochserviceV1SystemSystemIDReadingsOK, error) PostUsersserviceV2Login(params *PostUsersserviceV2LoginParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PostUsersserviceV2LoginOK, error) SetTransport(transport runtime.ClientTransport) }
ClientService is the interface for Client methods
func New ¶
func New(transport runtime.ClientTransport, formats strfmt.Registry) ClientService
New creates a new operations API client.
type GetAPIUserapiSystemSmets2LiveDataSystemIDNotFound ¶
type GetAPIUserapiSystemSmets2LiveDataSystemIDNotFound struct { }
GetAPIUserapiSystemSmets2LiveDataSystemIDNotFound describes a response with status code 404, with default header values.
System ID not found
func NewGetAPIUserapiSystemSmets2LiveDataSystemIDNotFound ¶
func NewGetAPIUserapiSystemSmets2LiveDataSystemIDNotFound() *GetAPIUserapiSystemSmets2LiveDataSystemIDNotFound
NewGetAPIUserapiSystemSmets2LiveDataSystemIDNotFound creates a GetAPIUserapiSystemSmets2LiveDataSystemIDNotFound with default headers values
func (*GetAPIUserapiSystemSmets2LiveDataSystemIDNotFound) Code ¶
func (o *GetAPIUserapiSystemSmets2LiveDataSystemIDNotFound) Code() int
Code gets the status code for the get Api userapi system smets2 live data system Id not found response
func (*GetAPIUserapiSystemSmets2LiveDataSystemIDNotFound) Error ¶
func (o *GetAPIUserapiSystemSmets2LiveDataSystemIDNotFound) Error() string
func (*GetAPIUserapiSystemSmets2LiveDataSystemIDNotFound) IsClientError ¶
func (o *GetAPIUserapiSystemSmets2LiveDataSystemIDNotFound) IsClientError() bool
IsClientError returns true when this get Api userapi system smets2 live data system Id not found response has a 4xx status code
func (*GetAPIUserapiSystemSmets2LiveDataSystemIDNotFound) IsCode ¶
func (o *GetAPIUserapiSystemSmets2LiveDataSystemIDNotFound) IsCode(code int) bool
IsCode returns true when this get Api userapi system smets2 live data system Id not found response a status code equal to that given
func (*GetAPIUserapiSystemSmets2LiveDataSystemIDNotFound) IsRedirect ¶
func (o *GetAPIUserapiSystemSmets2LiveDataSystemIDNotFound) IsRedirect() bool
IsRedirect returns true when this get Api userapi system smets2 live data system Id not found response has a 3xx status code
func (*GetAPIUserapiSystemSmets2LiveDataSystemIDNotFound) IsServerError ¶
func (o *GetAPIUserapiSystemSmets2LiveDataSystemIDNotFound) IsServerError() bool
IsServerError returns true when this get Api userapi system smets2 live data system Id not found response has a 5xx status code
func (*GetAPIUserapiSystemSmets2LiveDataSystemIDNotFound) IsSuccess ¶
func (o *GetAPIUserapiSystemSmets2LiveDataSystemIDNotFound) IsSuccess() bool
IsSuccess returns true when this get Api userapi system smets2 live data system Id not found response has a 2xx status code
func (*GetAPIUserapiSystemSmets2LiveDataSystemIDNotFound) String ¶
func (o *GetAPIUserapiSystemSmets2LiveDataSystemIDNotFound) String() string
type GetAPIUserapiSystemSmets2LiveDataSystemIDOK ¶
type GetAPIUserapiSystemSmets2LiveDataSystemIDOK struct {
Payload *GetAPIUserapiSystemSmets2LiveDataSystemIDOKBody
}
GetAPIUserapiSystemSmets2LiveDataSystemIDOK describes a response with status code 200, with default header values.
Live energy data retrieved
func NewGetAPIUserapiSystemSmets2LiveDataSystemIDOK ¶
func NewGetAPIUserapiSystemSmets2LiveDataSystemIDOK() *GetAPIUserapiSystemSmets2LiveDataSystemIDOK
NewGetAPIUserapiSystemSmets2LiveDataSystemIDOK creates a GetAPIUserapiSystemSmets2LiveDataSystemIDOK with default headers values
func (*GetAPIUserapiSystemSmets2LiveDataSystemIDOK) Code ¶
func (o *GetAPIUserapiSystemSmets2LiveDataSystemIDOK) Code() int
Code gets the status code for the get Api userapi system smets2 live data system Id o k response
func (*GetAPIUserapiSystemSmets2LiveDataSystemIDOK) Error ¶
func (o *GetAPIUserapiSystemSmets2LiveDataSystemIDOK) Error() string
func (*GetAPIUserapiSystemSmets2LiveDataSystemIDOK) GetPayload ¶
func (o *GetAPIUserapiSystemSmets2LiveDataSystemIDOK) GetPayload() *GetAPIUserapiSystemSmets2LiveDataSystemIDOKBody
func (*GetAPIUserapiSystemSmets2LiveDataSystemIDOK) IsClientError ¶
func (o *GetAPIUserapiSystemSmets2LiveDataSystemIDOK) IsClientError() bool
IsClientError returns true when this get Api userapi system smets2 live data system Id o k response has a 4xx status code
func (*GetAPIUserapiSystemSmets2LiveDataSystemIDOK) IsCode ¶
func (o *GetAPIUserapiSystemSmets2LiveDataSystemIDOK) IsCode(code int) bool
IsCode returns true when this get Api userapi system smets2 live data system Id o k response a status code equal to that given
func (*GetAPIUserapiSystemSmets2LiveDataSystemIDOK) IsRedirect ¶
func (o *GetAPIUserapiSystemSmets2LiveDataSystemIDOK) IsRedirect() bool
IsRedirect returns true when this get Api userapi system smets2 live data system Id o k response has a 3xx status code
func (*GetAPIUserapiSystemSmets2LiveDataSystemIDOK) IsServerError ¶
func (o *GetAPIUserapiSystemSmets2LiveDataSystemIDOK) IsServerError() bool
IsServerError returns true when this get Api userapi system smets2 live data system Id o k response has a 5xx status code
func (*GetAPIUserapiSystemSmets2LiveDataSystemIDOK) IsSuccess ¶
func (o *GetAPIUserapiSystemSmets2LiveDataSystemIDOK) IsSuccess() bool
IsSuccess returns true when this get Api userapi system smets2 live data system Id o k response has a 2xx status code
func (*GetAPIUserapiSystemSmets2LiveDataSystemIDOK) String ¶
func (o *GetAPIUserapiSystemSmets2LiveDataSystemIDOK) String() string
type GetAPIUserapiSystemSmets2LiveDataSystemIDOKBody ¶
type GetAPIUserapiSystemSmets2LiveDataSystemIDOKBody struct { // power Power []*GetAPIUserapiSystemSmets2LiveDataSystemIDOKBodyPowerItems0 `json:"power"` }
GetAPIUserapiSystemSmets2LiveDataSystemIDOKBody get API userapi system smets2 live data system ID o k body swagger:model GetAPIUserapiSystemSmets2LiveDataSystemIDOKBody
func (*GetAPIUserapiSystemSmets2LiveDataSystemIDOKBody) ContextValidate ¶
func (o *GetAPIUserapiSystemSmets2LiveDataSystemIDOKBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this get API userapi system smets2 live data system ID o k body based on the context it is used
func (*GetAPIUserapiSystemSmets2LiveDataSystemIDOKBody) MarshalBinary ¶
func (o *GetAPIUserapiSystemSmets2LiveDataSystemIDOKBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetAPIUserapiSystemSmets2LiveDataSystemIDOKBody) UnmarshalBinary ¶
func (o *GetAPIUserapiSystemSmets2LiveDataSystemIDOKBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GetAPIUserapiSystemSmets2LiveDataSystemIDOKBodyPowerItems0 ¶
type GetAPIUserapiSystemSmets2LiveDataSystemIDOKBodyPowerItems0 struct { // type // Enum: [ELECTRICITY GAS_ENERGY] Type string `json:"type,omitempty"` // watts Watts int64 `json:"watts,omitempty"` }
GetAPIUserapiSystemSmets2LiveDataSystemIDOKBodyPowerItems0 get API userapi system smets2 live data system ID o k body power items0 swagger:model GetAPIUserapiSystemSmets2LiveDataSystemIDOKBodyPowerItems0
func (*GetAPIUserapiSystemSmets2LiveDataSystemIDOKBodyPowerItems0) ContextValidate ¶
func (o *GetAPIUserapiSystemSmets2LiveDataSystemIDOKBodyPowerItems0) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this get API userapi system smets2 live data system ID o k body power items0 based on context it is used
func (*GetAPIUserapiSystemSmets2LiveDataSystemIDOKBodyPowerItems0) MarshalBinary ¶
func (o *GetAPIUserapiSystemSmets2LiveDataSystemIDOKBodyPowerItems0) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetAPIUserapiSystemSmets2LiveDataSystemIDOKBodyPowerItems0) UnmarshalBinary ¶
func (o *GetAPIUserapiSystemSmets2LiveDataSystemIDOKBodyPowerItems0) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GetAPIUserapiSystemSmets2LiveDataSystemIDParams ¶
type GetAPIUserapiSystemSmets2LiveDataSystemIDParams struct { /* Authorization. Bearer token received from login */ Authorization string /* SystemID. Unique system identifier */ SystemID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetAPIUserapiSystemSmets2LiveDataSystemIDParams contains all the parameters to send to the API endpoint
for the get API userapi system smets2 live data system ID operation. Typically these are written to a http.Request.
func NewGetAPIUserapiSystemSmets2LiveDataSystemIDParams ¶
func NewGetAPIUserapiSystemSmets2LiveDataSystemIDParams() *GetAPIUserapiSystemSmets2LiveDataSystemIDParams
NewGetAPIUserapiSystemSmets2LiveDataSystemIDParams creates a new GetAPIUserapiSystemSmets2LiveDataSystemIDParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewGetAPIUserapiSystemSmets2LiveDataSystemIDParamsWithContext ¶
func NewGetAPIUserapiSystemSmets2LiveDataSystemIDParamsWithContext(ctx context.Context) *GetAPIUserapiSystemSmets2LiveDataSystemIDParams
NewGetAPIUserapiSystemSmets2LiveDataSystemIDParamsWithContext creates a new GetAPIUserapiSystemSmets2LiveDataSystemIDParams object with the ability to set a context for a request.
func NewGetAPIUserapiSystemSmets2LiveDataSystemIDParamsWithHTTPClient ¶
func NewGetAPIUserapiSystemSmets2LiveDataSystemIDParamsWithHTTPClient(client *http.Client) *GetAPIUserapiSystemSmets2LiveDataSystemIDParams
NewGetAPIUserapiSystemSmets2LiveDataSystemIDParamsWithHTTPClient creates a new GetAPIUserapiSystemSmets2LiveDataSystemIDParams object with the ability to set a custom HTTPClient for a request.
func NewGetAPIUserapiSystemSmets2LiveDataSystemIDParamsWithTimeout ¶
func NewGetAPIUserapiSystemSmets2LiveDataSystemIDParamsWithTimeout(timeout time.Duration) *GetAPIUserapiSystemSmets2LiveDataSystemIDParams
NewGetAPIUserapiSystemSmets2LiveDataSystemIDParamsWithTimeout creates a new GetAPIUserapiSystemSmets2LiveDataSystemIDParams object with the ability to set a timeout on a request.
func (*GetAPIUserapiSystemSmets2LiveDataSystemIDParams) SetAuthorization ¶
func (o *GetAPIUserapiSystemSmets2LiveDataSystemIDParams) SetAuthorization(authorization string)
SetAuthorization adds the authorization to the get API userapi system smets2 live data system ID params
func (*GetAPIUserapiSystemSmets2LiveDataSystemIDParams) SetContext ¶
func (o *GetAPIUserapiSystemSmets2LiveDataSystemIDParams) SetContext(ctx context.Context)
SetContext adds the context to the get API userapi system smets2 live data system ID params
func (*GetAPIUserapiSystemSmets2LiveDataSystemIDParams) SetDefaults ¶
func (o *GetAPIUserapiSystemSmets2LiveDataSystemIDParams) SetDefaults()
SetDefaults hydrates default values in the get API userapi system smets2 live data system ID params (not the query body).
All values with no default are reset to their zero value.
func (*GetAPIUserapiSystemSmets2LiveDataSystemIDParams) SetHTTPClient ¶
func (o *GetAPIUserapiSystemSmets2LiveDataSystemIDParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get API userapi system smets2 live data system ID params
func (*GetAPIUserapiSystemSmets2LiveDataSystemIDParams) SetSystemID ¶
func (o *GetAPIUserapiSystemSmets2LiveDataSystemIDParams) SetSystemID(systemID string)
SetSystemID adds the systemId to the get API userapi system smets2 live data system ID params
func (*GetAPIUserapiSystemSmets2LiveDataSystemIDParams) SetTimeout ¶
func (o *GetAPIUserapiSystemSmets2LiveDataSystemIDParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get API userapi system smets2 live data system ID params
func (*GetAPIUserapiSystemSmets2LiveDataSystemIDParams) WithAuthorization ¶
func (o *GetAPIUserapiSystemSmets2LiveDataSystemIDParams) WithAuthorization(authorization string) *GetAPIUserapiSystemSmets2LiveDataSystemIDParams
WithAuthorization adds the authorization to the get API userapi system smets2 live data system ID params
func (*GetAPIUserapiSystemSmets2LiveDataSystemIDParams) WithContext ¶
func (o *GetAPIUserapiSystemSmets2LiveDataSystemIDParams) WithContext(ctx context.Context) *GetAPIUserapiSystemSmets2LiveDataSystemIDParams
WithContext adds the context to the get API userapi system smets2 live data system ID params
func (*GetAPIUserapiSystemSmets2LiveDataSystemIDParams) WithDefaults ¶
func (o *GetAPIUserapiSystemSmets2LiveDataSystemIDParams) WithDefaults() *GetAPIUserapiSystemSmets2LiveDataSystemIDParams
WithDefaults hydrates default values in the get API userapi system smets2 live data system ID params (not the query body).
All values with no default are reset to their zero value.
func (*GetAPIUserapiSystemSmets2LiveDataSystemIDParams) WithHTTPClient ¶
func (o *GetAPIUserapiSystemSmets2LiveDataSystemIDParams) WithHTTPClient(client *http.Client) *GetAPIUserapiSystemSmets2LiveDataSystemIDParams
WithHTTPClient adds the HTTPClient to the get API userapi system smets2 live data system ID params
func (*GetAPIUserapiSystemSmets2LiveDataSystemIDParams) WithSystemID ¶
func (o *GetAPIUserapiSystemSmets2LiveDataSystemIDParams) WithSystemID(systemID string) *GetAPIUserapiSystemSmets2LiveDataSystemIDParams
WithSystemID adds the systemID to the get API userapi system smets2 live data system ID params
func (*GetAPIUserapiSystemSmets2LiveDataSystemIDParams) WithTimeout ¶
func (o *GetAPIUserapiSystemSmets2LiveDataSystemIDParams) WithTimeout(timeout time.Duration) *GetAPIUserapiSystemSmets2LiveDataSystemIDParams
WithTimeout adds the timeout to the get API userapi system smets2 live data system ID params
func (*GetAPIUserapiSystemSmets2LiveDataSystemIDParams) WriteToRequest ¶
func (o *GetAPIUserapiSystemSmets2LiveDataSystemIDParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetAPIUserapiSystemSmets2LiveDataSystemIDReader ¶
type GetAPIUserapiSystemSmets2LiveDataSystemIDReader struct {
// contains filtered or unexported fields
}
GetAPIUserapiSystemSmets2LiveDataSystemIDReader is a Reader for the GetAPIUserapiSystemSmets2LiveDataSystemID structure.
func (*GetAPIUserapiSystemSmets2LiveDataSystemIDReader) ReadResponse ¶
func (o *GetAPIUserapiSystemSmets2LiveDataSystemIDReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetAPIUserapiSystemSmets2LiveDataSystemIDUnauthorized ¶
type GetAPIUserapiSystemSmets2LiveDataSystemIDUnauthorized struct { }
GetAPIUserapiSystemSmets2LiveDataSystemIDUnauthorized describes a response with status code 401, with default header values.
Unauthorized
func NewGetAPIUserapiSystemSmets2LiveDataSystemIDUnauthorized ¶
func NewGetAPIUserapiSystemSmets2LiveDataSystemIDUnauthorized() *GetAPIUserapiSystemSmets2LiveDataSystemIDUnauthorized
NewGetAPIUserapiSystemSmets2LiveDataSystemIDUnauthorized creates a GetAPIUserapiSystemSmets2LiveDataSystemIDUnauthorized with default headers values
func (*GetAPIUserapiSystemSmets2LiveDataSystemIDUnauthorized) Code ¶
func (o *GetAPIUserapiSystemSmets2LiveDataSystemIDUnauthorized) Code() int
Code gets the status code for the get Api userapi system smets2 live data system Id unauthorized response
func (*GetAPIUserapiSystemSmets2LiveDataSystemIDUnauthorized) Error ¶
func (o *GetAPIUserapiSystemSmets2LiveDataSystemIDUnauthorized) Error() string
func (*GetAPIUserapiSystemSmets2LiveDataSystemIDUnauthorized) IsClientError ¶
func (o *GetAPIUserapiSystemSmets2LiveDataSystemIDUnauthorized) IsClientError() bool
IsClientError returns true when this get Api userapi system smets2 live data system Id unauthorized response has a 4xx status code
func (*GetAPIUserapiSystemSmets2LiveDataSystemIDUnauthorized) IsCode ¶
func (o *GetAPIUserapiSystemSmets2LiveDataSystemIDUnauthorized) IsCode(code int) bool
IsCode returns true when this get Api userapi system smets2 live data system Id unauthorized response a status code equal to that given
func (*GetAPIUserapiSystemSmets2LiveDataSystemIDUnauthorized) IsRedirect ¶
func (o *GetAPIUserapiSystemSmets2LiveDataSystemIDUnauthorized) IsRedirect() bool
IsRedirect returns true when this get Api userapi system smets2 live data system Id unauthorized response has a 3xx status code
func (*GetAPIUserapiSystemSmets2LiveDataSystemIDUnauthorized) IsServerError ¶
func (o *GetAPIUserapiSystemSmets2LiveDataSystemIDUnauthorized) IsServerError() bool
IsServerError returns true when this get Api userapi system smets2 live data system Id unauthorized response has a 5xx status code
func (*GetAPIUserapiSystemSmets2LiveDataSystemIDUnauthorized) IsSuccess ¶
func (o *GetAPIUserapiSystemSmets2LiveDataSystemIDUnauthorized) IsSuccess() bool
IsSuccess returns true when this get Api userapi system smets2 live data system Id unauthorized response has a 2xx status code
func (*GetAPIUserapiSystemSmets2LiveDataSystemIDUnauthorized) String ¶
func (o *GetAPIUserapiSystemSmets2LiveDataSystemIDUnauthorized) String() string
type GetAPIUserapiSystemSmets2PeriodicDataSystemIDNotFound ¶
type GetAPIUserapiSystemSmets2PeriodicDataSystemIDNotFound struct { }
GetAPIUserapiSystemSmets2PeriodicDataSystemIDNotFound describes a response with status code 404, with default header values.
System ID not found
func NewGetAPIUserapiSystemSmets2PeriodicDataSystemIDNotFound ¶
func NewGetAPIUserapiSystemSmets2PeriodicDataSystemIDNotFound() *GetAPIUserapiSystemSmets2PeriodicDataSystemIDNotFound
NewGetAPIUserapiSystemSmets2PeriodicDataSystemIDNotFound creates a GetAPIUserapiSystemSmets2PeriodicDataSystemIDNotFound with default headers values
func (*GetAPIUserapiSystemSmets2PeriodicDataSystemIDNotFound) Code ¶
func (o *GetAPIUserapiSystemSmets2PeriodicDataSystemIDNotFound) Code() int
Code gets the status code for the get Api userapi system smets2 periodic data system Id not found response
func (*GetAPIUserapiSystemSmets2PeriodicDataSystemIDNotFound) Error ¶
func (o *GetAPIUserapiSystemSmets2PeriodicDataSystemIDNotFound) Error() string
func (*GetAPIUserapiSystemSmets2PeriodicDataSystemIDNotFound) IsClientError ¶
func (o *GetAPIUserapiSystemSmets2PeriodicDataSystemIDNotFound) IsClientError() bool
IsClientError returns true when this get Api userapi system smets2 periodic data system Id not found response has a 4xx status code
func (*GetAPIUserapiSystemSmets2PeriodicDataSystemIDNotFound) IsCode ¶
func (o *GetAPIUserapiSystemSmets2PeriodicDataSystemIDNotFound) IsCode(code int) bool
IsCode returns true when this get Api userapi system smets2 periodic data system Id not found response a status code equal to that given
func (*GetAPIUserapiSystemSmets2PeriodicDataSystemIDNotFound) IsRedirect ¶
func (o *GetAPIUserapiSystemSmets2PeriodicDataSystemIDNotFound) IsRedirect() bool
IsRedirect returns true when this get Api userapi system smets2 periodic data system Id not found response has a 3xx status code
func (*GetAPIUserapiSystemSmets2PeriodicDataSystemIDNotFound) IsServerError ¶
func (o *GetAPIUserapiSystemSmets2PeriodicDataSystemIDNotFound) IsServerError() bool
IsServerError returns true when this get Api userapi system smets2 periodic data system Id not found response has a 5xx status code
func (*GetAPIUserapiSystemSmets2PeriodicDataSystemIDNotFound) IsSuccess ¶
func (o *GetAPIUserapiSystemSmets2PeriodicDataSystemIDNotFound) IsSuccess() bool
IsSuccess returns true when this get Api userapi system smets2 periodic data system Id not found response has a 2xx status code
func (*GetAPIUserapiSystemSmets2PeriodicDataSystemIDNotFound) String ¶
func (o *GetAPIUserapiSystemSmets2PeriodicDataSystemIDNotFound) String() string
type GetAPIUserapiSystemSmets2PeriodicDataSystemIDOK ¶
type GetAPIUserapiSystemSmets2PeriodicDataSystemIDOK struct {
Payload *GetAPIUserapiSystemSmets2PeriodicDataSystemIDOKBody
}
GetAPIUserapiSystemSmets2PeriodicDataSystemIDOK describes a response with status code 200, with default header values.
Periodic energy data retrieved
func NewGetAPIUserapiSystemSmets2PeriodicDataSystemIDOK ¶
func NewGetAPIUserapiSystemSmets2PeriodicDataSystemIDOK() *GetAPIUserapiSystemSmets2PeriodicDataSystemIDOK
NewGetAPIUserapiSystemSmets2PeriodicDataSystemIDOK creates a GetAPIUserapiSystemSmets2PeriodicDataSystemIDOK with default headers values
func (*GetAPIUserapiSystemSmets2PeriodicDataSystemIDOK) Code ¶
func (o *GetAPIUserapiSystemSmets2PeriodicDataSystemIDOK) Code() int
Code gets the status code for the get Api userapi system smets2 periodic data system Id o k response
func (*GetAPIUserapiSystemSmets2PeriodicDataSystemIDOK) Error ¶
func (o *GetAPIUserapiSystemSmets2PeriodicDataSystemIDOK) Error() string
func (*GetAPIUserapiSystemSmets2PeriodicDataSystemIDOK) GetPayload ¶
func (o *GetAPIUserapiSystemSmets2PeriodicDataSystemIDOK) GetPayload() *GetAPIUserapiSystemSmets2PeriodicDataSystemIDOKBody
func (*GetAPIUserapiSystemSmets2PeriodicDataSystemIDOK) IsClientError ¶
func (o *GetAPIUserapiSystemSmets2PeriodicDataSystemIDOK) IsClientError() bool
IsClientError returns true when this get Api userapi system smets2 periodic data system Id o k response has a 4xx status code
func (*GetAPIUserapiSystemSmets2PeriodicDataSystemIDOK) IsCode ¶
func (o *GetAPIUserapiSystemSmets2PeriodicDataSystemIDOK) IsCode(code int) bool
IsCode returns true when this get Api userapi system smets2 periodic data system Id o k response a status code equal to that given
func (*GetAPIUserapiSystemSmets2PeriodicDataSystemIDOK) IsRedirect ¶
func (o *GetAPIUserapiSystemSmets2PeriodicDataSystemIDOK) IsRedirect() bool
IsRedirect returns true when this get Api userapi system smets2 periodic data system Id o k response has a 3xx status code
func (*GetAPIUserapiSystemSmets2PeriodicDataSystemIDOK) IsServerError ¶
func (o *GetAPIUserapiSystemSmets2PeriodicDataSystemIDOK) IsServerError() bool
IsServerError returns true when this get Api userapi system smets2 periodic data system Id o k response has a 5xx status code
func (*GetAPIUserapiSystemSmets2PeriodicDataSystemIDOK) IsSuccess ¶
func (o *GetAPIUserapiSystemSmets2PeriodicDataSystemIDOK) IsSuccess() bool
IsSuccess returns true when this get Api userapi system smets2 periodic data system Id o k response has a 2xx status code
func (*GetAPIUserapiSystemSmets2PeriodicDataSystemIDOK) String ¶
func (o *GetAPIUserapiSystemSmets2PeriodicDataSystemIDOK) String() string
type GetAPIUserapiSystemSmets2PeriodicDataSystemIDOKBody ¶
type GetAPIUserapiSystemSmets2PeriodicDataSystemIDOKBody struct { // history History []*GetAPIUserapiSystemSmets2PeriodicDataSystemIDOKBodyHistoryItems0 `json:"history"` }
GetAPIUserapiSystemSmets2PeriodicDataSystemIDOKBody get API userapi system smets2 periodic data system ID o k body swagger:model GetAPIUserapiSystemSmets2PeriodicDataSystemIDOKBody
func (*GetAPIUserapiSystemSmets2PeriodicDataSystemIDOKBody) ContextValidate ¶
func (o *GetAPIUserapiSystemSmets2PeriodicDataSystemIDOKBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this get API userapi system smets2 periodic data system ID o k body based on the context it is used
func (*GetAPIUserapiSystemSmets2PeriodicDataSystemIDOKBody) MarshalBinary ¶
func (o *GetAPIUserapiSystemSmets2PeriodicDataSystemIDOKBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetAPIUserapiSystemSmets2PeriodicDataSystemIDOKBody) UnmarshalBinary ¶
func (o *GetAPIUserapiSystemSmets2PeriodicDataSystemIDOKBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GetAPIUserapiSystemSmets2PeriodicDataSystemIDOKBodyHistoryItems0 ¶
type GetAPIUserapiSystemSmets2PeriodicDataSystemIDOKBodyHistoryItems0 struct { // consumption Consumption int64 `json:"consumption,omitempty"` // timestamp // Format: date-time Timestamp strfmt.DateTime `json:"timestamp,omitempty"` // type // Enum: [ELECTRICITY GAS_ENERGY] Type string `json:"type,omitempty"` }
GetAPIUserapiSystemSmets2PeriodicDataSystemIDOKBodyHistoryItems0 get API userapi system smets2 periodic data system ID o k body history items0 swagger:model GetAPIUserapiSystemSmets2PeriodicDataSystemIDOKBodyHistoryItems0
func (*GetAPIUserapiSystemSmets2PeriodicDataSystemIDOKBodyHistoryItems0) ContextValidate ¶
func (o *GetAPIUserapiSystemSmets2PeriodicDataSystemIDOKBodyHistoryItems0) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this get API userapi system smets2 periodic data system ID o k body history items0 based on context it is used
func (*GetAPIUserapiSystemSmets2PeriodicDataSystemIDOKBodyHistoryItems0) MarshalBinary ¶
func (o *GetAPIUserapiSystemSmets2PeriodicDataSystemIDOKBodyHistoryItems0) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetAPIUserapiSystemSmets2PeriodicDataSystemIDOKBodyHistoryItems0) UnmarshalBinary ¶
func (o *GetAPIUserapiSystemSmets2PeriodicDataSystemIDOKBodyHistoryItems0) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
func (*GetAPIUserapiSystemSmets2PeriodicDataSystemIDOKBodyHistoryItems0) Validate ¶
func (o *GetAPIUserapiSystemSmets2PeriodicDataSystemIDOKBodyHistoryItems0) Validate(formats strfmt.Registry) error
Validate validates this get API userapi system smets2 periodic data system ID o k body history items0
type GetAPIUserapiSystemSmets2PeriodicDataSystemIDParams ¶
type GetAPIUserapiSystemSmets2PeriodicDataSystemIDParams struct { /* Authorization. Bearer token received from login */ Authorization string /* SystemID. Unique system identifier */ SystemID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetAPIUserapiSystemSmets2PeriodicDataSystemIDParams contains all the parameters to send to the API endpoint
for the get API userapi system smets2 periodic data system ID operation. Typically these are written to a http.Request.
func NewGetAPIUserapiSystemSmets2PeriodicDataSystemIDParams ¶
func NewGetAPIUserapiSystemSmets2PeriodicDataSystemIDParams() *GetAPIUserapiSystemSmets2PeriodicDataSystemIDParams
NewGetAPIUserapiSystemSmets2PeriodicDataSystemIDParams creates a new GetAPIUserapiSystemSmets2PeriodicDataSystemIDParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewGetAPIUserapiSystemSmets2PeriodicDataSystemIDParamsWithContext ¶
func NewGetAPIUserapiSystemSmets2PeriodicDataSystemIDParamsWithContext(ctx context.Context) *GetAPIUserapiSystemSmets2PeriodicDataSystemIDParams
NewGetAPIUserapiSystemSmets2PeriodicDataSystemIDParamsWithContext creates a new GetAPIUserapiSystemSmets2PeriodicDataSystemIDParams object with the ability to set a context for a request.
func NewGetAPIUserapiSystemSmets2PeriodicDataSystemIDParamsWithHTTPClient ¶
func NewGetAPIUserapiSystemSmets2PeriodicDataSystemIDParamsWithHTTPClient(client *http.Client) *GetAPIUserapiSystemSmets2PeriodicDataSystemIDParams
NewGetAPIUserapiSystemSmets2PeriodicDataSystemIDParamsWithHTTPClient creates a new GetAPIUserapiSystemSmets2PeriodicDataSystemIDParams object with the ability to set a custom HTTPClient for a request.
func NewGetAPIUserapiSystemSmets2PeriodicDataSystemIDParamsWithTimeout ¶
func NewGetAPIUserapiSystemSmets2PeriodicDataSystemIDParamsWithTimeout(timeout time.Duration) *GetAPIUserapiSystemSmets2PeriodicDataSystemIDParams
NewGetAPIUserapiSystemSmets2PeriodicDataSystemIDParamsWithTimeout creates a new GetAPIUserapiSystemSmets2PeriodicDataSystemIDParams object with the ability to set a timeout on a request.
func (*GetAPIUserapiSystemSmets2PeriodicDataSystemIDParams) SetAuthorization ¶
func (o *GetAPIUserapiSystemSmets2PeriodicDataSystemIDParams) SetAuthorization(authorization string)
SetAuthorization adds the authorization to the get API userapi system smets2 periodic data system ID params
func (*GetAPIUserapiSystemSmets2PeriodicDataSystemIDParams) SetContext ¶
func (o *GetAPIUserapiSystemSmets2PeriodicDataSystemIDParams) SetContext(ctx context.Context)
SetContext adds the context to the get API userapi system smets2 periodic data system ID params
func (*GetAPIUserapiSystemSmets2PeriodicDataSystemIDParams) SetDefaults ¶
func (o *GetAPIUserapiSystemSmets2PeriodicDataSystemIDParams) SetDefaults()
SetDefaults hydrates default values in the get API userapi system smets2 periodic data system ID params (not the query body).
All values with no default are reset to their zero value.
func (*GetAPIUserapiSystemSmets2PeriodicDataSystemIDParams) SetHTTPClient ¶
func (o *GetAPIUserapiSystemSmets2PeriodicDataSystemIDParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get API userapi system smets2 periodic data system ID params
func (*GetAPIUserapiSystemSmets2PeriodicDataSystemIDParams) SetSystemID ¶
func (o *GetAPIUserapiSystemSmets2PeriodicDataSystemIDParams) SetSystemID(systemID string)
SetSystemID adds the systemId to the get API userapi system smets2 periodic data system ID params
func (*GetAPIUserapiSystemSmets2PeriodicDataSystemIDParams) SetTimeout ¶
func (o *GetAPIUserapiSystemSmets2PeriodicDataSystemIDParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get API userapi system smets2 periodic data system ID params
func (*GetAPIUserapiSystemSmets2PeriodicDataSystemIDParams) WithAuthorization ¶
func (o *GetAPIUserapiSystemSmets2PeriodicDataSystemIDParams) WithAuthorization(authorization string) *GetAPIUserapiSystemSmets2PeriodicDataSystemIDParams
WithAuthorization adds the authorization to the get API userapi system smets2 periodic data system ID params
func (*GetAPIUserapiSystemSmets2PeriodicDataSystemIDParams) WithContext ¶
func (o *GetAPIUserapiSystemSmets2PeriodicDataSystemIDParams) WithContext(ctx context.Context) *GetAPIUserapiSystemSmets2PeriodicDataSystemIDParams
WithContext adds the context to the get API userapi system smets2 periodic data system ID params
func (*GetAPIUserapiSystemSmets2PeriodicDataSystemIDParams) WithDefaults ¶
func (o *GetAPIUserapiSystemSmets2PeriodicDataSystemIDParams) WithDefaults() *GetAPIUserapiSystemSmets2PeriodicDataSystemIDParams
WithDefaults hydrates default values in the get API userapi system smets2 periodic data system ID params (not the query body).
All values with no default are reset to their zero value.
func (*GetAPIUserapiSystemSmets2PeriodicDataSystemIDParams) WithHTTPClient ¶
func (o *GetAPIUserapiSystemSmets2PeriodicDataSystemIDParams) WithHTTPClient(client *http.Client) *GetAPIUserapiSystemSmets2PeriodicDataSystemIDParams
WithHTTPClient adds the HTTPClient to the get API userapi system smets2 periodic data system ID params
func (*GetAPIUserapiSystemSmets2PeriodicDataSystemIDParams) WithSystemID ¶
func (o *GetAPIUserapiSystemSmets2PeriodicDataSystemIDParams) WithSystemID(systemID string) *GetAPIUserapiSystemSmets2PeriodicDataSystemIDParams
WithSystemID adds the systemID to the get API userapi system smets2 periodic data system ID params
func (*GetAPIUserapiSystemSmets2PeriodicDataSystemIDParams) WithTimeout ¶
func (o *GetAPIUserapiSystemSmets2PeriodicDataSystemIDParams) WithTimeout(timeout time.Duration) *GetAPIUserapiSystemSmets2PeriodicDataSystemIDParams
WithTimeout adds the timeout to the get API userapi system smets2 periodic data system ID params
func (*GetAPIUserapiSystemSmets2PeriodicDataSystemIDParams) WriteToRequest ¶
func (o *GetAPIUserapiSystemSmets2PeriodicDataSystemIDParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetAPIUserapiSystemSmets2PeriodicDataSystemIDReader ¶
type GetAPIUserapiSystemSmets2PeriodicDataSystemIDReader struct {
// contains filtered or unexported fields
}
GetAPIUserapiSystemSmets2PeriodicDataSystemIDReader is a Reader for the GetAPIUserapiSystemSmets2PeriodicDataSystemID structure.
func (*GetAPIUserapiSystemSmets2PeriodicDataSystemIDReader) ReadResponse ¶
func (o *GetAPIUserapiSystemSmets2PeriodicDataSystemIDReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetAPIUserapiSystemSmets2PeriodicDataSystemIDUnauthorized ¶
type GetAPIUserapiSystemSmets2PeriodicDataSystemIDUnauthorized struct { }
GetAPIUserapiSystemSmets2PeriodicDataSystemIDUnauthorized describes a response with status code 401, with default header values.
Unauthorized
func NewGetAPIUserapiSystemSmets2PeriodicDataSystemIDUnauthorized ¶
func NewGetAPIUserapiSystemSmets2PeriodicDataSystemIDUnauthorized() *GetAPIUserapiSystemSmets2PeriodicDataSystemIDUnauthorized
NewGetAPIUserapiSystemSmets2PeriodicDataSystemIDUnauthorized creates a GetAPIUserapiSystemSmets2PeriodicDataSystemIDUnauthorized with default headers values
func (*GetAPIUserapiSystemSmets2PeriodicDataSystemIDUnauthorized) Code ¶
func (o *GetAPIUserapiSystemSmets2PeriodicDataSystemIDUnauthorized) Code() int
Code gets the status code for the get Api userapi system smets2 periodic data system Id unauthorized response
func (*GetAPIUserapiSystemSmets2PeriodicDataSystemIDUnauthorized) Error ¶
func (o *GetAPIUserapiSystemSmets2PeriodicDataSystemIDUnauthorized) Error() string
func (*GetAPIUserapiSystemSmets2PeriodicDataSystemIDUnauthorized) IsClientError ¶
func (o *GetAPIUserapiSystemSmets2PeriodicDataSystemIDUnauthorized) IsClientError() bool
IsClientError returns true when this get Api userapi system smets2 periodic data system Id unauthorized response has a 4xx status code
func (*GetAPIUserapiSystemSmets2PeriodicDataSystemIDUnauthorized) IsCode ¶
func (o *GetAPIUserapiSystemSmets2PeriodicDataSystemIDUnauthorized) IsCode(code int) bool
IsCode returns true when this get Api userapi system smets2 periodic data system Id unauthorized response a status code equal to that given
func (*GetAPIUserapiSystemSmets2PeriodicDataSystemIDUnauthorized) IsRedirect ¶
func (o *GetAPIUserapiSystemSmets2PeriodicDataSystemIDUnauthorized) IsRedirect() bool
IsRedirect returns true when this get Api userapi system smets2 periodic data system Id unauthorized response has a 3xx status code
func (*GetAPIUserapiSystemSmets2PeriodicDataSystemIDUnauthorized) IsServerError ¶
func (o *GetAPIUserapiSystemSmets2PeriodicDataSystemIDUnauthorized) IsServerError() bool
IsServerError returns true when this get Api userapi system smets2 periodic data system Id unauthorized response has a 5xx status code
func (*GetAPIUserapiSystemSmets2PeriodicDataSystemIDUnauthorized) IsSuccess ¶
func (o *GetAPIUserapiSystemSmets2PeriodicDataSystemIDUnauthorized) IsSuccess() bool
IsSuccess returns true when this get Api userapi system smets2 periodic data system Id unauthorized response has a 2xx status code
func (*GetAPIUserapiSystemSmets2PeriodicDataSystemIDUnauthorized) String ¶
func (o *GetAPIUserapiSystemSmets2PeriodicDataSystemIDUnauthorized) String() string
type GetAPIUserapiV2UserDetailSystemsOK ¶
type GetAPIUserapiV2UserDetailSystemsOK struct {
Payload *GetAPIUserapiV2UserDetailSystemsOKBody
}
GetAPIUserapiV2UserDetailSystemsOK describes a response with status code 200, with default header values.
Device details retrieved
func NewGetAPIUserapiV2UserDetailSystemsOK ¶
func NewGetAPIUserapiV2UserDetailSystemsOK() *GetAPIUserapiV2UserDetailSystemsOK
NewGetAPIUserapiV2UserDetailSystemsOK creates a GetAPIUserapiV2UserDetailSystemsOK with default headers values
func (*GetAPIUserapiV2UserDetailSystemsOK) Code ¶
func (o *GetAPIUserapiV2UserDetailSystemsOK) Code() int
Code gets the status code for the get Api userapi v2 user detail systems o k response
func (*GetAPIUserapiV2UserDetailSystemsOK) Error ¶
func (o *GetAPIUserapiV2UserDetailSystemsOK) Error() string
func (*GetAPIUserapiV2UserDetailSystemsOK) GetPayload ¶
func (o *GetAPIUserapiV2UserDetailSystemsOK) GetPayload() *GetAPIUserapiV2UserDetailSystemsOKBody
func (*GetAPIUserapiV2UserDetailSystemsOK) IsClientError ¶
func (o *GetAPIUserapiV2UserDetailSystemsOK) IsClientError() bool
IsClientError returns true when this get Api userapi v2 user detail systems o k response has a 4xx status code
func (*GetAPIUserapiV2UserDetailSystemsOK) IsCode ¶
func (o *GetAPIUserapiV2UserDetailSystemsOK) IsCode(code int) bool
IsCode returns true when this get Api userapi v2 user detail systems o k response a status code equal to that given
func (*GetAPIUserapiV2UserDetailSystemsOK) IsRedirect ¶
func (o *GetAPIUserapiV2UserDetailSystemsOK) IsRedirect() bool
IsRedirect returns true when this get Api userapi v2 user detail systems o k response has a 3xx status code
func (*GetAPIUserapiV2UserDetailSystemsOK) IsServerError ¶
func (o *GetAPIUserapiV2UserDetailSystemsOK) IsServerError() bool
IsServerError returns true when this get Api userapi v2 user detail systems o k response has a 5xx status code
func (*GetAPIUserapiV2UserDetailSystemsOK) IsSuccess ¶
func (o *GetAPIUserapiV2UserDetailSystemsOK) IsSuccess() bool
IsSuccess returns true when this get Api userapi v2 user detail systems o k response has a 2xx status code
func (*GetAPIUserapiV2UserDetailSystemsOK) String ¶
func (o *GetAPIUserapiV2UserDetailSystemsOK) String() string
type GetAPIUserapiV2UserDetailSystemsOKBody ¶
type GetAPIUserapiV2UserDetailSystemsOKBody struct { // system details SystemDetails []*GetAPIUserapiV2UserDetailSystemsOKBodySystemDetailsItems0 `json:"systemDetails"` // system roles SystemRoles []*GetAPIUserapiV2UserDetailSystemsOKBodySystemRolesItems0 `json:"systemRoles"` }
GetAPIUserapiV2UserDetailSystemsOKBody get API userapi v2 user detail systems o k body swagger:model GetAPIUserapiV2UserDetailSystemsOKBody
func (*GetAPIUserapiV2UserDetailSystemsOKBody) ContextValidate ¶
func (o *GetAPIUserapiV2UserDetailSystemsOKBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this get API userapi v2 user detail systems o k body based on the context it is used
func (*GetAPIUserapiV2UserDetailSystemsOKBody) MarshalBinary ¶
func (o *GetAPIUserapiV2UserDetailSystemsOKBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetAPIUserapiV2UserDetailSystemsOKBody) UnmarshalBinary ¶
func (o *GetAPIUserapiV2UserDetailSystemsOKBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GetAPIUserapiV2UserDetailSystemsOKBodySystemDetailsItems0 ¶
type GetAPIUserapiV2UserDetailSystemsOKBodySystemDetailsItems0 struct { // devices Devices []*GetAPIUserapiV2UserDetailSystemsOKBodySystemDetailsItems0DevicesItems0 `json:"devices"` // name Name string `json:"name,omitempty"` // system Id SystemID string `json:"systemId,omitempty"` }
GetAPIUserapiV2UserDetailSystemsOKBodySystemDetailsItems0 get API userapi v2 user detail systems o k body system details items0 swagger:model GetAPIUserapiV2UserDetailSystemsOKBodySystemDetailsItems0
func (*GetAPIUserapiV2UserDetailSystemsOKBodySystemDetailsItems0) ContextValidate ¶
func (o *GetAPIUserapiV2UserDetailSystemsOKBodySystemDetailsItems0) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this get API userapi v2 user detail systems o k body system details items0 based on the context it is used
func (*GetAPIUserapiV2UserDetailSystemsOKBodySystemDetailsItems0) MarshalBinary ¶
func (o *GetAPIUserapiV2UserDetailSystemsOKBodySystemDetailsItems0) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetAPIUserapiV2UserDetailSystemsOKBodySystemDetailsItems0) UnmarshalBinary ¶
func (o *GetAPIUserapiV2UserDetailSystemsOKBodySystemDetailsItems0) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GetAPIUserapiV2UserDetailSystemsOKBodySystemDetailsItems0DevicesItems0 ¶
type GetAPIUserapiV2UserDetailSystemsOKBodySystemDetailsItems0DevicesItems0 struct { // device type DeviceType string `json:"deviceType,omitempty"` // node Id NodeID int64 `json:"nodeId,omitempty"` // paired timestamp PairedTimestamp int64 `json:"pairedTimestamp,omitempty"` // pairing code PairingCode string `json:"pairingCode,omitempty"` // sensor type SensorType int64 `json:"sensorType,omitempty"` // upgrade required UpgradeRequired bool `json:"upgradeRequired,omitempty"` // version number VersionNumber *GetAPIUserapiV2UserDetailSystemsOKBodySystemDetailsItems0DevicesItems0VersionNumber `json:"versionNumber,omitempty"` }
GetAPIUserapiV2UserDetailSystemsOKBodySystemDetailsItems0DevicesItems0 get API userapi v2 user detail systems o k body system details items0 devices items0 swagger:model GetAPIUserapiV2UserDetailSystemsOKBodySystemDetailsItems0DevicesItems0
func (*GetAPIUserapiV2UserDetailSystemsOKBodySystemDetailsItems0DevicesItems0) ContextValidate ¶
func (o *GetAPIUserapiV2UserDetailSystemsOKBodySystemDetailsItems0DevicesItems0) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this get API userapi v2 user detail systems o k body system details items0 devices items0 based on the context it is used
func (*GetAPIUserapiV2UserDetailSystemsOKBodySystemDetailsItems0DevicesItems0) MarshalBinary ¶
func (o *GetAPIUserapiV2UserDetailSystemsOKBodySystemDetailsItems0DevicesItems0) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetAPIUserapiV2UserDetailSystemsOKBodySystemDetailsItems0DevicesItems0) UnmarshalBinary ¶
func (o *GetAPIUserapiV2UserDetailSystemsOKBodySystemDetailsItems0DevicesItems0) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
func (*GetAPIUserapiV2UserDetailSystemsOKBodySystemDetailsItems0DevicesItems0) Validate ¶
func (o *GetAPIUserapiV2UserDetailSystemsOKBodySystemDetailsItems0DevicesItems0) Validate(formats strfmt.Registry) error
Validate validates this get API userapi v2 user detail systems o k body system details items0 devices items0
type GetAPIUserapiV2UserDetailSystemsOKBodySystemDetailsItems0DevicesItems0VersionNumber ¶
type GetAPIUserapiV2UserDetailSystemsOKBodySystemDetailsItems0DevicesItems0VersionNumber struct { // major Major int64 `json:"major,omitempty"` // minor Minor int64 `json:"minor,omitempty"` }
GetAPIUserapiV2UserDetailSystemsOKBodySystemDetailsItems0DevicesItems0VersionNumber get API userapi v2 user detail systems o k body system details items0 devices items0 version number swagger:model GetAPIUserapiV2UserDetailSystemsOKBodySystemDetailsItems0DevicesItems0VersionNumber
func (*GetAPIUserapiV2UserDetailSystemsOKBodySystemDetailsItems0DevicesItems0VersionNumber) ContextValidate ¶
func (o *GetAPIUserapiV2UserDetailSystemsOKBodySystemDetailsItems0DevicesItems0VersionNumber) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this get API userapi v2 user detail systems o k body system details items0 devices items0 version number based on context it is used
func (*GetAPIUserapiV2UserDetailSystemsOKBodySystemDetailsItems0DevicesItems0VersionNumber) MarshalBinary ¶
func (o *GetAPIUserapiV2UserDetailSystemsOKBodySystemDetailsItems0DevicesItems0VersionNumber) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetAPIUserapiV2UserDetailSystemsOKBodySystemDetailsItems0DevicesItems0VersionNumber) UnmarshalBinary ¶
func (o *GetAPIUserapiV2UserDetailSystemsOKBodySystemDetailsItems0DevicesItems0VersionNumber) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
func (*GetAPIUserapiV2UserDetailSystemsOKBodySystemDetailsItems0DevicesItems0VersionNumber) Validate ¶
func (o *GetAPIUserapiV2UserDetailSystemsOKBodySystemDetailsItems0DevicesItems0VersionNumber) Validate(formats strfmt.Registry) error
Validate validates this get API userapi v2 user detail systems o k body system details items0 devices items0 version number
type GetAPIUserapiV2UserDetailSystemsOKBodySystemRolesItems0 ¶
type GetAPIUserapiV2UserDetailSystemsOKBodySystemRolesItems0 struct { // name Name string `json:"name,omitempty"` // roles Roles []string `json:"roles"` // system Id SystemID string `json:"systemId,omitempty"` }
GetAPIUserapiV2UserDetailSystemsOKBodySystemRolesItems0 get API userapi v2 user detail systems o k body system roles items0 swagger:model GetAPIUserapiV2UserDetailSystemsOKBodySystemRolesItems0
func (*GetAPIUserapiV2UserDetailSystemsOKBodySystemRolesItems0) ContextValidate ¶
func (o *GetAPIUserapiV2UserDetailSystemsOKBodySystemRolesItems0) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this get API userapi v2 user detail systems o k body system roles items0 based on context it is used
func (*GetAPIUserapiV2UserDetailSystemsOKBodySystemRolesItems0) MarshalBinary ¶
func (o *GetAPIUserapiV2UserDetailSystemsOKBodySystemRolesItems0) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetAPIUserapiV2UserDetailSystemsOKBodySystemRolesItems0) UnmarshalBinary ¶
func (o *GetAPIUserapiV2UserDetailSystemsOKBodySystemRolesItems0) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GetAPIUserapiV2UserDetailSystemsParams ¶
type GetAPIUserapiV2UserDetailSystemsParams struct { /* Authorization. Bearer token received from login */ Authorization string // SystemDetails. // // Default: true SystemDetails bool Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetAPIUserapiV2UserDetailSystemsParams contains all the parameters to send to the API endpoint
for the get API userapi v2 user detail systems operation. Typically these are written to a http.Request.
func NewGetAPIUserapiV2UserDetailSystemsParams ¶
func NewGetAPIUserapiV2UserDetailSystemsParams() *GetAPIUserapiV2UserDetailSystemsParams
NewGetAPIUserapiV2UserDetailSystemsParams creates a new GetAPIUserapiV2UserDetailSystemsParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewGetAPIUserapiV2UserDetailSystemsParamsWithContext ¶
func NewGetAPIUserapiV2UserDetailSystemsParamsWithContext(ctx context.Context) *GetAPIUserapiV2UserDetailSystemsParams
NewGetAPIUserapiV2UserDetailSystemsParamsWithContext creates a new GetAPIUserapiV2UserDetailSystemsParams object with the ability to set a context for a request.
func NewGetAPIUserapiV2UserDetailSystemsParamsWithHTTPClient ¶
func NewGetAPIUserapiV2UserDetailSystemsParamsWithHTTPClient(client *http.Client) *GetAPIUserapiV2UserDetailSystemsParams
NewGetAPIUserapiV2UserDetailSystemsParamsWithHTTPClient creates a new GetAPIUserapiV2UserDetailSystemsParams object with the ability to set a custom HTTPClient for a request.
func NewGetAPIUserapiV2UserDetailSystemsParamsWithTimeout ¶
func NewGetAPIUserapiV2UserDetailSystemsParamsWithTimeout(timeout time.Duration) *GetAPIUserapiV2UserDetailSystemsParams
NewGetAPIUserapiV2UserDetailSystemsParamsWithTimeout creates a new GetAPIUserapiV2UserDetailSystemsParams object with the ability to set a timeout on a request.
func (*GetAPIUserapiV2UserDetailSystemsParams) SetAuthorization ¶
func (o *GetAPIUserapiV2UserDetailSystemsParams) SetAuthorization(authorization string)
SetAuthorization adds the authorization to the get API userapi v2 user detail systems params
func (*GetAPIUserapiV2UserDetailSystemsParams) SetContext ¶
func (o *GetAPIUserapiV2UserDetailSystemsParams) SetContext(ctx context.Context)
SetContext adds the context to the get API userapi v2 user detail systems params
func (*GetAPIUserapiV2UserDetailSystemsParams) SetDefaults ¶
func (o *GetAPIUserapiV2UserDetailSystemsParams) SetDefaults()
SetDefaults hydrates default values in the get API userapi v2 user detail systems params (not the query body).
All values with no default are reset to their zero value.
func (*GetAPIUserapiV2UserDetailSystemsParams) SetHTTPClient ¶
func (o *GetAPIUserapiV2UserDetailSystemsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get API userapi v2 user detail systems params
func (*GetAPIUserapiV2UserDetailSystemsParams) SetSystemDetails ¶
func (o *GetAPIUserapiV2UserDetailSystemsParams) SetSystemDetails(systemDetails bool)
SetSystemDetails adds the systemDetails to the get API userapi v2 user detail systems params
func (*GetAPIUserapiV2UserDetailSystemsParams) SetTimeout ¶
func (o *GetAPIUserapiV2UserDetailSystemsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get API userapi v2 user detail systems params
func (*GetAPIUserapiV2UserDetailSystemsParams) WithAuthorization ¶
func (o *GetAPIUserapiV2UserDetailSystemsParams) WithAuthorization(authorization string) *GetAPIUserapiV2UserDetailSystemsParams
WithAuthorization adds the authorization to the get API userapi v2 user detail systems params
func (*GetAPIUserapiV2UserDetailSystemsParams) WithContext ¶
func (o *GetAPIUserapiV2UserDetailSystemsParams) WithContext(ctx context.Context) *GetAPIUserapiV2UserDetailSystemsParams
WithContext adds the context to the get API userapi v2 user detail systems params
func (*GetAPIUserapiV2UserDetailSystemsParams) WithDefaults ¶
func (o *GetAPIUserapiV2UserDetailSystemsParams) WithDefaults() *GetAPIUserapiV2UserDetailSystemsParams
WithDefaults hydrates default values in the get API userapi v2 user detail systems params (not the query body).
All values with no default are reset to their zero value.
func (*GetAPIUserapiV2UserDetailSystemsParams) WithHTTPClient ¶
func (o *GetAPIUserapiV2UserDetailSystemsParams) WithHTTPClient(client *http.Client) *GetAPIUserapiV2UserDetailSystemsParams
WithHTTPClient adds the HTTPClient to the get API userapi v2 user detail systems params
func (*GetAPIUserapiV2UserDetailSystemsParams) WithSystemDetails ¶
func (o *GetAPIUserapiV2UserDetailSystemsParams) WithSystemDetails(systemDetails bool) *GetAPIUserapiV2UserDetailSystemsParams
WithSystemDetails adds the systemDetails to the get API userapi v2 user detail systems params
func (*GetAPIUserapiV2UserDetailSystemsParams) WithTimeout ¶
func (o *GetAPIUserapiV2UserDetailSystemsParams) WithTimeout(timeout time.Duration) *GetAPIUserapiV2UserDetailSystemsParams
WithTimeout adds the timeout to the get API userapi v2 user detail systems params
func (*GetAPIUserapiV2UserDetailSystemsParams) WriteToRequest ¶
func (o *GetAPIUserapiV2UserDetailSystemsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetAPIUserapiV2UserDetailSystemsReader ¶
type GetAPIUserapiV2UserDetailSystemsReader struct {
// contains filtered or unexported fields
}
GetAPIUserapiV2UserDetailSystemsReader is a Reader for the GetAPIUserapiV2UserDetailSystems structure.
func (*GetAPIUserapiV2UserDetailSystemsReader) ReadResponse ¶
func (o *GetAPIUserapiV2UserDetailSystemsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetAPIUserapiV2UserDetailSystemsUnauthorized ¶
type GetAPIUserapiV2UserDetailSystemsUnauthorized struct { }
GetAPIUserapiV2UserDetailSystemsUnauthorized describes a response with status code 401, with default header values.
Unauthorized
func NewGetAPIUserapiV2UserDetailSystemsUnauthorized ¶
func NewGetAPIUserapiV2UserDetailSystemsUnauthorized() *GetAPIUserapiV2UserDetailSystemsUnauthorized
NewGetAPIUserapiV2UserDetailSystemsUnauthorized creates a GetAPIUserapiV2UserDetailSystemsUnauthorized with default headers values
func (*GetAPIUserapiV2UserDetailSystemsUnauthorized) Code ¶
func (o *GetAPIUserapiV2UserDetailSystemsUnauthorized) Code() int
Code gets the status code for the get Api userapi v2 user detail systems unauthorized response
func (*GetAPIUserapiV2UserDetailSystemsUnauthorized) Error ¶
func (o *GetAPIUserapiV2UserDetailSystemsUnauthorized) Error() string
func (*GetAPIUserapiV2UserDetailSystemsUnauthorized) IsClientError ¶
func (o *GetAPIUserapiV2UserDetailSystemsUnauthorized) IsClientError() bool
IsClientError returns true when this get Api userapi v2 user detail systems unauthorized response has a 4xx status code
func (*GetAPIUserapiV2UserDetailSystemsUnauthorized) IsCode ¶
func (o *GetAPIUserapiV2UserDetailSystemsUnauthorized) IsCode(code int) bool
IsCode returns true when this get Api userapi v2 user detail systems unauthorized response a status code equal to that given
func (*GetAPIUserapiV2UserDetailSystemsUnauthorized) IsRedirect ¶
func (o *GetAPIUserapiV2UserDetailSystemsUnauthorized) IsRedirect() bool
IsRedirect returns true when this get Api userapi v2 user detail systems unauthorized response has a 3xx status code
func (*GetAPIUserapiV2UserDetailSystemsUnauthorized) IsServerError ¶
func (o *GetAPIUserapiV2UserDetailSystemsUnauthorized) IsServerError() bool
IsServerError returns true when this get Api userapi v2 user detail systems unauthorized response has a 5xx status code
func (*GetAPIUserapiV2UserDetailSystemsUnauthorized) IsSuccess ¶
func (o *GetAPIUserapiV2UserDetailSystemsUnauthorized) IsSuccess() bool
IsSuccess returns true when this get Api userapi v2 user detail systems unauthorized response has a 2xx status code
func (*GetAPIUserapiV2UserDetailSystemsUnauthorized) String ¶
func (o *GetAPIUserapiV2UserDetailSystemsUnauthorized) String() string
type GetEpochserviceV1SystemSystemIDReadingsOK ¶
type GetEpochserviceV1SystemSystemIDReadingsOK struct {
Payload []*GetEpochserviceV1SystemSystemIDReadingsOKBodyItems0
}
GetEpochserviceV1SystemSystemIDReadingsOK describes a response with status code 200, with default header values.
Successful retrieval of energy readings.
func NewGetEpochserviceV1SystemSystemIDReadingsOK ¶
func NewGetEpochserviceV1SystemSystemIDReadingsOK() *GetEpochserviceV1SystemSystemIDReadingsOK
NewGetEpochserviceV1SystemSystemIDReadingsOK creates a GetEpochserviceV1SystemSystemIDReadingsOK with default headers values
func (*GetEpochserviceV1SystemSystemIDReadingsOK) Code ¶
func (o *GetEpochserviceV1SystemSystemIDReadingsOK) Code() int
Code gets the status code for the get epochservice v1 system system Id readings o k response
func (*GetEpochserviceV1SystemSystemIDReadingsOK) Error ¶
func (o *GetEpochserviceV1SystemSystemIDReadingsOK) Error() string
func (*GetEpochserviceV1SystemSystemIDReadingsOK) GetPayload ¶
func (o *GetEpochserviceV1SystemSystemIDReadingsOK) GetPayload() []*GetEpochserviceV1SystemSystemIDReadingsOKBodyItems0
func (*GetEpochserviceV1SystemSystemIDReadingsOK) IsClientError ¶
func (o *GetEpochserviceV1SystemSystemIDReadingsOK) IsClientError() bool
IsClientError returns true when this get epochservice v1 system system Id readings o k response has a 4xx status code
func (*GetEpochserviceV1SystemSystemIDReadingsOK) IsCode ¶
func (o *GetEpochserviceV1SystemSystemIDReadingsOK) IsCode(code int) bool
IsCode returns true when this get epochservice v1 system system Id readings o k response a status code equal to that given
func (*GetEpochserviceV1SystemSystemIDReadingsOK) IsRedirect ¶
func (o *GetEpochserviceV1SystemSystemIDReadingsOK) IsRedirect() bool
IsRedirect returns true when this get epochservice v1 system system Id readings o k response has a 3xx status code
func (*GetEpochserviceV1SystemSystemIDReadingsOK) IsServerError ¶
func (o *GetEpochserviceV1SystemSystemIDReadingsOK) IsServerError() bool
IsServerError returns true when this get epochservice v1 system system Id readings o k response has a 5xx status code
func (*GetEpochserviceV1SystemSystemIDReadingsOK) IsSuccess ¶
func (o *GetEpochserviceV1SystemSystemIDReadingsOK) IsSuccess() bool
IsSuccess returns true when this get epochservice v1 system system Id readings o k response has a 2xx status code
func (*GetEpochserviceV1SystemSystemIDReadingsOK) String ¶
func (o *GetEpochserviceV1SystemSystemIDReadingsOK) String() string
type GetEpochserviceV1SystemSystemIDReadingsOKBodyItems0 ¶
type GetEpochserviceV1SystemSystemIDReadingsOKBodyItems0 struct { // readings Readings []*GetEpochserviceV1SystemSystemIDReadingsOKBodyItems0ReadingsItems0 `json:"readings"` // start timestamp StartTimestamp float64 `json:"startTimestamp,omitempty"` // system UUID SystemUUID string `json:"systemUUID,omitempty"` }
GetEpochserviceV1SystemSystemIDReadingsOKBodyItems0 get epochservice v1 system system ID readings o k body items0 swagger:model GetEpochserviceV1SystemSystemIDReadingsOKBodyItems0
func (*GetEpochserviceV1SystemSystemIDReadingsOKBodyItems0) ContextValidate ¶
func (o *GetEpochserviceV1SystemSystemIDReadingsOKBodyItems0) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this get epochservice v1 system system ID readings o k body items0 based on the context it is used
func (*GetEpochserviceV1SystemSystemIDReadingsOKBodyItems0) MarshalBinary ¶
func (o *GetEpochserviceV1SystemSystemIDReadingsOKBodyItems0) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetEpochserviceV1SystemSystemIDReadingsOKBodyItems0) UnmarshalBinary ¶
func (o *GetEpochserviceV1SystemSystemIDReadingsOKBodyItems0) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GetEpochserviceV1SystemSystemIDReadingsOKBodyItems0ReadingsItems0 ¶
type GetEpochserviceV1SystemSystemIDReadingsOKBodyItems0ReadingsItems0 struct { // duration Duration int64 `json:"duration,omitempty"` // energy type // Enum: [IMPORT GAS_ENERGY] EnergyType string `json:"energyType,omitempty"` // energy watt hours EnergyWattHours int64 `json:"energyWattHours,omitempty"` // milli pence cost MilliPenceCost int64 `json:"milliPenceCost,omitempty"` // tier type TierType string `json:"tierType,omitempty"` }
GetEpochserviceV1SystemSystemIDReadingsOKBodyItems0ReadingsItems0 get epochservice v1 system system ID readings o k body items0 readings items0 swagger:model GetEpochserviceV1SystemSystemIDReadingsOKBodyItems0ReadingsItems0
func (*GetEpochserviceV1SystemSystemIDReadingsOKBodyItems0ReadingsItems0) ContextValidate ¶
func (o *GetEpochserviceV1SystemSystemIDReadingsOKBodyItems0ReadingsItems0) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this get epochservice v1 system system ID readings o k body items0 readings items0 based on context it is used
func (*GetEpochserviceV1SystemSystemIDReadingsOKBodyItems0ReadingsItems0) MarshalBinary ¶
func (o *GetEpochserviceV1SystemSystemIDReadingsOKBodyItems0ReadingsItems0) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetEpochserviceV1SystemSystemIDReadingsOKBodyItems0ReadingsItems0) UnmarshalBinary ¶
func (o *GetEpochserviceV1SystemSystemIDReadingsOKBodyItems0ReadingsItems0) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
func (*GetEpochserviceV1SystemSystemIDReadingsOKBodyItems0ReadingsItems0) Validate ¶
func (o *GetEpochserviceV1SystemSystemIDReadingsOKBodyItems0ReadingsItems0) Validate(formats strfmt.Registry) error
Validate validates this get epochservice v1 system system ID readings o k body items0 readings items0
type GetEpochserviceV1SystemSystemIDReadingsParams ¶
type GetEpochserviceV1SystemSystemIDReadingsParams struct { /* EndDate. End date in 'YYYY-MM-DD' format (e.g., '2025-02-01'). Format: date */ EndDate strfmt.Date /* StartDate. Start date in 'YYYY-MM-DD' format (e.g., '2025-01-01'). Format: date */ StartDate strfmt.Date /* SystemID. Unique identifier for the system. */ SystemID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetEpochserviceV1SystemSystemIDReadingsParams contains all the parameters to send to the API endpoint
for the get epochservice v1 system system ID readings operation. Typically these are written to a http.Request.
func NewGetEpochserviceV1SystemSystemIDReadingsParams ¶
func NewGetEpochserviceV1SystemSystemIDReadingsParams() *GetEpochserviceV1SystemSystemIDReadingsParams
NewGetEpochserviceV1SystemSystemIDReadingsParams creates a new GetEpochserviceV1SystemSystemIDReadingsParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewGetEpochserviceV1SystemSystemIDReadingsParamsWithContext ¶
func NewGetEpochserviceV1SystemSystemIDReadingsParamsWithContext(ctx context.Context) *GetEpochserviceV1SystemSystemIDReadingsParams
NewGetEpochserviceV1SystemSystemIDReadingsParamsWithContext creates a new GetEpochserviceV1SystemSystemIDReadingsParams object with the ability to set a context for a request.
func NewGetEpochserviceV1SystemSystemIDReadingsParamsWithHTTPClient ¶
func NewGetEpochserviceV1SystemSystemIDReadingsParamsWithHTTPClient(client *http.Client) *GetEpochserviceV1SystemSystemIDReadingsParams
NewGetEpochserviceV1SystemSystemIDReadingsParamsWithHTTPClient creates a new GetEpochserviceV1SystemSystemIDReadingsParams object with the ability to set a custom HTTPClient for a request.
func NewGetEpochserviceV1SystemSystemIDReadingsParamsWithTimeout ¶
func NewGetEpochserviceV1SystemSystemIDReadingsParamsWithTimeout(timeout time.Duration) *GetEpochserviceV1SystemSystemIDReadingsParams
NewGetEpochserviceV1SystemSystemIDReadingsParamsWithTimeout creates a new GetEpochserviceV1SystemSystemIDReadingsParams object with the ability to set a timeout on a request.
func (*GetEpochserviceV1SystemSystemIDReadingsParams) SetContext ¶
func (o *GetEpochserviceV1SystemSystemIDReadingsParams) SetContext(ctx context.Context)
SetContext adds the context to the get epochservice v1 system system ID readings params
func (*GetEpochserviceV1SystemSystemIDReadingsParams) SetDefaults ¶
func (o *GetEpochserviceV1SystemSystemIDReadingsParams) SetDefaults()
SetDefaults hydrates default values in the get epochservice v1 system system ID readings params (not the query body).
All values with no default are reset to their zero value.
func (*GetEpochserviceV1SystemSystemIDReadingsParams) SetEndDate ¶
func (o *GetEpochserviceV1SystemSystemIDReadingsParams) SetEndDate(endDate strfmt.Date)
SetEndDate adds the endDate to the get epochservice v1 system system ID readings params
func (*GetEpochserviceV1SystemSystemIDReadingsParams) SetHTTPClient ¶
func (o *GetEpochserviceV1SystemSystemIDReadingsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get epochservice v1 system system ID readings params
func (*GetEpochserviceV1SystemSystemIDReadingsParams) SetStartDate ¶
func (o *GetEpochserviceV1SystemSystemIDReadingsParams) SetStartDate(startDate strfmt.Date)
SetStartDate adds the startDate to the get epochservice v1 system system ID readings params
func (*GetEpochserviceV1SystemSystemIDReadingsParams) SetSystemID ¶
func (o *GetEpochserviceV1SystemSystemIDReadingsParams) SetSystemID(systemID string)
SetSystemID adds the systemId to the get epochservice v1 system system ID readings params
func (*GetEpochserviceV1SystemSystemIDReadingsParams) SetTimeout ¶
func (o *GetEpochserviceV1SystemSystemIDReadingsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get epochservice v1 system system ID readings params
func (*GetEpochserviceV1SystemSystemIDReadingsParams) WithContext ¶
func (o *GetEpochserviceV1SystemSystemIDReadingsParams) WithContext(ctx context.Context) *GetEpochserviceV1SystemSystemIDReadingsParams
WithContext adds the context to the get epochservice v1 system system ID readings params
func (*GetEpochserviceV1SystemSystemIDReadingsParams) WithDefaults ¶
func (o *GetEpochserviceV1SystemSystemIDReadingsParams) WithDefaults() *GetEpochserviceV1SystemSystemIDReadingsParams
WithDefaults hydrates default values in the get epochservice v1 system system ID readings params (not the query body).
All values with no default are reset to their zero value.
func (*GetEpochserviceV1SystemSystemIDReadingsParams) WithEndDate ¶
func (o *GetEpochserviceV1SystemSystemIDReadingsParams) WithEndDate(endDate strfmt.Date) *GetEpochserviceV1SystemSystemIDReadingsParams
WithEndDate adds the endDate to the get epochservice v1 system system ID readings params
func (*GetEpochserviceV1SystemSystemIDReadingsParams) WithHTTPClient ¶
func (o *GetEpochserviceV1SystemSystemIDReadingsParams) WithHTTPClient(client *http.Client) *GetEpochserviceV1SystemSystemIDReadingsParams
WithHTTPClient adds the HTTPClient to the get epochservice v1 system system ID readings params
func (*GetEpochserviceV1SystemSystemIDReadingsParams) WithStartDate ¶
func (o *GetEpochserviceV1SystemSystemIDReadingsParams) WithStartDate(startDate strfmt.Date) *GetEpochserviceV1SystemSystemIDReadingsParams
WithStartDate adds the startDate to the get epochservice v1 system system ID readings params
func (*GetEpochserviceV1SystemSystemIDReadingsParams) WithSystemID ¶
func (o *GetEpochserviceV1SystemSystemIDReadingsParams) WithSystemID(systemID string) *GetEpochserviceV1SystemSystemIDReadingsParams
WithSystemID adds the systemID to the get epochservice v1 system system ID readings params
func (*GetEpochserviceV1SystemSystemIDReadingsParams) WithTimeout ¶
func (o *GetEpochserviceV1SystemSystemIDReadingsParams) WithTimeout(timeout time.Duration) *GetEpochserviceV1SystemSystemIDReadingsParams
WithTimeout adds the timeout to the get epochservice v1 system system ID readings params
func (*GetEpochserviceV1SystemSystemIDReadingsParams) WriteToRequest ¶
func (o *GetEpochserviceV1SystemSystemIDReadingsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetEpochserviceV1SystemSystemIDReadingsReader ¶
type GetEpochserviceV1SystemSystemIDReadingsReader struct {
// contains filtered or unexported fields
}
GetEpochserviceV1SystemSystemIDReadingsReader is a Reader for the GetEpochserviceV1SystemSystemIDReadings structure.
func (*GetEpochserviceV1SystemSystemIDReadingsReader) ReadResponse ¶
func (o *GetEpochserviceV1SystemSystemIDReadingsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type PostUsersserviceV2LoginBody ¶
type PostUsersserviceV2LoginBody struct { // identity Identity string `json:"identity,omitempty"` // password Password string `json:"password,omitempty"` }
PostUsersserviceV2LoginBody post usersservice v2 login body swagger:model PostUsersserviceV2LoginBody
func (*PostUsersserviceV2LoginBody) ContextValidate ¶
func (o *PostUsersserviceV2LoginBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this post usersservice v2 login body based on context it is used
func (*PostUsersserviceV2LoginBody) MarshalBinary ¶
func (o *PostUsersserviceV2LoginBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*PostUsersserviceV2LoginBody) UnmarshalBinary ¶
func (o *PostUsersserviceV2LoginBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type PostUsersserviceV2LoginOK ¶
type PostUsersserviceV2LoginOK struct {
Payload *PostUsersserviceV2LoginOKBody
}
PostUsersserviceV2LoginOK describes a response with status code 200, with default header values.
Authentication successful
func NewPostUsersserviceV2LoginOK ¶
func NewPostUsersserviceV2LoginOK() *PostUsersserviceV2LoginOK
NewPostUsersserviceV2LoginOK creates a PostUsersserviceV2LoginOK with default headers values
func (*PostUsersserviceV2LoginOK) Code ¶
func (o *PostUsersserviceV2LoginOK) Code() int
Code gets the status code for the post usersservice v2 login o k response
func (*PostUsersserviceV2LoginOK) Error ¶
func (o *PostUsersserviceV2LoginOK) Error() string
func (*PostUsersserviceV2LoginOK) GetPayload ¶
func (o *PostUsersserviceV2LoginOK) GetPayload() *PostUsersserviceV2LoginOKBody
func (*PostUsersserviceV2LoginOK) IsClientError ¶
func (o *PostUsersserviceV2LoginOK) IsClientError() bool
IsClientError returns true when this post usersservice v2 login o k response has a 4xx status code
func (*PostUsersserviceV2LoginOK) IsCode ¶
func (o *PostUsersserviceV2LoginOK) IsCode(code int) bool
IsCode returns true when this post usersservice v2 login o k response a status code equal to that given
func (*PostUsersserviceV2LoginOK) IsRedirect ¶
func (o *PostUsersserviceV2LoginOK) IsRedirect() bool
IsRedirect returns true when this post usersservice v2 login o k response has a 3xx status code
func (*PostUsersserviceV2LoginOK) IsServerError ¶
func (o *PostUsersserviceV2LoginOK) IsServerError() bool
IsServerError returns true when this post usersservice v2 login o k response has a 5xx status code
func (*PostUsersserviceV2LoginOK) IsSuccess ¶
func (o *PostUsersserviceV2LoginOK) IsSuccess() bool
IsSuccess returns true when this post usersservice v2 login o k response has a 2xx status code
func (*PostUsersserviceV2LoginOK) String ¶
func (o *PostUsersserviceV2LoginOK) String() string
type PostUsersserviceV2LoginOKBody ¶
type PostUsersserviceV2LoginOKBody struct { // access token AccessToken string `json:"accessToken,omitempty"` }
PostUsersserviceV2LoginOKBody post usersservice v2 login o k body swagger:model PostUsersserviceV2LoginOKBody
func (*PostUsersserviceV2LoginOKBody) ContextValidate ¶
func (o *PostUsersserviceV2LoginOKBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this post usersservice v2 login o k body based on context it is used
func (*PostUsersserviceV2LoginOKBody) MarshalBinary ¶
func (o *PostUsersserviceV2LoginOKBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*PostUsersserviceV2LoginOKBody) UnmarshalBinary ¶
func (o *PostUsersserviceV2LoginOKBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type PostUsersserviceV2LoginParams ¶
type PostUsersserviceV2LoginParams struct { // Body. Body PostUsersserviceV2LoginBody Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
PostUsersserviceV2LoginParams contains all the parameters to send to the API endpoint
for the post usersservice v2 login operation. Typically these are written to a http.Request.
func NewPostUsersserviceV2LoginParams ¶
func NewPostUsersserviceV2LoginParams() *PostUsersserviceV2LoginParams
NewPostUsersserviceV2LoginParams creates a new PostUsersserviceV2LoginParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewPostUsersserviceV2LoginParamsWithContext ¶
func NewPostUsersserviceV2LoginParamsWithContext(ctx context.Context) *PostUsersserviceV2LoginParams
NewPostUsersserviceV2LoginParamsWithContext creates a new PostUsersserviceV2LoginParams object with the ability to set a context for a request.
func NewPostUsersserviceV2LoginParamsWithHTTPClient ¶
func NewPostUsersserviceV2LoginParamsWithHTTPClient(client *http.Client) *PostUsersserviceV2LoginParams
NewPostUsersserviceV2LoginParamsWithHTTPClient creates a new PostUsersserviceV2LoginParams object with the ability to set a custom HTTPClient for a request.
func NewPostUsersserviceV2LoginParamsWithTimeout ¶
func NewPostUsersserviceV2LoginParamsWithTimeout(timeout time.Duration) *PostUsersserviceV2LoginParams
NewPostUsersserviceV2LoginParamsWithTimeout creates a new PostUsersserviceV2LoginParams object with the ability to set a timeout on a request.
func (*PostUsersserviceV2LoginParams) SetBody ¶
func (o *PostUsersserviceV2LoginParams) SetBody(body PostUsersserviceV2LoginBody)
SetBody adds the body to the post usersservice v2 login params
func (*PostUsersserviceV2LoginParams) SetContext ¶
func (o *PostUsersserviceV2LoginParams) SetContext(ctx context.Context)
SetContext adds the context to the post usersservice v2 login params
func (*PostUsersserviceV2LoginParams) SetDefaults ¶
func (o *PostUsersserviceV2LoginParams) SetDefaults()
SetDefaults hydrates default values in the post usersservice v2 login params (not the query body).
All values with no default are reset to their zero value.
func (*PostUsersserviceV2LoginParams) SetHTTPClient ¶
func (o *PostUsersserviceV2LoginParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the post usersservice v2 login params
func (*PostUsersserviceV2LoginParams) SetTimeout ¶
func (o *PostUsersserviceV2LoginParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the post usersservice v2 login params
func (*PostUsersserviceV2LoginParams) WithBody ¶
func (o *PostUsersserviceV2LoginParams) WithBody(body PostUsersserviceV2LoginBody) *PostUsersserviceV2LoginParams
WithBody adds the body to the post usersservice v2 login params
func (*PostUsersserviceV2LoginParams) WithContext ¶
func (o *PostUsersserviceV2LoginParams) WithContext(ctx context.Context) *PostUsersserviceV2LoginParams
WithContext adds the context to the post usersservice v2 login params
func (*PostUsersserviceV2LoginParams) WithDefaults ¶
func (o *PostUsersserviceV2LoginParams) WithDefaults() *PostUsersserviceV2LoginParams
WithDefaults hydrates default values in the post usersservice v2 login params (not the query body).
All values with no default are reset to their zero value.
func (*PostUsersserviceV2LoginParams) WithHTTPClient ¶
func (o *PostUsersserviceV2LoginParams) WithHTTPClient(client *http.Client) *PostUsersserviceV2LoginParams
WithHTTPClient adds the HTTPClient to the post usersservice v2 login params
func (*PostUsersserviceV2LoginParams) WithTimeout ¶
func (o *PostUsersserviceV2LoginParams) WithTimeout(timeout time.Duration) *PostUsersserviceV2LoginParams
WithTimeout adds the timeout to the post usersservice v2 login params
func (*PostUsersserviceV2LoginParams) WriteToRequest ¶
func (o *PostUsersserviceV2LoginParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PostUsersserviceV2LoginReader ¶
type PostUsersserviceV2LoginReader struct {
// contains filtered or unexported fields
}
PostUsersserviceV2LoginReader is a Reader for the PostUsersserviceV2Login structure.
func (*PostUsersserviceV2LoginReader) ReadResponse ¶
func (o *PostUsersserviceV2LoginReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type PostUsersserviceV2LoginUnauthorized ¶
type PostUsersserviceV2LoginUnauthorized struct { }
PostUsersserviceV2LoginUnauthorized describes a response with status code 401, with default header values.
Unauthorized
func NewPostUsersserviceV2LoginUnauthorized ¶
func NewPostUsersserviceV2LoginUnauthorized() *PostUsersserviceV2LoginUnauthorized
NewPostUsersserviceV2LoginUnauthorized creates a PostUsersserviceV2LoginUnauthorized with default headers values
func (*PostUsersserviceV2LoginUnauthorized) Code ¶
func (o *PostUsersserviceV2LoginUnauthorized) Code() int
Code gets the status code for the post usersservice v2 login unauthorized response
func (*PostUsersserviceV2LoginUnauthorized) Error ¶
func (o *PostUsersserviceV2LoginUnauthorized) Error() string
func (*PostUsersserviceV2LoginUnauthorized) IsClientError ¶
func (o *PostUsersserviceV2LoginUnauthorized) IsClientError() bool
IsClientError returns true when this post usersservice v2 login unauthorized response has a 4xx status code
func (*PostUsersserviceV2LoginUnauthorized) IsCode ¶
func (o *PostUsersserviceV2LoginUnauthorized) IsCode(code int) bool
IsCode returns true when this post usersservice v2 login unauthorized response a status code equal to that given
func (*PostUsersserviceV2LoginUnauthorized) IsRedirect ¶
func (o *PostUsersserviceV2LoginUnauthorized) IsRedirect() bool
IsRedirect returns true when this post usersservice v2 login unauthorized response has a 3xx status code
func (*PostUsersserviceV2LoginUnauthorized) IsServerError ¶
func (o *PostUsersserviceV2LoginUnauthorized) IsServerError() bool
IsServerError returns true when this post usersservice v2 login unauthorized response has a 5xx status code
func (*PostUsersserviceV2LoginUnauthorized) IsSuccess ¶
func (o *PostUsersserviceV2LoginUnauthorized) IsSuccess() bool
IsSuccess returns true when this post usersservice v2 login unauthorized response has a 2xx status code
func (*PostUsersserviceV2LoginUnauthorized) String ¶
func (o *PostUsersserviceV2LoginUnauthorized) String() string
Source Files
¶
- get_api_userapi_system_smets2_live_data_system_id_parameters.go
- get_api_userapi_system_smets2_live_data_system_id_responses.go
- get_api_userapi_system_smets2_periodic_data_system_id_parameters.go
- get_api_userapi_system_smets2_periodic_data_system_id_responses.go
- get_api_userapi_v2_user_detail_systems_parameters.go
- get_api_userapi_v2_user_detail_systems_responses.go
- get_epochservice_v1_system_system_id_readings_parameters.go
- get_epochservice_v1_system_system_id_readings_responses.go
- operations_client.go
- post_usersservice_v2_login_parameters.go
- post_usersservice_v2_login_responses.go