oas

package
v0.0.0-...-cc1fd88 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 5, 2024 License: AGPL-3.0 Imports: 28 Imported by: 0

Documentation

Overview

Code generated by ogen, DO NOT EDIT.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AuthHandler

type AuthHandler interface {
	// Authorize implements authorize operation.
	//
	// 認証画面を表示する.
	//
	// GET /auth/{provider}/login
	Authorize(ctx context.Context, params AuthorizeParams) (*AuthorizeFound, error)
	// OAuthCallback implements oauth_callback operation.
	//
	// Auth Callback.
	//
	// GET /auth/{provider}/callback
	OAuthCallback(ctx context.Context, params OAuthCallbackParams) (*OAuthCallbackFound, error)
	// OAuthRevoke implements oauth_revoke operation.
	//
	// アクセストークンを失効.
	//
	// POST /auth/revoke
	OAuthRevoke(ctx context.Context) (OAuthRevokeRes, error)
	// OAuthTokenInfo implements oauth_token_info operation.
	//
	// JWTの内容を返してくれる.
	//
	// GET /auth/token/info
	OAuthTokenInfo(ctx context.Context) (OAuthTokenInfoRes, error)
}

AuthHandler handles operations described by OpenAPI v3 specification.

x-ogen-operation-group: Auth

type AuthorizeFound

type AuthorizeFound struct {
	Location  OptURI
	SetCookie OptString
}

AuthorizeFound is response for Authorize operation.

func (*AuthorizeFound) GetLocation

func (s *AuthorizeFound) GetLocation() OptURI

GetLocation returns the value of Location.

func (*AuthorizeFound) GetSetCookie

func (s *AuthorizeFound) GetSetCookie() OptString

GetSetCookie returns the value of SetCookie.

func (*AuthorizeFound) SetLocation

func (s *AuthorizeFound) SetLocation(val OptURI)

SetLocation sets the value of Location.

func (*AuthorizeFound) SetSetCookie

func (s *AuthorizeFound) SetSetCookie(val OptString)

SetSetCookie sets the value of SetCookie.

type AuthorizeParams

type AuthorizeParams struct {
	// OIDCプロバイダ名.
	Provider string
	// コールバック後のリダイレクトURL.
	RedirectURL string
}

AuthorizeParams is parameters of authorize operation.

type CreateTalkSessionBadRequest

type CreateTalkSessionBadRequest struct {
	Code    string `json:"code"`
	Message string `json:"message"`
}

func (*CreateTalkSessionBadRequest) Decode

Decode decodes CreateTalkSessionBadRequest from json.

func (*CreateTalkSessionBadRequest) Encode

func (s *CreateTalkSessionBadRequest) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*CreateTalkSessionBadRequest) GetCode

func (s *CreateTalkSessionBadRequest) GetCode() string

GetCode returns the value of Code.

func (*CreateTalkSessionBadRequest) GetMessage

func (s *CreateTalkSessionBadRequest) GetMessage() string

GetMessage returns the value of Message.

func (*CreateTalkSessionBadRequest) MarshalJSON

func (s *CreateTalkSessionBadRequest) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*CreateTalkSessionBadRequest) SetCode

func (s *CreateTalkSessionBadRequest) SetCode(val string)

SetCode sets the value of Code.

func (*CreateTalkSessionBadRequest) SetMessage

func (s *CreateTalkSessionBadRequest) SetMessage(val string)

SetMessage sets the value of Message.

func (*CreateTalkSessionBadRequest) UnmarshalJSON

func (s *CreateTalkSessionBadRequest) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type CreateTalkSessionOK

type CreateTalkSessionOK struct {
	// トークセッションID.
	ID string `json:"id"`
	// テーマ.
	Theme string `json:"theme"`
	// 説明.
	Description OptNilString `json:"description"`
	// 作成者.
	Owner CreateTalkSessionOKOwner `json:"owner"`
	// 作成日時.
	CreatedAt string `json:"createdAt"`
	// 終了予定日時.
	ScheduledEndTime string `json:"scheduledEndTime"`
	// 位置情報.
	Location OptCreateTalkSessionOKLocation `json:"location"`
	// 市区町村.
	City OptNilString `json:"city"`
	// 都道府県.
	Prefecture OptNilString `json:"prefecture"`
}

func (*CreateTalkSessionOK) Decode

func (s *CreateTalkSessionOK) Decode(d *jx.Decoder) error

Decode decodes CreateTalkSessionOK from json.

func (*CreateTalkSessionOK) Encode

func (s *CreateTalkSessionOK) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*CreateTalkSessionOK) GetCity

func (s *CreateTalkSessionOK) GetCity() OptNilString

GetCity returns the value of City.

func (*CreateTalkSessionOK) GetCreatedAt

func (s *CreateTalkSessionOK) GetCreatedAt() string

GetCreatedAt returns the value of CreatedAt.

func (*CreateTalkSessionOK) GetDescription

func (s *CreateTalkSessionOK) GetDescription() OptNilString

GetDescription returns the value of Description.

func (*CreateTalkSessionOK) GetID

func (s *CreateTalkSessionOK) GetID() string

GetID returns the value of ID.

func (*CreateTalkSessionOK) GetLocation

GetLocation returns the value of Location.

func (*CreateTalkSessionOK) GetOwner

GetOwner returns the value of Owner.

func (*CreateTalkSessionOK) GetPrefecture

func (s *CreateTalkSessionOK) GetPrefecture() OptNilString

GetPrefecture returns the value of Prefecture.

func (*CreateTalkSessionOK) GetScheduledEndTime

func (s *CreateTalkSessionOK) GetScheduledEndTime() string

GetScheduledEndTime returns the value of ScheduledEndTime.

func (*CreateTalkSessionOK) GetTheme

func (s *CreateTalkSessionOK) GetTheme() string

GetTheme returns the value of Theme.

func (*CreateTalkSessionOK) MarshalJSON

func (s *CreateTalkSessionOK) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*CreateTalkSessionOK) SetCity

func (s *CreateTalkSessionOK) SetCity(val OptNilString)

SetCity sets the value of City.

func (*CreateTalkSessionOK) SetCreatedAt

func (s *CreateTalkSessionOK) SetCreatedAt(val string)

SetCreatedAt sets the value of CreatedAt.

func (*CreateTalkSessionOK) SetDescription

func (s *CreateTalkSessionOK) SetDescription(val OptNilString)

SetDescription sets the value of Description.

func (*CreateTalkSessionOK) SetID

func (s *CreateTalkSessionOK) SetID(val string)

SetID sets the value of ID.

func (*CreateTalkSessionOK) SetLocation

SetLocation sets the value of Location.

func (*CreateTalkSessionOK) SetOwner

SetOwner sets the value of Owner.

func (*CreateTalkSessionOK) SetPrefecture

func (s *CreateTalkSessionOK) SetPrefecture(val OptNilString)

SetPrefecture sets the value of Prefecture.

func (*CreateTalkSessionOK) SetScheduledEndTime

func (s *CreateTalkSessionOK) SetScheduledEndTime(val string)

SetScheduledEndTime sets the value of ScheduledEndTime.

func (*CreateTalkSessionOK) SetTheme

func (s *CreateTalkSessionOK) SetTheme(val string)

SetTheme sets the value of Theme.

func (*CreateTalkSessionOK) UnmarshalJSON

func (s *CreateTalkSessionOK) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*CreateTalkSessionOK) Validate

func (s *CreateTalkSessionOK) Validate() error

type CreateTalkSessionOKLocation

type CreateTalkSessionOKLocation struct {
	// 緯度.
	Latitude OptFloat64 `json:"latitude"`
	// 経度.
	Longitude OptFloat64 `json:"longitude"`
}

位置情報.

func (*CreateTalkSessionOKLocation) Decode

Decode decodes CreateTalkSessionOKLocation from json.

func (*CreateTalkSessionOKLocation) Encode

func (s *CreateTalkSessionOKLocation) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*CreateTalkSessionOKLocation) GetLatitude

func (s *CreateTalkSessionOKLocation) GetLatitude() OptFloat64

GetLatitude returns the value of Latitude.

func (*CreateTalkSessionOKLocation) GetLongitude

func (s *CreateTalkSessionOKLocation) GetLongitude() OptFloat64

GetLongitude returns the value of Longitude.

func (*CreateTalkSessionOKLocation) MarshalJSON

func (s *CreateTalkSessionOKLocation) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*CreateTalkSessionOKLocation) SetLatitude

func (s *CreateTalkSessionOKLocation) SetLatitude(val OptFloat64)

SetLatitude sets the value of Latitude.

func (*CreateTalkSessionOKLocation) SetLongitude

func (s *CreateTalkSessionOKLocation) SetLongitude(val OptFloat64)

SetLongitude sets the value of Longitude.

func (*CreateTalkSessionOKLocation) UnmarshalJSON

func (s *CreateTalkSessionOKLocation) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*CreateTalkSessionOKLocation) Validate

func (s *CreateTalkSessionOKLocation) Validate() error

type CreateTalkSessionOKOwner

type CreateTalkSessionOKOwner struct {
	DisplayID   string       `json:"displayID"`
	DisplayName string       `json:"displayName"`
	IconURL     OptNilString `json:"iconURL"`
}

作成者.

func (*CreateTalkSessionOKOwner) Decode

func (s *CreateTalkSessionOKOwner) Decode(d *jx.Decoder) error

Decode decodes CreateTalkSessionOKOwner from json.

func (*CreateTalkSessionOKOwner) Encode

func (s *CreateTalkSessionOKOwner) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*CreateTalkSessionOKOwner) GetDisplayID

func (s *CreateTalkSessionOKOwner) GetDisplayID() string

GetDisplayID returns the value of DisplayID.

func (*CreateTalkSessionOKOwner) GetDisplayName

func (s *CreateTalkSessionOKOwner) GetDisplayName() string

GetDisplayName returns the value of DisplayName.

func (*CreateTalkSessionOKOwner) GetIconURL

func (s *CreateTalkSessionOKOwner) GetIconURL() OptNilString

GetIconURL returns the value of IconURL.

func (*CreateTalkSessionOKOwner) MarshalJSON

func (s *CreateTalkSessionOKOwner) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*CreateTalkSessionOKOwner) SetDisplayID

func (s *CreateTalkSessionOKOwner) SetDisplayID(val string)

SetDisplayID sets the value of DisplayID.

func (*CreateTalkSessionOKOwner) SetDisplayName

func (s *CreateTalkSessionOKOwner) SetDisplayName(val string)

SetDisplayName sets the value of DisplayName.

func (*CreateTalkSessionOKOwner) SetIconURL

func (s *CreateTalkSessionOKOwner) SetIconURL(val OptNilString)

SetIconURL sets the value of IconURL.

func (*CreateTalkSessionOKOwner) UnmarshalJSON

func (s *CreateTalkSessionOKOwner) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*CreateTalkSessionOKOwner) Validate

func (s *CreateTalkSessionOKOwner) Validate() error

type CreateTalkSessionReq

type CreateTalkSessionReq struct {
	Theme            string    `json:"theme"`
	ScheduledEndTime time.Time `json:"scheduledEndTime"`
	// 緯度.
	Latitude OptNilFloat64 `json:"latitude"`
	// 経度.
	Longitude OptNilFloat64 `json:"longitude"`
	// 市区町村.
	City OptNilString `json:"city"`
	// 都道府県.
	Prefecture OptNilString `json:"prefecture"`
	// 説明文.
	Description OptNilString `json:"description"`
}

func (*CreateTalkSessionReq) GetCity

func (s *CreateTalkSessionReq) GetCity() OptNilString

GetCity returns the value of City.

func (*CreateTalkSessionReq) GetDescription

func (s *CreateTalkSessionReq) GetDescription() OptNilString

GetDescription returns the value of Description.

func (*CreateTalkSessionReq) GetLatitude

func (s *CreateTalkSessionReq) GetLatitude() OptNilFloat64

GetLatitude returns the value of Latitude.

func (*CreateTalkSessionReq) GetLongitude

func (s *CreateTalkSessionReq) GetLongitude() OptNilFloat64

GetLongitude returns the value of Longitude.

func (*CreateTalkSessionReq) GetPrefecture

func (s *CreateTalkSessionReq) GetPrefecture() OptNilString

GetPrefecture returns the value of Prefecture.

func (*CreateTalkSessionReq) GetScheduledEndTime

func (s *CreateTalkSessionReq) GetScheduledEndTime() time.Time

GetScheduledEndTime returns the value of ScheduledEndTime.

func (*CreateTalkSessionReq) GetTheme

func (s *CreateTalkSessionReq) GetTheme() string

GetTheme returns the value of Theme.

func (*CreateTalkSessionReq) SetCity

func (s *CreateTalkSessionReq) SetCity(val OptNilString)

SetCity sets the value of City.

func (*CreateTalkSessionReq) SetDescription

func (s *CreateTalkSessionReq) SetDescription(val OptNilString)

SetDescription sets the value of Description.

func (*CreateTalkSessionReq) SetLatitude

func (s *CreateTalkSessionReq) SetLatitude(val OptNilFloat64)

SetLatitude sets the value of Latitude.

func (*CreateTalkSessionReq) SetLongitude

func (s *CreateTalkSessionReq) SetLongitude(val OptNilFloat64)

SetLongitude sets the value of Longitude.

func (*CreateTalkSessionReq) SetPrefecture

func (s *CreateTalkSessionReq) SetPrefecture(val OptNilString)

SetPrefecture sets the value of Prefecture.

func (*CreateTalkSessionReq) SetScheduledEndTime

func (s *CreateTalkSessionReq) SetScheduledEndTime(val time.Time)

SetScheduledEndTime sets the value of ScheduledEndTime.

func (*CreateTalkSessionReq) SetTheme

func (s *CreateTalkSessionReq) SetTheme(val string)

SetTheme sets the value of Theme.

func (*CreateTalkSessionReq) Validate

func (s *CreateTalkSessionReq) Validate() error

type CreateTalkSessionRes

type CreateTalkSessionRes interface {
	// contains filtered or unexported methods
}

type DummiInitBadRequest

type DummiInitBadRequest struct{}

func (*DummiInitBadRequest) Decode

func (s *DummiInitBadRequest) Decode(d *jx.Decoder) error

Decode decodes DummiInitBadRequest from json.

func (*DummiInitBadRequest) Encode

func (s *DummiInitBadRequest) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*DummiInitBadRequest) MarshalJSON

func (s *DummiInitBadRequest) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*DummiInitBadRequest) UnmarshalJSON

func (s *DummiInitBadRequest) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type DummiInitInternalServerError

type DummiInitInternalServerError struct{}

func (*DummiInitInternalServerError) Decode

Decode decodes DummiInitInternalServerError from json.

func (*DummiInitInternalServerError) Encode

func (s *DummiInitInternalServerError) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*DummiInitInternalServerError) MarshalJSON

func (s *DummiInitInternalServerError) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*DummiInitInternalServerError) UnmarshalJSON

func (s *DummiInitInternalServerError) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type DummiInitOK

type DummiInitOK struct{}

func (*DummiInitOK) Decode

func (s *DummiInitOK) Decode(d *jx.Decoder) error

Decode decodes DummiInitOK from json.

func (*DummiInitOK) Encode

func (s *DummiInitOK) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*DummiInitOK) MarshalJSON

func (s *DummiInitOK) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*DummiInitOK) UnmarshalJSON

func (s *DummiInitOK) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type DummiInitRes

type DummiInitRes interface {
	// contains filtered or unexported methods
}

type EditTalkSessionBadRequest

type EditTalkSessionBadRequest struct{}

func (*EditTalkSessionBadRequest) Decode

func (s *EditTalkSessionBadRequest) Decode(d *jx.Decoder) error

Decode decodes EditTalkSessionBadRequest from json.

func (*EditTalkSessionBadRequest) Encode

func (s *EditTalkSessionBadRequest) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*EditTalkSessionBadRequest) MarshalJSON

func (s *EditTalkSessionBadRequest) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*EditTalkSessionBadRequest) UnmarshalJSON

func (s *EditTalkSessionBadRequest) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type EditTalkSessionInternalServerError

type EditTalkSessionInternalServerError struct{}

func (*EditTalkSessionInternalServerError) Decode

Decode decodes EditTalkSessionInternalServerError from json.

func (*EditTalkSessionInternalServerError) Encode

Encode implements json.Marshaler.

func (*EditTalkSessionInternalServerError) MarshalJSON

func (s *EditTalkSessionInternalServerError) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*EditTalkSessionInternalServerError) UnmarshalJSON

func (s *EditTalkSessionInternalServerError) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type EditTalkSessionOK

type EditTalkSessionOK struct {
	// トークセッションID.
	ID string `json:"id"`
	// テーマ.
	Theme string `json:"theme"`
	// 説明.
	Description OptNilString `json:"description"`
	// 作成者.
	Owner EditTalkSessionOKOwner `json:"owner"`
	// 作成日時.
	CreatedAt string `json:"createdAt"`
	// 終了予定日時.
	ScheduledEndTime string `json:"scheduledEndTime"`
	// 位置情報.
	Location OptEditTalkSessionOKLocation `json:"location"`
	// 市区町村.
	City OptNilString `json:"city"`
	// 都道府県.
	Prefecture OptNilString `json:"prefecture"`
}

func (*EditTalkSessionOK) Decode

func (s *EditTalkSessionOK) Decode(d *jx.Decoder) error

Decode decodes EditTalkSessionOK from json.

func (*EditTalkSessionOK) Encode

func (s *EditTalkSessionOK) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*EditTalkSessionOK) GetCity

func (s *EditTalkSessionOK) GetCity() OptNilString

GetCity returns the value of City.

func (*EditTalkSessionOK) GetCreatedAt

func (s *EditTalkSessionOK) GetCreatedAt() string

GetCreatedAt returns the value of CreatedAt.

func (*EditTalkSessionOK) GetDescription

func (s *EditTalkSessionOK) GetDescription() OptNilString

GetDescription returns the value of Description.

func (*EditTalkSessionOK) GetID

func (s *EditTalkSessionOK) GetID() string

GetID returns the value of ID.

func (*EditTalkSessionOK) GetLocation

GetLocation returns the value of Location.

func (*EditTalkSessionOK) GetOwner

GetOwner returns the value of Owner.

func (*EditTalkSessionOK) GetPrefecture

func (s *EditTalkSessionOK) GetPrefecture() OptNilString

GetPrefecture returns the value of Prefecture.

func (*EditTalkSessionOK) GetScheduledEndTime

func (s *EditTalkSessionOK) GetScheduledEndTime() string

GetScheduledEndTime returns the value of ScheduledEndTime.

func (*EditTalkSessionOK) GetTheme

func (s *EditTalkSessionOK) GetTheme() string

GetTheme returns the value of Theme.

func (*EditTalkSessionOK) MarshalJSON

func (s *EditTalkSessionOK) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*EditTalkSessionOK) SetCity

func (s *EditTalkSessionOK) SetCity(val OptNilString)

SetCity sets the value of City.

func (*EditTalkSessionOK) SetCreatedAt

func (s *EditTalkSessionOK) SetCreatedAt(val string)

SetCreatedAt sets the value of CreatedAt.

func (*EditTalkSessionOK) SetDescription

func (s *EditTalkSessionOK) SetDescription(val OptNilString)

SetDescription sets the value of Description.

func (*EditTalkSessionOK) SetID

func (s *EditTalkSessionOK) SetID(val string)

SetID sets the value of ID.

func (*EditTalkSessionOK) SetLocation

func (s *EditTalkSessionOK) SetLocation(val OptEditTalkSessionOKLocation)

SetLocation sets the value of Location.

func (*EditTalkSessionOK) SetOwner

func (s *EditTalkSessionOK) SetOwner(val EditTalkSessionOKOwner)

SetOwner sets the value of Owner.

func (*EditTalkSessionOK) SetPrefecture

func (s *EditTalkSessionOK) SetPrefecture(val OptNilString)

SetPrefecture sets the value of Prefecture.

func (*EditTalkSessionOK) SetScheduledEndTime

func (s *EditTalkSessionOK) SetScheduledEndTime(val string)

SetScheduledEndTime sets the value of ScheduledEndTime.

func (*EditTalkSessionOK) SetTheme

func (s *EditTalkSessionOK) SetTheme(val string)

SetTheme sets the value of Theme.

func (*EditTalkSessionOK) UnmarshalJSON

func (s *EditTalkSessionOK) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*EditTalkSessionOK) Validate

func (s *EditTalkSessionOK) Validate() error

type EditTalkSessionOKLocation

type EditTalkSessionOKLocation struct {
	// 緯度.
	Latitude OptFloat64 `json:"latitude"`
	// 経度.
	Longitude OptFloat64 `json:"longitude"`
}

位置情報.

func (*EditTalkSessionOKLocation) Decode

func (s *EditTalkSessionOKLocation) Decode(d *jx.Decoder) error

Decode decodes EditTalkSessionOKLocation from json.

func (*EditTalkSessionOKLocation) Encode

func (s *EditTalkSessionOKLocation) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*EditTalkSessionOKLocation) GetLatitude

func (s *EditTalkSessionOKLocation) GetLatitude() OptFloat64

GetLatitude returns the value of Latitude.

func (*EditTalkSessionOKLocation) GetLongitude

func (s *EditTalkSessionOKLocation) GetLongitude() OptFloat64

GetLongitude returns the value of Longitude.

func (*EditTalkSessionOKLocation) MarshalJSON

func (s *EditTalkSessionOKLocation) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*EditTalkSessionOKLocation) SetLatitude

func (s *EditTalkSessionOKLocation) SetLatitude(val OptFloat64)

SetLatitude sets the value of Latitude.

func (*EditTalkSessionOKLocation) SetLongitude

func (s *EditTalkSessionOKLocation) SetLongitude(val OptFloat64)

SetLongitude sets the value of Longitude.

func (*EditTalkSessionOKLocation) UnmarshalJSON

func (s *EditTalkSessionOKLocation) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*EditTalkSessionOKLocation) Validate

func (s *EditTalkSessionOKLocation) Validate() error

type EditTalkSessionOKOwner

type EditTalkSessionOKOwner struct {
	DisplayID   string       `json:"displayID"`
	DisplayName string       `json:"displayName"`
	IconURL     OptNilString `json:"iconURL"`
}

作成者.

func (*EditTalkSessionOKOwner) Decode

func (s *EditTalkSessionOKOwner) Decode(d *jx.Decoder) error

Decode decodes EditTalkSessionOKOwner from json.

func (*EditTalkSessionOKOwner) Encode

func (s *EditTalkSessionOKOwner) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*EditTalkSessionOKOwner) GetDisplayID

func (s *EditTalkSessionOKOwner) GetDisplayID() string

GetDisplayID returns the value of DisplayID.

func (*EditTalkSessionOKOwner) GetDisplayName

func (s *EditTalkSessionOKOwner) GetDisplayName() string

GetDisplayName returns the value of DisplayName.

func (*EditTalkSessionOKOwner) GetIconURL

func (s *EditTalkSessionOKOwner) GetIconURL() OptNilString

GetIconURL returns the value of IconURL.

func (*EditTalkSessionOKOwner) MarshalJSON

func (s *EditTalkSessionOKOwner) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*EditTalkSessionOKOwner) SetDisplayID

func (s *EditTalkSessionOKOwner) SetDisplayID(val string)

SetDisplayID sets the value of DisplayID.

func (*EditTalkSessionOKOwner) SetDisplayName

func (s *EditTalkSessionOKOwner) SetDisplayName(val string)

SetDisplayName sets the value of DisplayName.

func (*EditTalkSessionOKOwner) SetIconURL

func (s *EditTalkSessionOKOwner) SetIconURL(val OptNilString)

SetIconURL sets the value of IconURL.

func (*EditTalkSessionOKOwner) UnmarshalJSON

func (s *EditTalkSessionOKOwner) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*EditTalkSessionOKOwner) Validate

func (s *EditTalkSessionOKOwner) Validate() error

type EditTalkSessionParams

type EditTalkSessionParams struct {
	TalkSessionId string
}

EditTalkSessionParams is parameters of editTalkSession operation.

type EditTalkSessionReq

type EditTalkSessionReq struct {
	Theme            string `json:"theme"`
	ScheduledEndTime string `json:"scheduledEndTime"`
	// 緯度.
	Latitude OptNilFloat64 `json:"latitude"`
	// 経度.
	Longitude OptFloat64 `json:"longitude"`
	// 都道府県.
	Prefecture OptNilString `json:"prefecture"`
	// 市区町村.
	City OptNilString `json:"city"`
	// 説明文.
	Description OptNilString `json:"description"`
}

func (*EditTalkSessionReq) GetCity

func (s *EditTalkSessionReq) GetCity() OptNilString

GetCity returns the value of City.

func (*EditTalkSessionReq) GetDescription

func (s *EditTalkSessionReq) GetDescription() OptNilString

GetDescription returns the value of Description.

func (*EditTalkSessionReq) GetLatitude

func (s *EditTalkSessionReq) GetLatitude() OptNilFloat64

GetLatitude returns the value of Latitude.

func (*EditTalkSessionReq) GetLongitude

func (s *EditTalkSessionReq) GetLongitude() OptFloat64

GetLongitude returns the value of Longitude.

func (*EditTalkSessionReq) GetPrefecture

func (s *EditTalkSessionReq) GetPrefecture() OptNilString

GetPrefecture returns the value of Prefecture.

func (*EditTalkSessionReq) GetScheduledEndTime

func (s *EditTalkSessionReq) GetScheduledEndTime() string

GetScheduledEndTime returns the value of ScheduledEndTime.

func (*EditTalkSessionReq) GetTheme

func (s *EditTalkSessionReq) GetTheme() string

GetTheme returns the value of Theme.

func (*EditTalkSessionReq) SetCity

func (s *EditTalkSessionReq) SetCity(val OptNilString)

SetCity sets the value of City.

func (*EditTalkSessionReq) SetDescription

func (s *EditTalkSessionReq) SetDescription(val OptNilString)

SetDescription sets the value of Description.

func (*EditTalkSessionReq) SetLatitude

func (s *EditTalkSessionReq) SetLatitude(val OptNilFloat64)

SetLatitude sets the value of Latitude.

func (*EditTalkSessionReq) SetLongitude

func (s *EditTalkSessionReq) SetLongitude(val OptFloat64)

SetLongitude sets the value of Longitude.

func (*EditTalkSessionReq) SetPrefecture

func (s *EditTalkSessionReq) SetPrefecture(val OptNilString)

SetPrefecture sets the value of Prefecture.

func (*EditTalkSessionReq) SetScheduledEndTime

func (s *EditTalkSessionReq) SetScheduledEndTime(val string)

SetScheduledEndTime sets the value of ScheduledEndTime.

func (*EditTalkSessionReq) SetTheme

func (s *EditTalkSessionReq) SetTheme(val string)

SetTheme sets the value of Theme.

func (*EditTalkSessionReq) Validate

func (s *EditTalkSessionReq) Validate() error

type EditTalkSessionRes

type EditTalkSessionRes interface {
	// contains filtered or unexported methods
}

type EditTimeLineBadRequest

type EditTimeLineBadRequest struct{}

func (*EditTimeLineBadRequest) Decode

func (s *EditTimeLineBadRequest) Decode(d *jx.Decoder) error

Decode decodes EditTimeLineBadRequest from json.

func (*EditTimeLineBadRequest) Encode

func (s *EditTimeLineBadRequest) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*EditTimeLineBadRequest) MarshalJSON

func (s *EditTimeLineBadRequest) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*EditTimeLineBadRequest) UnmarshalJSON

func (s *EditTimeLineBadRequest) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type EditTimeLineInternalServerError

type EditTimeLineInternalServerError struct{}

func (*EditTimeLineInternalServerError) Decode

Decode decodes EditTimeLineInternalServerError from json.

func (*EditTimeLineInternalServerError) Encode

Encode implements json.Marshaler.

func (*EditTimeLineInternalServerError) MarshalJSON

func (s *EditTimeLineInternalServerError) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*EditTimeLineInternalServerError) UnmarshalJSON

func (s *EditTimeLineInternalServerError) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type EditTimeLineOK

type EditTimeLineOK struct {
	ActionItemID string `json:"ActionItemID"`
	Sequence     int    `json:"Sequence"`
	Content      string `json:"Content"`
	Status       string `json:"Status"`
	CreatedAt    string `json:"CreatedAt"`
	UpdatedAt    string `json:"UpdatedAt"`
}

func (*EditTimeLineOK) Decode

func (s *EditTimeLineOK) Decode(d *jx.Decoder) error

Decode decodes EditTimeLineOK from json.

func (*EditTimeLineOK) Encode

func (s *EditTimeLineOK) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*EditTimeLineOK) GetActionItemID

func (s *EditTimeLineOK) GetActionItemID() string

GetActionItemID returns the value of ActionItemID.

func (*EditTimeLineOK) GetContent

func (s *EditTimeLineOK) GetContent() string

GetContent returns the value of Content.

func (*EditTimeLineOK) GetCreatedAt

func (s *EditTimeLineOK) GetCreatedAt() string

GetCreatedAt returns the value of CreatedAt.

func (*EditTimeLineOK) GetSequence

func (s *EditTimeLineOK) GetSequence() int

GetSequence returns the value of Sequence.

func (*EditTimeLineOK) GetStatus

func (s *EditTimeLineOK) GetStatus() string

GetStatus returns the value of Status.

func (*EditTimeLineOK) GetUpdatedAt

func (s *EditTimeLineOK) GetUpdatedAt() string

GetUpdatedAt returns the value of UpdatedAt.

func (*EditTimeLineOK) MarshalJSON

func (s *EditTimeLineOK) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*EditTimeLineOK) SetActionItemID

func (s *EditTimeLineOK) SetActionItemID(val string)

SetActionItemID sets the value of ActionItemID.

func (*EditTimeLineOK) SetContent

func (s *EditTimeLineOK) SetContent(val string)

SetContent sets the value of Content.

func (*EditTimeLineOK) SetCreatedAt

func (s *EditTimeLineOK) SetCreatedAt(val string)

SetCreatedAt sets the value of CreatedAt.

func (*EditTimeLineOK) SetSequence

func (s *EditTimeLineOK) SetSequence(val int)

SetSequence sets the value of Sequence.

func (*EditTimeLineOK) SetStatus

func (s *EditTimeLineOK) SetStatus(val string)

SetStatus sets the value of Status.

func (*EditTimeLineOK) SetUpdatedAt

func (s *EditTimeLineOK) SetUpdatedAt(val string)

SetUpdatedAt sets the value of UpdatedAt.

func (*EditTimeLineOK) UnmarshalJSON

func (s *EditTimeLineOK) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type EditTimeLineParams

type EditTimeLineParams struct {
	TalkSessionID string
	ActionItemID  string
}

EditTimeLineParams is parameters of editTimeLine operation.

type EditTimeLineReq

type EditTimeLineReq struct {
	Content OptNilString `json:"content"`
	Status  OptNilString `json:"status"`
}

func (*EditTimeLineReq) GetContent

func (s *EditTimeLineReq) GetContent() OptNilString

GetContent returns the value of Content.

func (*EditTimeLineReq) GetStatus

func (s *EditTimeLineReq) GetStatus() OptNilString

GetStatus returns the value of Status.

func (*EditTimeLineReq) SetContent

func (s *EditTimeLineReq) SetContent(val OptNilString)

SetContent sets the value of Content.

func (*EditTimeLineReq) SetStatus

func (s *EditTimeLineReq) SetStatus(val OptNilString)

SetStatus sets the value of Status.

type EditTimeLineRes

type EditTimeLineRes interface {
	// contains filtered or unexported methods
}

type EditUserProfileBadRequest

type EditUserProfileBadRequest struct {
	Code    string `json:"code"`
	Message string `json:"message"`
}

func (*EditUserProfileBadRequest) Decode

func (s *EditUserProfileBadRequest) Decode(d *jx.Decoder) error

Decode decodes EditUserProfileBadRequest from json.

func (*EditUserProfileBadRequest) Encode

func (s *EditUserProfileBadRequest) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*EditUserProfileBadRequest) GetCode

func (s *EditUserProfileBadRequest) GetCode() string

GetCode returns the value of Code.

func (*EditUserProfileBadRequest) GetMessage

func (s *EditUserProfileBadRequest) GetMessage() string

GetMessage returns the value of Message.

func (*EditUserProfileBadRequest) MarshalJSON

func (s *EditUserProfileBadRequest) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*EditUserProfileBadRequest) SetCode

func (s *EditUserProfileBadRequest) SetCode(val string)

SetCode sets the value of Code.

func (*EditUserProfileBadRequest) SetMessage

func (s *EditUserProfileBadRequest) SetMessage(val string)

SetMessage sets the value of Message.

func (*EditUserProfileBadRequest) UnmarshalJSON

func (s *EditUserProfileBadRequest) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type EditUserProfileInternalServerError

type EditUserProfileInternalServerError struct {
	Code    string `json:"code"`
	Message string `json:"message"`
}

func (*EditUserProfileInternalServerError) Decode

Decode decodes EditUserProfileInternalServerError from json.

func (*EditUserProfileInternalServerError) Encode

Encode implements json.Marshaler.

func (*EditUserProfileInternalServerError) GetCode

GetCode returns the value of Code.

func (*EditUserProfileInternalServerError) GetMessage

GetMessage returns the value of Message.

func (*EditUserProfileInternalServerError) MarshalJSON

func (s *EditUserProfileInternalServerError) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*EditUserProfileInternalServerError) SetCode

SetCode sets the value of Code.

func (*EditUserProfileInternalServerError) SetMessage

func (s *EditUserProfileInternalServerError) SetMessage(val string)

SetMessage sets the value of Message.

func (*EditUserProfileInternalServerError) UnmarshalJSON

func (s *EditUserProfileInternalServerError) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type EditUserProfileOK

type EditUserProfileOK struct {
	DisplayID   string       `json:"displayID"`
	DisplayName string       `json:"displayName"`
	IconURL     OptNilString `json:"iconURL"`
}

func (*EditUserProfileOK) Decode

func (s *EditUserProfileOK) Decode(d *jx.Decoder) error

Decode decodes EditUserProfileOK from json.

func (*EditUserProfileOK) Encode

func (s *EditUserProfileOK) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*EditUserProfileOK) GetDisplayID

func (s *EditUserProfileOK) GetDisplayID() string

GetDisplayID returns the value of DisplayID.

func (*EditUserProfileOK) GetDisplayName

func (s *EditUserProfileOK) GetDisplayName() string

GetDisplayName returns the value of DisplayName.

func (*EditUserProfileOK) GetIconURL

func (s *EditUserProfileOK) GetIconURL() OptNilString

GetIconURL returns the value of IconURL.

func (*EditUserProfileOK) MarshalJSON

func (s *EditUserProfileOK) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*EditUserProfileOK) SetDisplayID

func (s *EditUserProfileOK) SetDisplayID(val string)

SetDisplayID sets the value of DisplayID.

func (*EditUserProfileOK) SetDisplayName

func (s *EditUserProfileOK) SetDisplayName(val string)

SetDisplayName sets the value of DisplayName.

func (*EditUserProfileOK) SetIconURL

func (s *EditUserProfileOK) SetIconURL(val OptNilString)

SetIconURL sets the value of IconURL.

func (*EditUserProfileOK) UnmarshalJSON

func (s *EditUserProfileOK) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*EditUserProfileOK) Validate

func (s *EditUserProfileOK) Validate() error

type EditUserProfileReq

type EditUserProfileReq struct {
	// ユーザー名.
	DisplayName OptNilString `json:"displayName"`
	// ユーザーアイコン.
	Icon       OptMultipartFile `json:"icon"`
	DeleteIcon OptNilBool       `json:"deleteIcon"`
	// 生まれ年.
	YearOfBirth OptNilInt `json:"yearOfBirth"`
	// 性別.
	Gender OptNilEditUserProfileReqGender `json:"gender"`
	// 市区町村.
	City OptNilString `json:"city"`
	// 職業.
	Occupation OptNilEditUserProfileReqOccupation `json:"occupation"`
	// 世帯人数.
	HouseholdSize OptNilInt `json:"householdSize"`
	// 都道府県.
	Prefecture OptNilString `json:"prefecture"`
}

func (*EditUserProfileReq) GetCity

func (s *EditUserProfileReq) GetCity() OptNilString

GetCity returns the value of City.

func (*EditUserProfileReq) GetDeleteIcon

func (s *EditUserProfileReq) GetDeleteIcon() OptNilBool

GetDeleteIcon returns the value of DeleteIcon.

func (*EditUserProfileReq) GetDisplayName

func (s *EditUserProfileReq) GetDisplayName() OptNilString

GetDisplayName returns the value of DisplayName.

func (*EditUserProfileReq) GetGender

GetGender returns the value of Gender.

func (*EditUserProfileReq) GetHouseholdSize

func (s *EditUserProfileReq) GetHouseholdSize() OptNilInt

GetHouseholdSize returns the value of HouseholdSize.

func (*EditUserProfileReq) GetIcon

func (s *EditUserProfileReq) GetIcon() OptMultipartFile

GetIcon returns the value of Icon.

func (*EditUserProfileReq) GetOccupation

GetOccupation returns the value of Occupation.

func (*EditUserProfileReq) GetPrefecture

func (s *EditUserProfileReq) GetPrefecture() OptNilString

GetPrefecture returns the value of Prefecture.

func (*EditUserProfileReq) GetYearOfBirth

func (s *EditUserProfileReq) GetYearOfBirth() OptNilInt

GetYearOfBirth returns the value of YearOfBirth.

func (*EditUserProfileReq) SetCity

func (s *EditUserProfileReq) SetCity(val OptNilString)

SetCity sets the value of City.

func (*EditUserProfileReq) SetDeleteIcon

func (s *EditUserProfileReq) SetDeleteIcon(val OptNilBool)

SetDeleteIcon sets the value of DeleteIcon.

func (*EditUserProfileReq) SetDisplayName

func (s *EditUserProfileReq) SetDisplayName(val OptNilString)

SetDisplayName sets the value of DisplayName.

func (*EditUserProfileReq) SetGender

SetGender sets the value of Gender.

func (*EditUserProfileReq) SetHouseholdSize

func (s *EditUserProfileReq) SetHouseholdSize(val OptNilInt)

SetHouseholdSize sets the value of HouseholdSize.

func (*EditUserProfileReq) SetIcon

func (s *EditUserProfileReq) SetIcon(val OptMultipartFile)

SetIcon sets the value of Icon.

func (*EditUserProfileReq) SetOccupation

SetOccupation sets the value of Occupation.

func (*EditUserProfileReq) SetPrefecture

func (s *EditUserProfileReq) SetPrefecture(val OptNilString)

SetPrefecture sets the value of Prefecture.

func (*EditUserProfileReq) SetYearOfBirth

func (s *EditUserProfileReq) SetYearOfBirth(val OptNilInt)

SetYearOfBirth sets the value of YearOfBirth.

func (*EditUserProfileReq) Validate

func (s *EditUserProfileReq) Validate() error

type EditUserProfileReqGender

type EditUserProfileReqGender string

性別.

const (
	EditUserProfileReqGender_0 EditUserProfileReqGender = "男性"
	EditUserProfileReqGender_1 EditUserProfileReqGender = "女性"
	EditUserProfileReqGender_2 EditUserProfileReqGender = "その他"
	EditUserProfileReqGender_3 EditUserProfileReqGender = "回答しない"
)

func (EditUserProfileReqGender) AllValues

AllValues returns all EditUserProfileReqGender values.

func (EditUserProfileReqGender) MarshalText

func (s EditUserProfileReqGender) MarshalText() ([]byte, error)

MarshalText implements encoding.TextMarshaler.

func (*EditUserProfileReqGender) UnmarshalText

func (s *EditUserProfileReqGender) UnmarshalText(data []byte) error

UnmarshalText implements encoding.TextUnmarshaler.

func (EditUserProfileReqGender) Validate

func (s EditUserProfileReqGender) Validate() error

type EditUserProfileReqOccupation

type EditUserProfileReqOccupation string

職業.

const (
	EditUserProfileReqOccupation_0  EditUserProfileReqOccupation = "正社員"
	EditUserProfileReqOccupation_1  EditUserProfileReqOccupation = "契約社員"
	EditUserProfileReqOccupation_2  EditUserProfileReqOccupation = "公務員"
	EditUserProfileReqOccupation_3  EditUserProfileReqOccupation = "自営業"
	EditUserProfileReqOccupation_4  EditUserProfileReqOccupation = "会社役員"
	EditUserProfileReqOccupation_5  EditUserProfileReqOccupation = "パート・アルバイト"
	EditUserProfileReqOccupation_6  EditUserProfileReqOccupation = "家事従事者"
	EditUserProfileReqOccupation_7  EditUserProfileReqOccupation = "学生"
	EditUserProfileReqOccupation_8  EditUserProfileReqOccupation = "無職"
	EditUserProfileReqOccupation_9  EditUserProfileReqOccupation = "その他"
	EditUserProfileReqOccupation_10 EditUserProfileReqOccupation = "回答しない"
)

func (EditUserProfileReqOccupation) AllValues

AllValues returns all EditUserProfileReqOccupation values.

func (EditUserProfileReqOccupation) MarshalText

func (s EditUserProfileReqOccupation) MarshalText() ([]byte, error)

MarshalText implements encoding.TextMarshaler.

func (*EditUserProfileReqOccupation) UnmarshalText

func (s *EditUserProfileReqOccupation) UnmarshalText(data []byte) error

UnmarshalText implements encoding.TextUnmarshaler.

func (EditUserProfileReqOccupation) Validate

func (s EditUserProfileReqOccupation) Validate() error

type EditUserProfileRes

type EditUserProfileRes interface {
	// contains filtered or unexported methods
}

type ErrorHandler

type ErrorHandler = ogenerrors.ErrorHandler

ErrorHandler is error handler.

type GetConclusionBadRequest

type GetConclusionBadRequest struct{}

func (*GetConclusionBadRequest) Decode

func (s *GetConclusionBadRequest) Decode(d *jx.Decoder) error

Decode decodes GetConclusionBadRequest from json.

func (*GetConclusionBadRequest) Encode

func (s *GetConclusionBadRequest) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*GetConclusionBadRequest) MarshalJSON

func (s *GetConclusionBadRequest) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*GetConclusionBadRequest) UnmarshalJSON

func (s *GetConclusionBadRequest) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type GetConclusionInternalServerError

type GetConclusionInternalServerError struct{}

func (*GetConclusionInternalServerError) Decode

Decode decodes GetConclusionInternalServerError from json.

func (*GetConclusionInternalServerError) Encode

Encode implements json.Marshaler.

func (*GetConclusionInternalServerError) MarshalJSON

func (s *GetConclusionInternalServerError) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*GetConclusionInternalServerError) UnmarshalJSON

func (s *GetConclusionInternalServerError) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type GetConclusionOK

type GetConclusionOK struct {
	// 作成者.
	User GetConclusionOKUser `json:"user"`
	// 結論本文.
	Content string `json:"content"`
}

func (*GetConclusionOK) Decode

func (s *GetConclusionOK) Decode(d *jx.Decoder) error

Decode decodes GetConclusionOK from json.

func (*GetConclusionOK) Encode

func (s *GetConclusionOK) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*GetConclusionOK) GetContent

func (s *GetConclusionOK) GetContent() string

GetContent returns the value of Content.

func (*GetConclusionOK) GetUser

func (s *GetConclusionOK) GetUser() GetConclusionOKUser

GetUser returns the value of User.

func (*GetConclusionOK) MarshalJSON

func (s *GetConclusionOK) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*GetConclusionOK) SetContent

func (s *GetConclusionOK) SetContent(val string)

SetContent sets the value of Content.

func (*GetConclusionOK) SetUser

func (s *GetConclusionOK) SetUser(val GetConclusionOKUser)

SetUser sets the value of User.

func (*GetConclusionOK) UnmarshalJSON

func (s *GetConclusionOK) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*GetConclusionOK) Validate

func (s *GetConclusionOK) Validate() error

type GetConclusionOKUser

type GetConclusionOKUser struct {
	DisplayID   string       `json:"displayID"`
	DisplayName string       `json:"displayName"`
	IconURL     OptNilString `json:"iconURL"`
}

作成者.

func (*GetConclusionOKUser) Decode

func (s *GetConclusionOKUser) Decode(d *jx.Decoder) error

Decode decodes GetConclusionOKUser from json.

func (*GetConclusionOKUser) Encode

func (s *GetConclusionOKUser) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*GetConclusionOKUser) GetDisplayID

func (s *GetConclusionOKUser) GetDisplayID() string

GetDisplayID returns the value of DisplayID.

func (*GetConclusionOKUser) GetDisplayName

func (s *GetConclusionOKUser) GetDisplayName() string

GetDisplayName returns the value of DisplayName.

func (*GetConclusionOKUser) GetIconURL

func (s *GetConclusionOKUser) GetIconURL() OptNilString

GetIconURL returns the value of IconURL.

func (*GetConclusionOKUser) MarshalJSON

func (s *GetConclusionOKUser) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*GetConclusionOKUser) SetDisplayID

func (s *GetConclusionOKUser) SetDisplayID(val string)

SetDisplayID sets the value of DisplayID.

func (*GetConclusionOKUser) SetDisplayName

func (s *GetConclusionOKUser) SetDisplayName(val string)

SetDisplayName sets the value of DisplayName.

func (*GetConclusionOKUser) SetIconURL

func (s *GetConclusionOKUser) SetIconURL(val OptNilString)

SetIconURL sets the value of IconURL.

func (*GetConclusionOKUser) UnmarshalJSON

func (s *GetConclusionOKUser) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*GetConclusionOKUser) Validate

func (s *GetConclusionOKUser) Validate() error

type GetConclusionParams

type GetConclusionParams struct {
	TalkSessionID string
}

GetConclusionParams is parameters of getConclusion operation.

type GetConclusionRes

type GetConclusionRes interface {
	// contains filtered or unexported methods
}

type GetOpenedTalkSessionBadRequest

type GetOpenedTalkSessionBadRequest struct{}

func (*GetOpenedTalkSessionBadRequest) Decode

Decode decodes GetOpenedTalkSessionBadRequest from json.

func (*GetOpenedTalkSessionBadRequest) Encode

Encode implements json.Marshaler.

func (*GetOpenedTalkSessionBadRequest) MarshalJSON

func (s *GetOpenedTalkSessionBadRequest) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*GetOpenedTalkSessionBadRequest) UnmarshalJSON

func (s *GetOpenedTalkSessionBadRequest) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type GetOpenedTalkSessionInternalServerError

type GetOpenedTalkSessionInternalServerError struct{}

func (*GetOpenedTalkSessionInternalServerError) Decode

Decode decodes GetOpenedTalkSessionInternalServerError from json.

func (*GetOpenedTalkSessionInternalServerError) Encode

Encode implements json.Marshaler.

func (*GetOpenedTalkSessionInternalServerError) MarshalJSON

func (s *GetOpenedTalkSessionInternalServerError) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*GetOpenedTalkSessionInternalServerError) UnmarshalJSON

func (s *GetOpenedTalkSessionInternalServerError) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type GetOpenedTalkSessionOK

type GetOpenedTalkSessionOK struct {
	TalkSessions []GetOpenedTalkSessionOKTalkSessionsItem `json:"talkSessions"`
}

func (*GetOpenedTalkSessionOK) Decode

func (s *GetOpenedTalkSessionOK) Decode(d *jx.Decoder) error

Decode decodes GetOpenedTalkSessionOK from json.

func (*GetOpenedTalkSessionOK) Encode

func (s *GetOpenedTalkSessionOK) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*GetOpenedTalkSessionOK) GetTalkSessions

GetTalkSessions returns the value of TalkSessions.

func (*GetOpenedTalkSessionOK) MarshalJSON

func (s *GetOpenedTalkSessionOK) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*GetOpenedTalkSessionOK) SetTalkSessions

SetTalkSessions sets the value of TalkSessions.

func (*GetOpenedTalkSessionOK) UnmarshalJSON

func (s *GetOpenedTalkSessionOK) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*GetOpenedTalkSessionOK) Validate

func (s *GetOpenedTalkSessionOK) Validate() error

type GetOpenedTalkSessionOKTalkSessionsItem

type GetOpenedTalkSessionOKTalkSessionsItem struct {
	TalkSession  GetOpenedTalkSessionOKTalkSessionsItemTalkSession `json:"talkSession"`
	OpinionCount int                                               `json:"opinionCount"`
}

func (*GetOpenedTalkSessionOKTalkSessionsItem) Decode

Decode decodes GetOpenedTalkSessionOKTalkSessionsItem from json.

func (*GetOpenedTalkSessionOKTalkSessionsItem) Encode

Encode implements json.Marshaler.

func (*GetOpenedTalkSessionOKTalkSessionsItem) GetOpinionCount

func (s *GetOpenedTalkSessionOKTalkSessionsItem) GetOpinionCount() int

GetOpinionCount returns the value of OpinionCount.

func (*GetOpenedTalkSessionOKTalkSessionsItem) GetTalkSession

GetTalkSession returns the value of TalkSession.

func (*GetOpenedTalkSessionOKTalkSessionsItem) MarshalJSON

func (s *GetOpenedTalkSessionOKTalkSessionsItem) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*GetOpenedTalkSessionOKTalkSessionsItem) SetOpinionCount

func (s *GetOpenedTalkSessionOKTalkSessionsItem) SetOpinionCount(val int)

SetOpinionCount sets the value of OpinionCount.

func (*GetOpenedTalkSessionOKTalkSessionsItem) SetTalkSession

SetTalkSession sets the value of TalkSession.

func (*GetOpenedTalkSessionOKTalkSessionsItem) UnmarshalJSON

func (s *GetOpenedTalkSessionOKTalkSessionsItem) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*GetOpenedTalkSessionOKTalkSessionsItem) Validate

type GetOpenedTalkSessionOKTalkSessionsItemTalkSession

type GetOpenedTalkSessionOKTalkSessionsItemTalkSession struct {
	// トークセッションID.
	ID string `json:"id"`
	// テーマ.
	Theme string `json:"theme"`
	// 説明.
	Description OptNilString `json:"description"`
	// 作成者.
	Owner GetOpenedTalkSessionOKTalkSessionsItemTalkSessionOwner `json:"owner"`
	// 作成日時.
	CreatedAt string `json:"createdAt"`
	// 終了予定日時.
	ScheduledEndTime string `json:"scheduledEndTime"`
	// 位置情報.
	Location OptGetOpenedTalkSessionOKTalkSessionsItemTalkSessionLocation `json:"location"`
	// 市区町村.
	City OptNilString `json:"city"`
	// 都道府県.
	Prefecture OptNilString `json:"prefecture"`
}

func (*GetOpenedTalkSessionOKTalkSessionsItemTalkSession) Decode

Decode decodes GetOpenedTalkSessionOKTalkSessionsItemTalkSession from json.

func (*GetOpenedTalkSessionOKTalkSessionsItemTalkSession) Encode

Encode implements json.Marshaler.

func (*GetOpenedTalkSessionOKTalkSessionsItemTalkSession) GetCity

GetCity returns the value of City.

func (*GetOpenedTalkSessionOKTalkSessionsItemTalkSession) GetCreatedAt

GetCreatedAt returns the value of CreatedAt.

func (*GetOpenedTalkSessionOKTalkSessionsItemTalkSession) GetDescription

GetDescription returns the value of Description.

func (*GetOpenedTalkSessionOKTalkSessionsItemTalkSession) GetID

GetID returns the value of ID.

func (*GetOpenedTalkSessionOKTalkSessionsItemTalkSession) GetLocation

GetLocation returns the value of Location.

func (*GetOpenedTalkSessionOKTalkSessionsItemTalkSession) GetOwner

GetOwner returns the value of Owner.

func (*GetOpenedTalkSessionOKTalkSessionsItemTalkSession) GetPrefecture

GetPrefecture returns the value of Prefecture.

func (*GetOpenedTalkSessionOKTalkSessionsItemTalkSession) GetScheduledEndTime

GetScheduledEndTime returns the value of ScheduledEndTime.

func (*GetOpenedTalkSessionOKTalkSessionsItemTalkSession) GetTheme

GetTheme returns the value of Theme.

func (*GetOpenedTalkSessionOKTalkSessionsItemTalkSession) MarshalJSON

MarshalJSON implements stdjson.Marshaler.

func (*GetOpenedTalkSessionOKTalkSessionsItemTalkSession) SetCity

SetCity sets the value of City.

func (*GetOpenedTalkSessionOKTalkSessionsItemTalkSession) SetCreatedAt

SetCreatedAt sets the value of CreatedAt.

func (*GetOpenedTalkSessionOKTalkSessionsItemTalkSession) SetDescription

SetDescription sets the value of Description.

func (*GetOpenedTalkSessionOKTalkSessionsItemTalkSession) SetID

SetID sets the value of ID.

func (*GetOpenedTalkSessionOKTalkSessionsItemTalkSession) SetLocation

SetLocation sets the value of Location.

func (*GetOpenedTalkSessionOKTalkSessionsItemTalkSession) SetOwner

SetOwner sets the value of Owner.

func (*GetOpenedTalkSessionOKTalkSessionsItemTalkSession) SetPrefecture

SetPrefecture sets the value of Prefecture.

func (*GetOpenedTalkSessionOKTalkSessionsItemTalkSession) SetScheduledEndTime

func (s *GetOpenedTalkSessionOKTalkSessionsItemTalkSession) SetScheduledEndTime(val string)

SetScheduledEndTime sets the value of ScheduledEndTime.

func (*GetOpenedTalkSessionOKTalkSessionsItemTalkSession) SetTheme

SetTheme sets the value of Theme.

func (*GetOpenedTalkSessionOKTalkSessionsItemTalkSession) UnmarshalJSON

UnmarshalJSON implements stdjson.Unmarshaler.

func (*GetOpenedTalkSessionOKTalkSessionsItemTalkSession) Validate

type GetOpenedTalkSessionOKTalkSessionsItemTalkSessionLocation

type GetOpenedTalkSessionOKTalkSessionsItemTalkSessionLocation struct {
	// 緯度.
	Latitude OptFloat64 `json:"latitude"`
	// 経度.
	Longitude OptFloat64 `json:"longitude"`
}

位置情報.

func (*GetOpenedTalkSessionOKTalkSessionsItemTalkSessionLocation) Decode

Decode decodes GetOpenedTalkSessionOKTalkSessionsItemTalkSessionLocation from json.

func (*GetOpenedTalkSessionOKTalkSessionsItemTalkSessionLocation) Encode

Encode implements json.Marshaler.

func (*GetOpenedTalkSessionOKTalkSessionsItemTalkSessionLocation) GetLatitude

GetLatitude returns the value of Latitude.

func (*GetOpenedTalkSessionOKTalkSessionsItemTalkSessionLocation) GetLongitude

GetLongitude returns the value of Longitude.

func (*GetOpenedTalkSessionOKTalkSessionsItemTalkSessionLocation) MarshalJSON

MarshalJSON implements stdjson.Marshaler.

func (*GetOpenedTalkSessionOKTalkSessionsItemTalkSessionLocation) SetLatitude

SetLatitude sets the value of Latitude.

func (*GetOpenedTalkSessionOKTalkSessionsItemTalkSessionLocation) SetLongitude

SetLongitude sets the value of Longitude.

func (*GetOpenedTalkSessionOKTalkSessionsItemTalkSessionLocation) UnmarshalJSON

UnmarshalJSON implements stdjson.Unmarshaler.

func (*GetOpenedTalkSessionOKTalkSessionsItemTalkSessionLocation) Validate

type GetOpenedTalkSessionOKTalkSessionsItemTalkSessionOwner

type GetOpenedTalkSessionOKTalkSessionsItemTalkSessionOwner struct {
	DisplayID   string       `json:"displayID"`
	DisplayName string       `json:"displayName"`
	IconURL     OptNilString `json:"iconURL"`
}

作成者.

func (*GetOpenedTalkSessionOKTalkSessionsItemTalkSessionOwner) Decode

Decode decodes GetOpenedTalkSessionOKTalkSessionsItemTalkSessionOwner from json.

func (*GetOpenedTalkSessionOKTalkSessionsItemTalkSessionOwner) Encode

Encode implements json.Marshaler.

func (*GetOpenedTalkSessionOKTalkSessionsItemTalkSessionOwner) GetDisplayID

GetDisplayID returns the value of DisplayID.

func (*GetOpenedTalkSessionOKTalkSessionsItemTalkSessionOwner) GetDisplayName

GetDisplayName returns the value of DisplayName.

func (*GetOpenedTalkSessionOKTalkSessionsItemTalkSessionOwner) GetIconURL

GetIconURL returns the value of IconURL.

func (*GetOpenedTalkSessionOKTalkSessionsItemTalkSessionOwner) MarshalJSON

MarshalJSON implements stdjson.Marshaler.

func (*GetOpenedTalkSessionOKTalkSessionsItemTalkSessionOwner) SetDisplayID

SetDisplayID sets the value of DisplayID.

func (*GetOpenedTalkSessionOKTalkSessionsItemTalkSessionOwner) SetDisplayName

SetDisplayName sets the value of DisplayName.

func (*GetOpenedTalkSessionOKTalkSessionsItemTalkSessionOwner) SetIconURL

SetIconURL sets the value of IconURL.

func (*GetOpenedTalkSessionOKTalkSessionsItemTalkSessionOwner) UnmarshalJSON

UnmarshalJSON implements stdjson.Unmarshaler.

func (*GetOpenedTalkSessionOKTalkSessionsItemTalkSessionOwner) Validate

type GetOpenedTalkSessionParams

type GetOpenedTalkSessionParams struct {
	Limit  OptInt
	Offset OptInt
	// テーマ.
	Theme  OptString
	Status OptNilGetOpenedTalkSessionStatus
}

GetOpenedTalkSessionParams is parameters of getOpenedTalkSession operation.

type GetOpenedTalkSessionRes

type GetOpenedTalkSessionRes interface {
	// contains filtered or unexported methods
}

type GetOpenedTalkSessionStatus

type GetOpenedTalkSessionStatus string
const (
	GetOpenedTalkSessionStatusFinished GetOpenedTalkSessionStatus = "finished"
	GetOpenedTalkSessionStatusOpen     GetOpenedTalkSessionStatus = "open"
)

func (GetOpenedTalkSessionStatus) AllValues

AllValues returns all GetOpenedTalkSessionStatus values.

func (GetOpenedTalkSessionStatus) MarshalText

func (s GetOpenedTalkSessionStatus) MarshalText() ([]byte, error)

MarshalText implements encoding.TextMarshaler.

func (*GetOpenedTalkSessionStatus) UnmarshalText

func (s *GetOpenedTalkSessionStatus) UnmarshalText(data []byte) error

UnmarshalText implements encoding.TextUnmarshaler.

func (GetOpenedTalkSessionStatus) Validate

func (s GetOpenedTalkSessionStatus) Validate() error

type GetOpinionDetailInternalServerError

type GetOpinionDetailInternalServerError struct{}

func (*GetOpinionDetailInternalServerError) Decode

Decode decodes GetOpinionDetailInternalServerError from json.

func (*GetOpinionDetailInternalServerError) Encode

Encode implements json.Marshaler.

func (*GetOpinionDetailInternalServerError) MarshalJSON

func (s *GetOpinionDetailInternalServerError) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*GetOpinionDetailInternalServerError) UnmarshalJSON

func (s *GetOpinionDetailInternalServerError) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type GetOpinionDetailOK

type GetOpinionDetailOK struct {
	Opinion GetOpinionDetailOKOpinion `json:"opinion"`
	// 作成者.
	User GetOpinionDetailOKUser `json:"user"`
}

func (*GetOpinionDetailOK) Decode

func (s *GetOpinionDetailOK) Decode(d *jx.Decoder) error

Decode decodes GetOpinionDetailOK from json.

func (*GetOpinionDetailOK) Encode

func (s *GetOpinionDetailOK) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*GetOpinionDetailOK) GetOpinion

GetOpinion returns the value of Opinion.

func (*GetOpinionDetailOK) GetUser

GetUser returns the value of User.

func (*GetOpinionDetailOK) MarshalJSON

func (s *GetOpinionDetailOK) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*GetOpinionDetailOK) SetOpinion

func (s *GetOpinionDetailOK) SetOpinion(val GetOpinionDetailOKOpinion)

SetOpinion sets the value of Opinion.

func (*GetOpinionDetailOK) SetUser

SetUser sets the value of User.

func (*GetOpinionDetailOK) UnmarshalJSON

func (s *GetOpinionDetailOK) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*GetOpinionDetailOK) Validate

func (s *GetOpinionDetailOK) Validate() error

type GetOpinionDetailOKOpinion

type GetOpinionDetailOKOpinion struct {
	// 意見ID.
	ID    string    `json:"id"`
	Title OptString `json:"title"`
	// 意見のテキスト.
	Content string `json:"content"`
	// 親の意見ID。ルートならば無し.
	ParentID OptString `json:"parentID"`
	// 意見投稿主の意見。ルート意見の場合はここには何も入らない.
	VoteType OptGetOpinionDetailOKOpinionVoteType `json:"voteType"`
	// 画像が返る場合もある.
	PictureURL OptString `json:"pictureURL"`
	// 参考文献URL.
	ReferenceURL OptString `json:"referenceURL"`
	PostedAt     string    `json:"postedAt"`
}

func (*GetOpinionDetailOKOpinion) Decode

func (s *GetOpinionDetailOKOpinion) Decode(d *jx.Decoder) error

Decode decodes GetOpinionDetailOKOpinion from json.

func (*GetOpinionDetailOKOpinion) Encode

func (s *GetOpinionDetailOKOpinion) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*GetOpinionDetailOKOpinion) GetContent

func (s *GetOpinionDetailOKOpinion) GetContent() string

GetContent returns the value of Content.

func (*GetOpinionDetailOKOpinion) GetID

func (s *GetOpinionDetailOKOpinion) GetID() string

GetID returns the value of ID.

func (*GetOpinionDetailOKOpinion) GetParentID

func (s *GetOpinionDetailOKOpinion) GetParentID() OptString

GetParentID returns the value of ParentID.

func (*GetOpinionDetailOKOpinion) GetPictureURL

func (s *GetOpinionDetailOKOpinion) GetPictureURL() OptString

GetPictureURL returns the value of PictureURL.

func (*GetOpinionDetailOKOpinion) GetPostedAt

func (s *GetOpinionDetailOKOpinion) GetPostedAt() string

GetPostedAt returns the value of PostedAt.

func (*GetOpinionDetailOKOpinion) GetReferenceURL

func (s *GetOpinionDetailOKOpinion) GetReferenceURL() OptString

GetReferenceURL returns the value of ReferenceURL.

func (*GetOpinionDetailOKOpinion) GetTitle

func (s *GetOpinionDetailOKOpinion) GetTitle() OptString

GetTitle returns the value of Title.

func (*GetOpinionDetailOKOpinion) GetVoteType

GetVoteType returns the value of VoteType.

func (*GetOpinionDetailOKOpinion) MarshalJSON

func (s *GetOpinionDetailOKOpinion) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*GetOpinionDetailOKOpinion) SetContent

func (s *GetOpinionDetailOKOpinion) SetContent(val string)

SetContent sets the value of Content.

func (*GetOpinionDetailOKOpinion) SetID

func (s *GetOpinionDetailOKOpinion) SetID(val string)

SetID sets the value of ID.

func (*GetOpinionDetailOKOpinion) SetParentID

func (s *GetOpinionDetailOKOpinion) SetParentID(val OptString)

SetParentID sets the value of ParentID.

func (*GetOpinionDetailOKOpinion) SetPictureURL

func (s *GetOpinionDetailOKOpinion) SetPictureURL(val OptString)

SetPictureURL sets the value of PictureURL.

func (*GetOpinionDetailOKOpinion) SetPostedAt

func (s *GetOpinionDetailOKOpinion) SetPostedAt(val string)

SetPostedAt sets the value of PostedAt.

func (*GetOpinionDetailOKOpinion) SetReferenceURL

func (s *GetOpinionDetailOKOpinion) SetReferenceURL(val OptString)

SetReferenceURL sets the value of ReferenceURL.

func (*GetOpinionDetailOKOpinion) SetTitle

func (s *GetOpinionDetailOKOpinion) SetTitle(val OptString)

SetTitle sets the value of Title.

func (*GetOpinionDetailOKOpinion) SetVoteType

SetVoteType sets the value of VoteType.

func (*GetOpinionDetailOKOpinion) UnmarshalJSON

func (s *GetOpinionDetailOKOpinion) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*GetOpinionDetailOKOpinion) Validate

func (s *GetOpinionDetailOKOpinion) Validate() error

type GetOpinionDetailOKOpinionVoteType

type GetOpinionDetailOKOpinionVoteType string

意見投稿主の意見。ルート意見の場合はここには何も入らない.

const (
	GetOpinionDetailOKOpinionVoteTypeAgree    GetOpinionDetailOKOpinionVoteType = "agree"
	GetOpinionDetailOKOpinionVoteTypeDisagree GetOpinionDetailOKOpinionVoteType = "disagree"
	GetOpinionDetailOKOpinionVoteTypePass     GetOpinionDetailOKOpinionVoteType = "pass"
)

func (GetOpinionDetailOKOpinionVoteType) AllValues

AllValues returns all GetOpinionDetailOKOpinionVoteType values.

func (*GetOpinionDetailOKOpinionVoteType) Decode

Decode decodes GetOpinionDetailOKOpinionVoteType from json.

func (GetOpinionDetailOKOpinionVoteType) Encode

Encode encodes GetOpinionDetailOKOpinionVoteType as json.

func (GetOpinionDetailOKOpinionVoteType) MarshalJSON

func (s GetOpinionDetailOKOpinionVoteType) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (GetOpinionDetailOKOpinionVoteType) MarshalText

func (s GetOpinionDetailOKOpinionVoteType) MarshalText() ([]byte, error)

MarshalText implements encoding.TextMarshaler.

func (*GetOpinionDetailOKOpinionVoteType) UnmarshalJSON

func (s *GetOpinionDetailOKOpinionVoteType) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*GetOpinionDetailOKOpinionVoteType) UnmarshalText

func (s *GetOpinionDetailOKOpinionVoteType) UnmarshalText(data []byte) error

UnmarshalText implements encoding.TextUnmarshaler.

func (GetOpinionDetailOKOpinionVoteType) Validate

type GetOpinionDetailOKUser

type GetOpinionDetailOKUser struct {
	DisplayID   string       `json:"displayID"`
	DisplayName string       `json:"displayName"`
	IconURL     OptNilString `json:"iconURL"`
}

作成者.

func (*GetOpinionDetailOKUser) Decode

func (s *GetOpinionDetailOKUser) Decode(d *jx.Decoder) error

Decode decodes GetOpinionDetailOKUser from json.

func (*GetOpinionDetailOKUser) Encode

func (s *GetOpinionDetailOKUser) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*GetOpinionDetailOKUser) GetDisplayID

func (s *GetOpinionDetailOKUser) GetDisplayID() string

GetDisplayID returns the value of DisplayID.

func (*GetOpinionDetailOKUser) GetDisplayName

func (s *GetOpinionDetailOKUser) GetDisplayName() string

GetDisplayName returns the value of DisplayName.

func (*GetOpinionDetailOKUser) GetIconURL

func (s *GetOpinionDetailOKUser) GetIconURL() OptNilString

GetIconURL returns the value of IconURL.

func (*GetOpinionDetailOKUser) MarshalJSON

func (s *GetOpinionDetailOKUser) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*GetOpinionDetailOKUser) SetDisplayID

func (s *GetOpinionDetailOKUser) SetDisplayID(val string)

SetDisplayID sets the value of DisplayID.

func (*GetOpinionDetailOKUser) SetDisplayName

func (s *GetOpinionDetailOKUser) SetDisplayName(val string)

SetDisplayName sets the value of DisplayName.

func (*GetOpinionDetailOKUser) SetIconURL

func (s *GetOpinionDetailOKUser) SetIconURL(val OptNilString)

SetIconURL sets the value of IconURL.

func (*GetOpinionDetailOKUser) UnmarshalJSON

func (s *GetOpinionDetailOKUser) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*GetOpinionDetailOKUser) Validate

func (s *GetOpinionDetailOKUser) Validate() error

type GetOpinionDetailParams

type GetOpinionDetailParams struct {
	TalkSessionID string
	OpinionID     string
}

GetOpinionDetailParams is parameters of getOpinionDetail operation.

type GetOpinionDetailRes

type GetOpinionDetailRes interface {
	// contains filtered or unexported methods
}

type GetOpinionsForTalkSessionBadRequest

type GetOpinionsForTalkSessionBadRequest struct{}

func (*GetOpinionsForTalkSessionBadRequest) Decode

Decode decodes GetOpinionsForTalkSessionBadRequest from json.

func (*GetOpinionsForTalkSessionBadRequest) Encode

Encode implements json.Marshaler.

func (*GetOpinionsForTalkSessionBadRequest) MarshalJSON

func (s *GetOpinionsForTalkSessionBadRequest) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*GetOpinionsForTalkSessionBadRequest) UnmarshalJSON

func (s *GetOpinionsForTalkSessionBadRequest) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type GetOpinionsForTalkSessionInternalServerError

type GetOpinionsForTalkSessionInternalServerError struct{}

func (*GetOpinionsForTalkSessionInternalServerError) Decode

Decode decodes GetOpinionsForTalkSessionInternalServerError from json.

func (*GetOpinionsForTalkSessionInternalServerError) Encode

Encode implements json.Marshaler.

func (*GetOpinionsForTalkSessionInternalServerError) MarshalJSON

MarshalJSON implements stdjson.Marshaler.

func (*GetOpinionsForTalkSessionInternalServerError) UnmarshalJSON

func (s *GetOpinionsForTalkSessionInternalServerError) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type GetOpinionsForTalkSessionOK

type GetOpinionsForTalkSessionOK struct {
	Opinions   []GetOpinionsForTalkSessionOKOpinionsItem `json:"opinions"`
	Pagination GetOpinionsForTalkSessionOKPagination     `json:"pagination"`
}

func (*GetOpinionsForTalkSessionOK) Decode

Decode decodes GetOpinionsForTalkSessionOK from json.

func (*GetOpinionsForTalkSessionOK) Encode

func (s *GetOpinionsForTalkSessionOK) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*GetOpinionsForTalkSessionOK) GetOpinions

GetOpinions returns the value of Opinions.

func (*GetOpinionsForTalkSessionOK) GetPagination

GetPagination returns the value of Pagination.

func (*GetOpinionsForTalkSessionOK) MarshalJSON

func (s *GetOpinionsForTalkSessionOK) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*GetOpinionsForTalkSessionOK) SetOpinions

SetOpinions sets the value of Opinions.

func (*GetOpinionsForTalkSessionOK) SetPagination

SetPagination sets the value of Pagination.

func (*GetOpinionsForTalkSessionOK) UnmarshalJSON

func (s *GetOpinionsForTalkSessionOK) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*GetOpinionsForTalkSessionOK) Validate

func (s *GetOpinionsForTalkSessionOK) Validate() error

type GetOpinionsForTalkSessionOKOpinionsItem

type GetOpinionsForTalkSessionOKOpinionsItem struct {
	Opinion GetOpinionsForTalkSessionOKOpinionsItemOpinion `json:"opinion"`
	// 作成者.
	User       GetOpinionsForTalkSessionOKOpinionsItemUser `json:"user"`
	ReplyCount int                                         `json:"replyCount"`
	// 意見投稿主の意見。ルート意見の場合はここには何も入らない.
	MyVoteType GetOpinionsForTalkSessionOKOpinionsItemMyVoteType `json:"myVoteType"`
}

func (*GetOpinionsForTalkSessionOKOpinionsItem) Decode

Decode decodes GetOpinionsForTalkSessionOKOpinionsItem from json.

func (*GetOpinionsForTalkSessionOKOpinionsItem) Encode

Encode implements json.Marshaler.

func (*GetOpinionsForTalkSessionOKOpinionsItem) GetMyVoteType

GetMyVoteType returns the value of MyVoteType.

func (*GetOpinionsForTalkSessionOKOpinionsItem) GetOpinion

GetOpinion returns the value of Opinion.

func (*GetOpinionsForTalkSessionOKOpinionsItem) GetReplyCount

func (s *GetOpinionsForTalkSessionOKOpinionsItem) GetReplyCount() int

GetReplyCount returns the value of ReplyCount.

func (*GetOpinionsForTalkSessionOKOpinionsItem) GetUser

GetUser returns the value of User.

func (*GetOpinionsForTalkSessionOKOpinionsItem) MarshalJSON

func (s *GetOpinionsForTalkSessionOKOpinionsItem) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*GetOpinionsForTalkSessionOKOpinionsItem) SetMyVoteType

SetMyVoteType sets the value of MyVoteType.

func (*GetOpinionsForTalkSessionOKOpinionsItem) SetOpinion

SetOpinion sets the value of Opinion.

func (*GetOpinionsForTalkSessionOKOpinionsItem) SetReplyCount

func (s *GetOpinionsForTalkSessionOKOpinionsItem) SetReplyCount(val int)

SetReplyCount sets the value of ReplyCount.

func (*GetOpinionsForTalkSessionOKOpinionsItem) SetUser

SetUser sets the value of User.

func (*GetOpinionsForTalkSessionOKOpinionsItem) UnmarshalJSON

func (s *GetOpinionsForTalkSessionOKOpinionsItem) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*GetOpinionsForTalkSessionOKOpinionsItem) Validate

type GetOpinionsForTalkSessionOKOpinionsItemMyVoteType

type GetOpinionsForTalkSessionOKOpinionsItemMyVoteType string

意見投稿主の意見。ルート意見の場合はここには何も入らない.

const (
	GetOpinionsForTalkSessionOKOpinionsItemMyVoteTypeAgree    GetOpinionsForTalkSessionOKOpinionsItemMyVoteType = "agree"
	GetOpinionsForTalkSessionOKOpinionsItemMyVoteTypeDisagree GetOpinionsForTalkSessionOKOpinionsItemMyVoteType = "disagree"
	GetOpinionsForTalkSessionOKOpinionsItemMyVoteTypePass     GetOpinionsForTalkSessionOKOpinionsItemMyVoteType = "pass"
)

func (GetOpinionsForTalkSessionOKOpinionsItemMyVoteType) AllValues

AllValues returns all GetOpinionsForTalkSessionOKOpinionsItemMyVoteType values.

func (*GetOpinionsForTalkSessionOKOpinionsItemMyVoteType) Decode

Decode decodes GetOpinionsForTalkSessionOKOpinionsItemMyVoteType from json.

func (GetOpinionsForTalkSessionOKOpinionsItemMyVoteType) Encode

Encode encodes GetOpinionsForTalkSessionOKOpinionsItemMyVoteType as json.

func (GetOpinionsForTalkSessionOKOpinionsItemMyVoteType) MarshalJSON

MarshalJSON implements stdjson.Marshaler.

func (GetOpinionsForTalkSessionOKOpinionsItemMyVoteType) MarshalText

MarshalText implements encoding.TextMarshaler.

func (*GetOpinionsForTalkSessionOKOpinionsItemMyVoteType) UnmarshalJSON

UnmarshalJSON implements stdjson.Unmarshaler.

func (*GetOpinionsForTalkSessionOKOpinionsItemMyVoteType) UnmarshalText

UnmarshalText implements encoding.TextUnmarshaler.

func (GetOpinionsForTalkSessionOKOpinionsItemMyVoteType) Validate

type GetOpinionsForTalkSessionOKOpinionsItemOpinion

type GetOpinionsForTalkSessionOKOpinionsItemOpinion struct {
	// 意見ID.
	ID    string    `json:"id"`
	Title OptString `json:"title"`
	// 意見のテキスト.
	Content string `json:"content"`
	// 親の意見ID。ルートならば無し.
	ParentID OptString `json:"parentID"`
	// 意見投稿主の意見。ルート意見の場合はここには何も入らない.
	VoteType OptGetOpinionsForTalkSessionOKOpinionsItemOpinionVoteType `json:"voteType"`
	// 画像が返る場合もある.
	PictureURL OptString `json:"pictureURL"`
	// 参考文献URL.
	ReferenceURL OptString `json:"referenceURL"`
	PostedAt     string    `json:"postedAt"`
}

func (*GetOpinionsForTalkSessionOKOpinionsItemOpinion) Decode

Decode decodes GetOpinionsForTalkSessionOKOpinionsItemOpinion from json.

func (*GetOpinionsForTalkSessionOKOpinionsItemOpinion) Encode

Encode implements json.Marshaler.

func (*GetOpinionsForTalkSessionOKOpinionsItemOpinion) GetContent

GetContent returns the value of Content.

func (*GetOpinionsForTalkSessionOKOpinionsItemOpinion) GetID

GetID returns the value of ID.

func (*GetOpinionsForTalkSessionOKOpinionsItemOpinion) GetParentID

GetParentID returns the value of ParentID.

func (*GetOpinionsForTalkSessionOKOpinionsItemOpinion) GetPictureURL

GetPictureURL returns the value of PictureURL.

func (*GetOpinionsForTalkSessionOKOpinionsItemOpinion) GetPostedAt

GetPostedAt returns the value of PostedAt.

func (*GetOpinionsForTalkSessionOKOpinionsItemOpinion) GetReferenceURL

GetReferenceURL returns the value of ReferenceURL.

func (*GetOpinionsForTalkSessionOKOpinionsItemOpinion) GetTitle

GetTitle returns the value of Title.

func (*GetOpinionsForTalkSessionOKOpinionsItemOpinion) GetVoteType

GetVoteType returns the value of VoteType.

func (*GetOpinionsForTalkSessionOKOpinionsItemOpinion) MarshalJSON

MarshalJSON implements stdjson.Marshaler.

func (*GetOpinionsForTalkSessionOKOpinionsItemOpinion) SetContent

SetContent sets the value of Content.

func (*GetOpinionsForTalkSessionOKOpinionsItemOpinion) SetID

SetID sets the value of ID.

func (*GetOpinionsForTalkSessionOKOpinionsItemOpinion) SetParentID

SetParentID sets the value of ParentID.

func (*GetOpinionsForTalkSessionOKOpinionsItemOpinion) SetPictureURL

SetPictureURL sets the value of PictureURL.

func (*GetOpinionsForTalkSessionOKOpinionsItemOpinion) SetPostedAt

SetPostedAt sets the value of PostedAt.

func (*GetOpinionsForTalkSessionOKOpinionsItemOpinion) SetReferenceURL

SetReferenceURL sets the value of ReferenceURL.

func (*GetOpinionsForTalkSessionOKOpinionsItemOpinion) SetTitle

SetTitle sets the value of Title.

func (*GetOpinionsForTalkSessionOKOpinionsItemOpinion) SetVoteType

SetVoteType sets the value of VoteType.

func (*GetOpinionsForTalkSessionOKOpinionsItemOpinion) UnmarshalJSON

UnmarshalJSON implements stdjson.Unmarshaler.

func (*GetOpinionsForTalkSessionOKOpinionsItemOpinion) Validate

type GetOpinionsForTalkSessionOKOpinionsItemOpinionVoteType

type GetOpinionsForTalkSessionOKOpinionsItemOpinionVoteType string

意見投稿主の意見。ルート意見の場合はここには何も入らない.

const (
	GetOpinionsForTalkSessionOKOpinionsItemOpinionVoteTypeAgree    GetOpinionsForTalkSessionOKOpinionsItemOpinionVoteType = "agree"
	GetOpinionsForTalkSessionOKOpinionsItemOpinionVoteTypeDisagree GetOpinionsForTalkSessionOKOpinionsItemOpinionVoteType = "disagree"
	GetOpinionsForTalkSessionOKOpinionsItemOpinionVoteTypePass     GetOpinionsForTalkSessionOKOpinionsItemOpinionVoteType = "pass"
)

func (GetOpinionsForTalkSessionOKOpinionsItemOpinionVoteType) AllValues

AllValues returns all GetOpinionsForTalkSessionOKOpinionsItemOpinionVoteType values.

func (*GetOpinionsForTalkSessionOKOpinionsItemOpinionVoteType) Decode

Decode decodes GetOpinionsForTalkSessionOKOpinionsItemOpinionVoteType from json.

func (GetOpinionsForTalkSessionOKOpinionsItemOpinionVoteType) Encode

Encode encodes GetOpinionsForTalkSessionOKOpinionsItemOpinionVoteType as json.

func (GetOpinionsForTalkSessionOKOpinionsItemOpinionVoteType) MarshalJSON

MarshalJSON implements stdjson.Marshaler.

func (GetOpinionsForTalkSessionOKOpinionsItemOpinionVoteType) MarshalText

MarshalText implements encoding.TextMarshaler.

func (*GetOpinionsForTalkSessionOKOpinionsItemOpinionVoteType) UnmarshalJSON

UnmarshalJSON implements stdjson.Unmarshaler.

func (*GetOpinionsForTalkSessionOKOpinionsItemOpinionVoteType) UnmarshalText

UnmarshalText implements encoding.TextUnmarshaler.

func (GetOpinionsForTalkSessionOKOpinionsItemOpinionVoteType) Validate

type GetOpinionsForTalkSessionOKOpinionsItemUser

type GetOpinionsForTalkSessionOKOpinionsItemUser struct {
	DisplayID   string       `json:"displayID"`
	DisplayName string       `json:"displayName"`
	IconURL     OptNilString `json:"iconURL"`
}

作成者.

func (*GetOpinionsForTalkSessionOKOpinionsItemUser) Decode

Decode decodes GetOpinionsForTalkSessionOKOpinionsItemUser from json.

func (*GetOpinionsForTalkSessionOKOpinionsItemUser) Encode

Encode implements json.Marshaler.

func (*GetOpinionsForTalkSessionOKOpinionsItemUser) GetDisplayID

GetDisplayID returns the value of DisplayID.

func (*GetOpinionsForTalkSessionOKOpinionsItemUser) GetDisplayName

GetDisplayName returns the value of DisplayName.

func (*GetOpinionsForTalkSessionOKOpinionsItemUser) GetIconURL

GetIconURL returns the value of IconURL.

func (*GetOpinionsForTalkSessionOKOpinionsItemUser) MarshalJSON

MarshalJSON implements stdjson.Marshaler.

func (*GetOpinionsForTalkSessionOKOpinionsItemUser) SetDisplayID

SetDisplayID sets the value of DisplayID.

func (*GetOpinionsForTalkSessionOKOpinionsItemUser) SetDisplayName

func (s *GetOpinionsForTalkSessionOKOpinionsItemUser) SetDisplayName(val string)

SetDisplayName sets the value of DisplayName.

func (*GetOpinionsForTalkSessionOKOpinionsItemUser) SetIconURL

SetIconURL sets the value of IconURL.

func (*GetOpinionsForTalkSessionOKOpinionsItemUser) UnmarshalJSON

func (s *GetOpinionsForTalkSessionOKOpinionsItemUser) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*GetOpinionsForTalkSessionOKOpinionsItemUser) Validate

type GetOpinionsForTalkSessionOKPagination

type GetOpinionsForTalkSessionOKPagination struct {
	TotalCount int `json:"totalCount"`
}

func (*GetOpinionsForTalkSessionOKPagination) Decode

Decode decodes GetOpinionsForTalkSessionOKPagination from json.

func (*GetOpinionsForTalkSessionOKPagination) Encode

Encode implements json.Marshaler.

func (*GetOpinionsForTalkSessionOKPagination) GetTotalCount

func (s *GetOpinionsForTalkSessionOKPagination) GetTotalCount() int

GetTotalCount returns the value of TotalCount.

func (*GetOpinionsForTalkSessionOKPagination) MarshalJSON

func (s *GetOpinionsForTalkSessionOKPagination) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*GetOpinionsForTalkSessionOKPagination) SetTotalCount

func (s *GetOpinionsForTalkSessionOKPagination) SetTotalCount(val int)

SetTotalCount sets the value of TotalCount.

func (*GetOpinionsForTalkSessionOKPagination) UnmarshalJSON

func (s *GetOpinionsForTalkSessionOKPagination) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type GetOpinionsForTalkSessionParams

type GetOpinionsForTalkSessionParams struct {
	TalkSessionID string
	Sort          OptNilGetOpinionsForTalkSessionSort
	Limit         OptNilInt
	Offset        OptNilInt
}

GetOpinionsForTalkSessionParams is parameters of getOpinionsForTalkSession operation.

type GetOpinionsForTalkSessionRes

type GetOpinionsForTalkSessionRes interface {
	// contains filtered or unexported methods
}

type GetOpinionsForTalkSessionSort

type GetOpinionsForTalkSessionSort string
const (
	GetOpinionsForTalkSessionSortLatest    GetOpinionsForTalkSessionSort = "latest"
	GetOpinionsForTalkSessionSortMostReply GetOpinionsForTalkSessionSort = "mostReply"
	GetOpinionsForTalkSessionSortOldest    GetOpinionsForTalkSessionSort = "oldest"
)

func (GetOpinionsForTalkSessionSort) AllValues

AllValues returns all GetOpinionsForTalkSessionSort values.

func (GetOpinionsForTalkSessionSort) MarshalText

func (s GetOpinionsForTalkSessionSort) MarshalText() ([]byte, error)

MarshalText implements encoding.TextMarshaler.

func (*GetOpinionsForTalkSessionSort) UnmarshalText

func (s *GetOpinionsForTalkSessionSort) UnmarshalText(data []byte) error

UnmarshalText implements encoding.TextUnmarshaler.

func (GetOpinionsForTalkSessionSort) Validate

func (s GetOpinionsForTalkSessionSort) Validate() error

type GetTalkSessionDetailBadRequest

type GetTalkSessionDetailBadRequest struct {
	Code    string `json:"code"`
	Message string `json:"message"`
}

func (*GetTalkSessionDetailBadRequest) Decode

Decode decodes GetTalkSessionDetailBadRequest from json.

func (*GetTalkSessionDetailBadRequest) Encode

Encode implements json.Marshaler.

func (*GetTalkSessionDetailBadRequest) GetCode

GetCode returns the value of Code.

func (*GetTalkSessionDetailBadRequest) GetMessage

func (s *GetTalkSessionDetailBadRequest) GetMessage() string

GetMessage returns the value of Message.

func (*GetTalkSessionDetailBadRequest) MarshalJSON

func (s *GetTalkSessionDetailBadRequest) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*GetTalkSessionDetailBadRequest) SetCode

func (s *GetTalkSessionDetailBadRequest) SetCode(val string)

SetCode sets the value of Code.

func (*GetTalkSessionDetailBadRequest) SetMessage

func (s *GetTalkSessionDetailBadRequest) SetMessage(val string)

SetMessage sets the value of Message.

func (*GetTalkSessionDetailBadRequest) UnmarshalJSON

func (s *GetTalkSessionDetailBadRequest) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type GetTalkSessionDetailOK

type GetTalkSessionDetailOK struct {
	// トークセッションID.
	ID string `json:"id"`
	// テーマ.
	Theme string `json:"theme"`
	// 説明.
	Description OptNilString `json:"description"`
	// 作成者.
	Owner GetTalkSessionDetailOKOwner `json:"owner"`
	// 作成日時.
	CreatedAt string `json:"createdAt"`
	// 終了予定日時.
	ScheduledEndTime string `json:"scheduledEndTime"`
	// 位置情報.
	Location OptGetTalkSessionDetailOKLocation `json:"location"`
	// 市区町村.
	City OptNilString `json:"city"`
	// 都道府県.
	Prefecture OptNilString `json:"prefecture"`
}

func (*GetTalkSessionDetailOK) Decode

func (s *GetTalkSessionDetailOK) Decode(d *jx.Decoder) error

Decode decodes GetTalkSessionDetailOK from json.

func (*GetTalkSessionDetailOK) Encode

func (s *GetTalkSessionDetailOK) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*GetTalkSessionDetailOK) GetCity

func (s *GetTalkSessionDetailOK) GetCity() OptNilString

GetCity returns the value of City.

func (*GetTalkSessionDetailOK) GetCreatedAt

func (s *GetTalkSessionDetailOK) GetCreatedAt() string

GetCreatedAt returns the value of CreatedAt.

func (*GetTalkSessionDetailOK) GetDescription

func (s *GetTalkSessionDetailOK) GetDescription() OptNilString

GetDescription returns the value of Description.

func (*GetTalkSessionDetailOK) GetID

func (s *GetTalkSessionDetailOK) GetID() string

GetID returns the value of ID.

func (*GetTalkSessionDetailOK) GetLocation

GetLocation returns the value of Location.

func (*GetTalkSessionDetailOK) GetOwner

GetOwner returns the value of Owner.

func (*GetTalkSessionDetailOK) GetPrefecture

func (s *GetTalkSessionDetailOK) GetPrefecture() OptNilString

GetPrefecture returns the value of Prefecture.

func (*GetTalkSessionDetailOK) GetScheduledEndTime

func (s *GetTalkSessionDetailOK) GetScheduledEndTime() string

GetScheduledEndTime returns the value of ScheduledEndTime.

func (*GetTalkSessionDetailOK) GetTheme

func (s *GetTalkSessionDetailOK) GetTheme() string

GetTheme returns the value of Theme.

func (*GetTalkSessionDetailOK) MarshalJSON

func (s *GetTalkSessionDetailOK) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*GetTalkSessionDetailOK) SetCity

func (s *GetTalkSessionDetailOK) SetCity(val OptNilString)

SetCity sets the value of City.

func (*GetTalkSessionDetailOK) SetCreatedAt

func (s *GetTalkSessionDetailOK) SetCreatedAt(val string)

SetCreatedAt sets the value of CreatedAt.

func (*GetTalkSessionDetailOK) SetDescription

func (s *GetTalkSessionDetailOK) SetDescription(val OptNilString)

SetDescription sets the value of Description.

func (*GetTalkSessionDetailOK) SetID

func (s *GetTalkSessionDetailOK) SetID(val string)

SetID sets the value of ID.

func (*GetTalkSessionDetailOK) SetLocation

SetLocation sets the value of Location.

func (*GetTalkSessionDetailOK) SetOwner

SetOwner sets the value of Owner.

func (*GetTalkSessionDetailOK) SetPrefecture

func (s *GetTalkSessionDetailOK) SetPrefecture(val OptNilString)

SetPrefecture sets the value of Prefecture.

func (*GetTalkSessionDetailOK) SetScheduledEndTime

func (s *GetTalkSessionDetailOK) SetScheduledEndTime(val string)

SetScheduledEndTime sets the value of ScheduledEndTime.

func (*GetTalkSessionDetailOK) SetTheme

func (s *GetTalkSessionDetailOK) SetTheme(val string)

SetTheme sets the value of Theme.

func (*GetTalkSessionDetailOK) UnmarshalJSON

func (s *GetTalkSessionDetailOK) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*GetTalkSessionDetailOK) Validate

func (s *GetTalkSessionDetailOK) Validate() error

type GetTalkSessionDetailOKLocation

type GetTalkSessionDetailOKLocation struct {
	// 緯度.
	Latitude OptFloat64 `json:"latitude"`
	// 経度.
	Longitude OptFloat64 `json:"longitude"`
}

位置情報.

func (*GetTalkSessionDetailOKLocation) Decode

Decode decodes GetTalkSessionDetailOKLocation from json.

func (*GetTalkSessionDetailOKLocation) Encode

Encode implements json.Marshaler.

func (*GetTalkSessionDetailOKLocation) GetLatitude

func (s *GetTalkSessionDetailOKLocation) GetLatitude() OptFloat64

GetLatitude returns the value of Latitude.

func (*GetTalkSessionDetailOKLocation) GetLongitude

func (s *GetTalkSessionDetailOKLocation) GetLongitude() OptFloat64

GetLongitude returns the value of Longitude.

func (*GetTalkSessionDetailOKLocation) MarshalJSON

func (s *GetTalkSessionDetailOKLocation) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*GetTalkSessionDetailOKLocation) SetLatitude

func (s *GetTalkSessionDetailOKLocation) SetLatitude(val OptFloat64)

SetLatitude sets the value of Latitude.

func (*GetTalkSessionDetailOKLocation) SetLongitude

func (s *GetTalkSessionDetailOKLocation) SetLongitude(val OptFloat64)

SetLongitude sets the value of Longitude.

func (*GetTalkSessionDetailOKLocation) UnmarshalJSON

func (s *GetTalkSessionDetailOKLocation) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*GetTalkSessionDetailOKLocation) Validate

func (s *GetTalkSessionDetailOKLocation) Validate() error

type GetTalkSessionDetailOKOwner

type GetTalkSessionDetailOKOwner struct {
	DisplayID   string       `json:"displayID"`
	DisplayName string       `json:"displayName"`
	IconURL     OptNilString `json:"iconURL"`
}

作成者.

func (*GetTalkSessionDetailOKOwner) Decode

Decode decodes GetTalkSessionDetailOKOwner from json.

func (*GetTalkSessionDetailOKOwner) Encode

func (s *GetTalkSessionDetailOKOwner) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*GetTalkSessionDetailOKOwner) GetDisplayID

func (s *GetTalkSessionDetailOKOwner) GetDisplayID() string

GetDisplayID returns the value of DisplayID.

func (*GetTalkSessionDetailOKOwner) GetDisplayName

func (s *GetTalkSessionDetailOKOwner) GetDisplayName() string

GetDisplayName returns the value of DisplayName.

func (*GetTalkSessionDetailOKOwner) GetIconURL

func (s *GetTalkSessionDetailOKOwner) GetIconURL() OptNilString

GetIconURL returns the value of IconURL.

func (*GetTalkSessionDetailOKOwner) MarshalJSON

func (s *GetTalkSessionDetailOKOwner) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*GetTalkSessionDetailOKOwner) SetDisplayID

func (s *GetTalkSessionDetailOKOwner) SetDisplayID(val string)

SetDisplayID sets the value of DisplayID.

func (*GetTalkSessionDetailOKOwner) SetDisplayName

func (s *GetTalkSessionDetailOKOwner) SetDisplayName(val string)

SetDisplayName sets the value of DisplayName.

func (*GetTalkSessionDetailOKOwner) SetIconURL

func (s *GetTalkSessionDetailOKOwner) SetIconURL(val OptNilString)

SetIconURL sets the value of IconURL.

func (*GetTalkSessionDetailOKOwner) UnmarshalJSON

func (s *GetTalkSessionDetailOKOwner) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*GetTalkSessionDetailOKOwner) Validate

func (s *GetTalkSessionDetailOKOwner) Validate() error

type GetTalkSessionDetailParams

type GetTalkSessionDetailParams struct {
	TalkSessionId string
}

GetTalkSessionDetailParams is parameters of getTalkSessionDetail operation.

type GetTalkSessionDetailRes

type GetTalkSessionDetailRes interface {
	// contains filtered or unexported methods
}

type GetTalkSessionListBadRequest

type GetTalkSessionListBadRequest struct {
	Code    string `json:"code"`
	Message string `json:"message"`
}

func (*GetTalkSessionListBadRequest) Decode

Decode decodes GetTalkSessionListBadRequest from json.

func (*GetTalkSessionListBadRequest) Encode

func (s *GetTalkSessionListBadRequest) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*GetTalkSessionListBadRequest) GetCode

func (s *GetTalkSessionListBadRequest) GetCode() string

GetCode returns the value of Code.

func (*GetTalkSessionListBadRequest) GetMessage

func (s *GetTalkSessionListBadRequest) GetMessage() string

GetMessage returns the value of Message.

func (*GetTalkSessionListBadRequest) MarshalJSON

func (s *GetTalkSessionListBadRequest) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*GetTalkSessionListBadRequest) SetCode

func (s *GetTalkSessionListBadRequest) SetCode(val string)

SetCode sets the value of Code.

func (*GetTalkSessionListBadRequest) SetMessage

func (s *GetTalkSessionListBadRequest) SetMessage(val string)

SetMessage sets the value of Message.

func (*GetTalkSessionListBadRequest) UnmarshalJSON

func (s *GetTalkSessionListBadRequest) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type GetTalkSessionListInternalServerError

type GetTalkSessionListInternalServerError struct {
	Code    string `json:"code"`
	Message string `json:"message"`
}

func (*GetTalkSessionListInternalServerError) Decode

Decode decodes GetTalkSessionListInternalServerError from json.

func (*GetTalkSessionListInternalServerError) Encode

Encode implements json.Marshaler.

func (*GetTalkSessionListInternalServerError) GetCode

GetCode returns the value of Code.

func (*GetTalkSessionListInternalServerError) GetMessage

GetMessage returns the value of Message.

func (*GetTalkSessionListInternalServerError) MarshalJSON

func (s *GetTalkSessionListInternalServerError) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*GetTalkSessionListInternalServerError) SetCode

SetCode sets the value of Code.

func (*GetTalkSessionListInternalServerError) SetMessage

func (s *GetTalkSessionListInternalServerError) SetMessage(val string)

SetMessage sets the value of Message.

func (*GetTalkSessionListInternalServerError) UnmarshalJSON

func (s *GetTalkSessionListInternalServerError) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type GetTalkSessionListOK

type GetTalkSessionListOK struct {
	TalkSessions []GetTalkSessionListOKTalkSessionsItem `json:"talkSessions"`
	Pagination   GetTalkSessionListOKPagination         `json:"pagination"`
}

func (*GetTalkSessionListOK) Decode

func (s *GetTalkSessionListOK) Decode(d *jx.Decoder) error

Decode decodes GetTalkSessionListOK from json.

func (*GetTalkSessionListOK) Encode

func (s *GetTalkSessionListOK) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*GetTalkSessionListOK) GetPagination

GetPagination returns the value of Pagination.

func (*GetTalkSessionListOK) GetTalkSessions

GetTalkSessions returns the value of TalkSessions.

func (*GetTalkSessionListOK) MarshalJSON

func (s *GetTalkSessionListOK) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*GetTalkSessionListOK) SetPagination

SetPagination sets the value of Pagination.

func (*GetTalkSessionListOK) SetTalkSessions

SetTalkSessions sets the value of TalkSessions.

func (*GetTalkSessionListOK) UnmarshalJSON

func (s *GetTalkSessionListOK) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*GetTalkSessionListOK) Validate

func (s *GetTalkSessionListOK) Validate() error

type GetTalkSessionListOKPagination

type GetTalkSessionListOKPagination struct {
	TotalCount int `json:"totalCount"`
	Offset     int `json:"offset"`
	Limit      int `json:"limit"`
}

func (*GetTalkSessionListOKPagination) Decode

Decode decodes GetTalkSessionListOKPagination from json.

func (*GetTalkSessionListOKPagination) Encode

Encode implements json.Marshaler.

func (*GetTalkSessionListOKPagination) GetLimit

func (s *GetTalkSessionListOKPagination) GetLimit() int

GetLimit returns the value of Limit.

func (*GetTalkSessionListOKPagination) GetOffset

func (s *GetTalkSessionListOKPagination) GetOffset() int

GetOffset returns the value of Offset.

func (*GetTalkSessionListOKPagination) GetTotalCount

func (s *GetTalkSessionListOKPagination) GetTotalCount() int

GetTotalCount returns the value of TotalCount.

func (*GetTalkSessionListOKPagination) MarshalJSON

func (s *GetTalkSessionListOKPagination) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*GetTalkSessionListOKPagination) SetLimit

func (s *GetTalkSessionListOKPagination) SetLimit(val int)

SetLimit sets the value of Limit.

func (*GetTalkSessionListOKPagination) SetOffset

func (s *GetTalkSessionListOKPagination) SetOffset(val int)

SetOffset sets the value of Offset.

func (*GetTalkSessionListOKPagination) SetTotalCount

func (s *GetTalkSessionListOKPagination) SetTotalCount(val int)

SetTotalCount sets the value of TotalCount.

func (*GetTalkSessionListOKPagination) UnmarshalJSON

func (s *GetTalkSessionListOKPagination) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type GetTalkSessionListOKTalkSessionsItem

type GetTalkSessionListOKTalkSessionsItem struct {
	TalkSession  GetTalkSessionListOKTalkSessionsItemTalkSession `json:"talkSession"`
	OpinionCount int                                             `json:"opinionCount"`
}

func (*GetTalkSessionListOKTalkSessionsItem) Decode

Decode decodes GetTalkSessionListOKTalkSessionsItem from json.

func (*GetTalkSessionListOKTalkSessionsItem) Encode

Encode implements json.Marshaler.

func (*GetTalkSessionListOKTalkSessionsItem) GetOpinionCount

func (s *GetTalkSessionListOKTalkSessionsItem) GetOpinionCount() int

GetOpinionCount returns the value of OpinionCount.

func (*GetTalkSessionListOKTalkSessionsItem) GetTalkSession

GetTalkSession returns the value of TalkSession.

func (*GetTalkSessionListOKTalkSessionsItem) MarshalJSON

func (s *GetTalkSessionListOKTalkSessionsItem) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*GetTalkSessionListOKTalkSessionsItem) SetOpinionCount

func (s *GetTalkSessionListOKTalkSessionsItem) SetOpinionCount(val int)

SetOpinionCount sets the value of OpinionCount.

func (*GetTalkSessionListOKTalkSessionsItem) SetTalkSession

SetTalkSession sets the value of TalkSession.

func (*GetTalkSessionListOKTalkSessionsItem) UnmarshalJSON

func (s *GetTalkSessionListOKTalkSessionsItem) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*GetTalkSessionListOKTalkSessionsItem) Validate

type GetTalkSessionListOKTalkSessionsItemTalkSession

type GetTalkSessionListOKTalkSessionsItemTalkSession struct {
	// トークセッションID.
	ID string `json:"id"`
	// テーマ.
	Theme string `json:"theme"`
	// 説明.
	Description OptNilString `json:"description"`
	// 作成者.
	Owner GetTalkSessionListOKTalkSessionsItemTalkSessionOwner `json:"owner"`
	// 作成日時.
	CreatedAt string `json:"createdAt"`
	// 終了予定日時.
	ScheduledEndTime string `json:"scheduledEndTime"`
	// 位置情報.
	Location OptGetTalkSessionListOKTalkSessionsItemTalkSessionLocation `json:"location"`
	// 市区町村.
	City OptNilString `json:"city"`
	// 都道府県.
	Prefecture OptNilString `json:"prefecture"`
}

func (*GetTalkSessionListOKTalkSessionsItemTalkSession) Decode

Decode decodes GetTalkSessionListOKTalkSessionsItemTalkSession from json.

func (*GetTalkSessionListOKTalkSessionsItemTalkSession) Encode

Encode implements json.Marshaler.

func (*GetTalkSessionListOKTalkSessionsItemTalkSession) GetCity

GetCity returns the value of City.

func (*GetTalkSessionListOKTalkSessionsItemTalkSession) GetCreatedAt

GetCreatedAt returns the value of CreatedAt.

func (*GetTalkSessionListOKTalkSessionsItemTalkSession) GetDescription

GetDescription returns the value of Description.

func (*GetTalkSessionListOKTalkSessionsItemTalkSession) GetID

GetID returns the value of ID.

func (*GetTalkSessionListOKTalkSessionsItemTalkSession) GetLocation

GetLocation returns the value of Location.

func (*GetTalkSessionListOKTalkSessionsItemTalkSession) GetOwner

GetOwner returns the value of Owner.

func (*GetTalkSessionListOKTalkSessionsItemTalkSession) GetPrefecture

GetPrefecture returns the value of Prefecture.

func (*GetTalkSessionListOKTalkSessionsItemTalkSession) GetScheduledEndTime

GetScheduledEndTime returns the value of ScheduledEndTime.

func (*GetTalkSessionListOKTalkSessionsItemTalkSession) GetTheme

GetTheme returns the value of Theme.

func (*GetTalkSessionListOKTalkSessionsItemTalkSession) MarshalJSON

MarshalJSON implements stdjson.Marshaler.

func (*GetTalkSessionListOKTalkSessionsItemTalkSession) SetCity

SetCity sets the value of City.

func (*GetTalkSessionListOKTalkSessionsItemTalkSession) SetCreatedAt

SetCreatedAt sets the value of CreatedAt.

func (*GetTalkSessionListOKTalkSessionsItemTalkSession) SetDescription

SetDescription sets the value of Description.

func (*GetTalkSessionListOKTalkSessionsItemTalkSession) SetID

SetID sets the value of ID.

func (*GetTalkSessionListOKTalkSessionsItemTalkSession) SetLocation

SetLocation sets the value of Location.

func (*GetTalkSessionListOKTalkSessionsItemTalkSession) SetOwner

SetOwner sets the value of Owner.

func (*GetTalkSessionListOKTalkSessionsItemTalkSession) SetPrefecture

SetPrefecture sets the value of Prefecture.

func (*GetTalkSessionListOKTalkSessionsItemTalkSession) SetScheduledEndTime

func (s *GetTalkSessionListOKTalkSessionsItemTalkSession) SetScheduledEndTime(val string)

SetScheduledEndTime sets the value of ScheduledEndTime.

func (*GetTalkSessionListOKTalkSessionsItemTalkSession) SetTheme

SetTheme sets the value of Theme.

func (*GetTalkSessionListOKTalkSessionsItemTalkSession) UnmarshalJSON

UnmarshalJSON implements stdjson.Unmarshaler.

func (*GetTalkSessionListOKTalkSessionsItemTalkSession) Validate

type GetTalkSessionListOKTalkSessionsItemTalkSessionLocation

type GetTalkSessionListOKTalkSessionsItemTalkSessionLocation struct {
	// 緯度.
	Latitude OptFloat64 `json:"latitude"`
	// 経度.
	Longitude OptFloat64 `json:"longitude"`
}

位置情報.

func (*GetTalkSessionListOKTalkSessionsItemTalkSessionLocation) Decode

Decode decodes GetTalkSessionListOKTalkSessionsItemTalkSessionLocation from json.

func (*GetTalkSessionListOKTalkSessionsItemTalkSessionLocation) Encode

Encode implements json.Marshaler.

func (*GetTalkSessionListOKTalkSessionsItemTalkSessionLocation) GetLatitude

GetLatitude returns the value of Latitude.

func (*GetTalkSessionListOKTalkSessionsItemTalkSessionLocation) GetLongitude

GetLongitude returns the value of Longitude.

func (*GetTalkSessionListOKTalkSessionsItemTalkSessionLocation) MarshalJSON

MarshalJSON implements stdjson.Marshaler.

func (*GetTalkSessionListOKTalkSessionsItemTalkSessionLocation) SetLatitude

SetLatitude sets the value of Latitude.

func (*GetTalkSessionListOKTalkSessionsItemTalkSessionLocation) SetLongitude

SetLongitude sets the value of Longitude.

func (*GetTalkSessionListOKTalkSessionsItemTalkSessionLocation) UnmarshalJSON

UnmarshalJSON implements stdjson.Unmarshaler.

func (*GetTalkSessionListOKTalkSessionsItemTalkSessionLocation) Validate

type GetTalkSessionListOKTalkSessionsItemTalkSessionOwner

type GetTalkSessionListOKTalkSessionsItemTalkSessionOwner struct {
	DisplayID   string       `json:"displayID"`
	DisplayName string       `json:"displayName"`
	IconURL     OptNilString `json:"iconURL"`
}

作成者.

func (*GetTalkSessionListOKTalkSessionsItemTalkSessionOwner) Decode

Decode decodes GetTalkSessionListOKTalkSessionsItemTalkSessionOwner from json.

func (*GetTalkSessionListOKTalkSessionsItemTalkSessionOwner) Encode

Encode implements json.Marshaler.

func (*GetTalkSessionListOKTalkSessionsItemTalkSessionOwner) GetDisplayID

GetDisplayID returns the value of DisplayID.

func (*GetTalkSessionListOKTalkSessionsItemTalkSessionOwner) GetDisplayName

GetDisplayName returns the value of DisplayName.

func (*GetTalkSessionListOKTalkSessionsItemTalkSessionOwner) GetIconURL

GetIconURL returns the value of IconURL.

func (*GetTalkSessionListOKTalkSessionsItemTalkSessionOwner) MarshalJSON

MarshalJSON implements stdjson.Marshaler.

func (*GetTalkSessionListOKTalkSessionsItemTalkSessionOwner) SetDisplayID

SetDisplayID sets the value of DisplayID.

func (*GetTalkSessionListOKTalkSessionsItemTalkSessionOwner) SetDisplayName

SetDisplayName sets the value of DisplayName.

func (*GetTalkSessionListOKTalkSessionsItemTalkSessionOwner) SetIconURL

SetIconURL sets the value of IconURL.

func (*GetTalkSessionListOKTalkSessionsItemTalkSessionOwner) UnmarshalJSON

UnmarshalJSON implements stdjson.Unmarshaler.

func (*GetTalkSessionListOKTalkSessionsItemTalkSessionOwner) Validate

type GetTalkSessionListParams

type GetTalkSessionListParams struct {
	// 1ページあたりの要素数.
	Limit OptNilInt
	// どの要素から始めるか.
	Offset    OptNilInt
	Theme     OptNilString
	Status    OptNilGetTalkSessionListStatus
	SortKey   OptGetTalkSessionListSortKey
	Latitude  OptNilFloat64
	Longitude OptNilFloat64
}

GetTalkSessionListParams is parameters of getTalkSessionList operation.

type GetTalkSessionListRes

type GetTalkSessionListRes interface {
	// contains filtered or unexported methods
}

type GetTalkSessionListSortKey

type GetTalkSessionListSortKey string
const (
	GetTalkSessionListSortKeyLatest      GetTalkSessionListSortKey = "latest"
	GetTalkSessionListSortKeyOldest      GetTalkSessionListSortKey = "oldest"
	GetTalkSessionListSortKeyMostReplies GetTalkSessionListSortKey = "mostReplies"
	GetTalkSessionListSortKeyNearest     GetTalkSessionListSortKey = "nearest"
)

func (GetTalkSessionListSortKey) AllValues

AllValues returns all GetTalkSessionListSortKey values.

func (GetTalkSessionListSortKey) MarshalText

func (s GetTalkSessionListSortKey) MarshalText() ([]byte, error)

MarshalText implements encoding.TextMarshaler.

func (*GetTalkSessionListSortKey) UnmarshalText

func (s *GetTalkSessionListSortKey) UnmarshalText(data []byte) error

UnmarshalText implements encoding.TextUnmarshaler.

func (GetTalkSessionListSortKey) Validate

func (s GetTalkSessionListSortKey) Validate() error

type GetTalkSessionListStatus

type GetTalkSessionListStatus string
const (
	GetTalkSessionListStatusOpen     GetTalkSessionListStatus = "open"
	GetTalkSessionListStatusFinished GetTalkSessionListStatus = "finished"
)

func (GetTalkSessionListStatus) AllValues

AllValues returns all GetTalkSessionListStatus values.

func (GetTalkSessionListStatus) MarshalText

func (s GetTalkSessionListStatus) MarshalText() ([]byte, error)

MarshalText implements encoding.TextMarshaler.

func (*GetTalkSessionListStatus) UnmarshalText

func (s *GetTalkSessionListStatus) UnmarshalText(data []byte) error

UnmarshalText implements encoding.TextUnmarshaler.

func (GetTalkSessionListStatus) Validate

func (s GetTalkSessionListStatus) Validate() error

type GetTalkSessionReportInternalServerError

type GetTalkSessionReportInternalServerError struct{}

func (*GetTalkSessionReportInternalServerError) Decode

Decode decodes GetTalkSessionReportInternalServerError from json.

func (*GetTalkSessionReportInternalServerError) Encode

Encode implements json.Marshaler.

func (*GetTalkSessionReportInternalServerError) MarshalJSON

func (s *GetTalkSessionReportInternalServerError) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*GetTalkSessionReportInternalServerError) UnmarshalJSON

func (s *GetTalkSessionReportInternalServerError) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type GetTalkSessionReportOK

type GetTalkSessionReportOK struct {
	Report string `json:"report"`
}

func (*GetTalkSessionReportOK) Decode

func (s *GetTalkSessionReportOK) Decode(d *jx.Decoder) error

Decode decodes GetTalkSessionReportOK from json.

func (*GetTalkSessionReportOK) Encode

func (s *GetTalkSessionReportOK) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*GetTalkSessionReportOK) GetReport

func (s *GetTalkSessionReportOK) GetReport() string

GetReport returns the value of Report.

func (*GetTalkSessionReportOK) MarshalJSON

func (s *GetTalkSessionReportOK) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*GetTalkSessionReportOK) SetReport

func (s *GetTalkSessionReportOK) SetReport(val string)

SetReport sets the value of Report.

func (*GetTalkSessionReportOK) UnmarshalJSON

func (s *GetTalkSessionReportOK) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type GetTalkSessionReportParams

type GetTalkSessionReportParams struct {
	TalkSessionId string
}

GetTalkSessionReportParams is parameters of getTalkSessionReport operation.

type GetTalkSessionReportRes

type GetTalkSessionReportRes interface {
	// contains filtered or unexported methods
}

type GetTimeLineBadRequest

type GetTimeLineBadRequest struct{}

func (*GetTimeLineBadRequest) Decode

func (s *GetTimeLineBadRequest) Decode(d *jx.Decoder) error

Decode decodes GetTimeLineBadRequest from json.

func (*GetTimeLineBadRequest) Encode

func (s *GetTimeLineBadRequest) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*GetTimeLineBadRequest) MarshalJSON

func (s *GetTimeLineBadRequest) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*GetTimeLineBadRequest) UnmarshalJSON

func (s *GetTimeLineBadRequest) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type GetTimeLineInternalServerError

type GetTimeLineInternalServerError struct{}

func (*GetTimeLineInternalServerError) Decode

Decode decodes GetTimeLineInternalServerError from json.

func (*GetTimeLineInternalServerError) Encode

Encode implements json.Marshaler.

func (*GetTimeLineInternalServerError) MarshalJSON

func (s *GetTimeLineInternalServerError) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*GetTimeLineInternalServerError) UnmarshalJSON

func (s *GetTimeLineInternalServerError) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type GetTimeLineOK

type GetTimeLineOK struct {
	Items []GetTimeLineOKItemsItem `json:"items"`
}

func (*GetTimeLineOK) Decode

func (s *GetTimeLineOK) Decode(d *jx.Decoder) error

Decode decodes GetTimeLineOK from json.

func (*GetTimeLineOK) Encode

func (s *GetTimeLineOK) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*GetTimeLineOK) GetItems

func (s *GetTimeLineOK) GetItems() []GetTimeLineOKItemsItem

GetItems returns the value of Items.

func (*GetTimeLineOK) MarshalJSON

func (s *GetTimeLineOK) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*GetTimeLineOK) SetItems

func (s *GetTimeLineOK) SetItems(val []GetTimeLineOKItemsItem)

SetItems sets the value of Items.

func (*GetTimeLineOK) UnmarshalJSON

func (s *GetTimeLineOK) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*GetTimeLineOK) Validate

func (s *GetTimeLineOK) Validate() error

type GetTimeLineOKItemsItem

type GetTimeLineOKItemsItem struct {
	ActionItemID string `json:"ActionItemID"`
	Sequence     int    `json:"Sequence"`
	Content      string `json:"Content"`
	Status       string `json:"Status"`
	CreatedAt    string `json:"CreatedAt"`
	UpdatedAt    string `json:"UpdatedAt"`
}

func (*GetTimeLineOKItemsItem) Decode

func (s *GetTimeLineOKItemsItem) Decode(d *jx.Decoder) error

Decode decodes GetTimeLineOKItemsItem from json.

func (*GetTimeLineOKItemsItem) Encode

func (s *GetTimeLineOKItemsItem) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*GetTimeLineOKItemsItem) GetActionItemID

func (s *GetTimeLineOKItemsItem) GetActionItemID() string

GetActionItemID returns the value of ActionItemID.

func (*GetTimeLineOKItemsItem) GetContent

func (s *GetTimeLineOKItemsItem) GetContent() string

GetContent returns the value of Content.

func (*GetTimeLineOKItemsItem) GetCreatedAt

func (s *GetTimeLineOKItemsItem) GetCreatedAt() string

GetCreatedAt returns the value of CreatedAt.

func (*GetTimeLineOKItemsItem) GetSequence

func (s *GetTimeLineOKItemsItem) GetSequence() int

GetSequence returns the value of Sequence.

func (*GetTimeLineOKItemsItem) GetStatus

func (s *GetTimeLineOKItemsItem) GetStatus() string

GetStatus returns the value of Status.

func (*GetTimeLineOKItemsItem) GetUpdatedAt

func (s *GetTimeLineOKItemsItem) GetUpdatedAt() string

GetUpdatedAt returns the value of UpdatedAt.

func (*GetTimeLineOKItemsItem) MarshalJSON

func (s *GetTimeLineOKItemsItem) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*GetTimeLineOKItemsItem) SetActionItemID

func (s *GetTimeLineOKItemsItem) SetActionItemID(val string)

SetActionItemID sets the value of ActionItemID.

func (*GetTimeLineOKItemsItem) SetContent

func (s *GetTimeLineOKItemsItem) SetContent(val string)

SetContent sets the value of Content.

func (*GetTimeLineOKItemsItem) SetCreatedAt

func (s *GetTimeLineOKItemsItem) SetCreatedAt(val string)

SetCreatedAt sets the value of CreatedAt.

func (*GetTimeLineOKItemsItem) SetSequence

func (s *GetTimeLineOKItemsItem) SetSequence(val int)

SetSequence sets the value of Sequence.

func (*GetTimeLineOKItemsItem) SetStatus

func (s *GetTimeLineOKItemsItem) SetStatus(val string)

SetStatus sets the value of Status.

func (*GetTimeLineOKItemsItem) SetUpdatedAt

func (s *GetTimeLineOKItemsItem) SetUpdatedAt(val string)

SetUpdatedAt sets the value of UpdatedAt.

func (*GetTimeLineOKItemsItem) UnmarshalJSON

func (s *GetTimeLineOKItemsItem) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type GetTimeLineParams

type GetTimeLineParams struct {
	TalkSessionID string
}

GetTimeLineParams is parameters of getTimeLine operation.

type GetTimeLineRes

type GetTimeLineRes interface {
	// contains filtered or unexported methods
}

type GetUserInfoInternalServerError

type GetUserInfoInternalServerError struct{}

func (*GetUserInfoInternalServerError) Decode

Decode decodes GetUserInfoInternalServerError from json.

func (*GetUserInfoInternalServerError) Encode

Encode implements json.Marshaler.

func (*GetUserInfoInternalServerError) MarshalJSON

func (s *GetUserInfoInternalServerError) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*GetUserInfoInternalServerError) UnmarshalJSON

func (s *GetUserInfoInternalServerError) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type GetUserInfoOK

type GetUserInfoOK struct {
	// 作成者.
	User         GetUserInfoOKUser         `json:"user"`
	Demographics GetUserInfoOKDemographics `json:"demographics"`
}

func (*GetUserInfoOK) Decode

func (s *GetUserInfoOK) Decode(d *jx.Decoder) error

Decode decodes GetUserInfoOK from json.

func (*GetUserInfoOK) Encode

func (s *GetUserInfoOK) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*GetUserInfoOK) GetDemographics

func (s *GetUserInfoOK) GetDemographics() GetUserInfoOKDemographics

GetDemographics returns the value of Demographics.

func (*GetUserInfoOK) GetUser

func (s *GetUserInfoOK) GetUser() GetUserInfoOKUser

GetUser returns the value of User.

func (*GetUserInfoOK) MarshalJSON

func (s *GetUserInfoOK) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*GetUserInfoOK) SetDemographics

func (s *GetUserInfoOK) SetDemographics(val GetUserInfoOKDemographics)

SetDemographics sets the value of Demographics.

func (*GetUserInfoOK) SetUser

func (s *GetUserInfoOK) SetUser(val GetUserInfoOKUser)

SetUser sets the value of User.

func (*GetUserInfoOK) UnmarshalJSON

func (s *GetUserInfoOK) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*GetUserInfoOK) Validate

func (s *GetUserInfoOK) Validate() error

type GetUserInfoOKDemographics

type GetUserInfoOKDemographics struct {
	// 誕生年.
	YearOfBirth OptNilInt `json:"yearOfBirth"`
	// 職業.
	Occupation string `json:"occupation"`
	// 性別.
	Gender string `json:"gender"`
	// 市区町村.
	City OptNilString `json:"city"`
	// 世帯人数.
	HouseholdSize OptNilInt `json:"householdSize"`
	// 都道府県.
	Prefecture OptNilString `json:"prefecture"`
}

func (*GetUserInfoOKDemographics) Decode

func (s *GetUserInfoOKDemographics) Decode(d *jx.Decoder) error

Decode decodes GetUserInfoOKDemographics from json.

func (*GetUserInfoOKDemographics) Encode

func (s *GetUserInfoOKDemographics) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*GetUserInfoOKDemographics) GetCity

GetCity returns the value of City.

func (*GetUserInfoOKDemographics) GetGender

func (s *GetUserInfoOKDemographics) GetGender() string

GetGender returns the value of Gender.

func (*GetUserInfoOKDemographics) GetHouseholdSize

func (s *GetUserInfoOKDemographics) GetHouseholdSize() OptNilInt

GetHouseholdSize returns the value of HouseholdSize.

func (*GetUserInfoOKDemographics) GetOccupation

func (s *GetUserInfoOKDemographics) GetOccupation() string

GetOccupation returns the value of Occupation.

func (*GetUserInfoOKDemographics) GetPrefecture

func (s *GetUserInfoOKDemographics) GetPrefecture() OptNilString

GetPrefecture returns the value of Prefecture.

func (*GetUserInfoOKDemographics) GetYearOfBirth

func (s *GetUserInfoOKDemographics) GetYearOfBirth() OptNilInt

GetYearOfBirth returns the value of YearOfBirth.

func (*GetUserInfoOKDemographics) MarshalJSON

func (s *GetUserInfoOKDemographics) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*GetUserInfoOKDemographics) SetCity

func (s *GetUserInfoOKDemographics) SetCity(val OptNilString)

SetCity sets the value of City.

func (*GetUserInfoOKDemographics) SetGender

func (s *GetUserInfoOKDemographics) SetGender(val string)

SetGender sets the value of Gender.

func (*GetUserInfoOKDemographics) SetHouseholdSize

func (s *GetUserInfoOKDemographics) SetHouseholdSize(val OptNilInt)

SetHouseholdSize sets the value of HouseholdSize.

func (*GetUserInfoOKDemographics) SetOccupation

func (s *GetUserInfoOKDemographics) SetOccupation(val string)

SetOccupation sets the value of Occupation.

func (*GetUserInfoOKDemographics) SetPrefecture

func (s *GetUserInfoOKDemographics) SetPrefecture(val OptNilString)

SetPrefecture sets the value of Prefecture.

func (*GetUserInfoOKDemographics) SetYearOfBirth

func (s *GetUserInfoOKDemographics) SetYearOfBirth(val OptNilInt)

SetYearOfBirth sets the value of YearOfBirth.

func (*GetUserInfoOKDemographics) UnmarshalJSON

func (s *GetUserInfoOKDemographics) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*GetUserInfoOKDemographics) Validate

func (s *GetUserInfoOKDemographics) Validate() error

type GetUserInfoOKUser

type GetUserInfoOKUser struct {
	DisplayID   string       `json:"displayID"`
	DisplayName string       `json:"displayName"`
	IconURL     OptNilString `json:"iconURL"`
}

作成者.

func (*GetUserInfoOKUser) Decode

func (s *GetUserInfoOKUser) Decode(d *jx.Decoder) error

Decode decodes GetUserInfoOKUser from json.

func (*GetUserInfoOKUser) Encode

func (s *GetUserInfoOKUser) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*GetUserInfoOKUser) GetDisplayID

func (s *GetUserInfoOKUser) GetDisplayID() string

GetDisplayID returns the value of DisplayID.

func (*GetUserInfoOKUser) GetDisplayName

func (s *GetUserInfoOKUser) GetDisplayName() string

GetDisplayName returns the value of DisplayName.

func (*GetUserInfoOKUser) GetIconURL

func (s *GetUserInfoOKUser) GetIconURL() OptNilString

GetIconURL returns the value of IconURL.

func (*GetUserInfoOKUser) MarshalJSON

func (s *GetUserInfoOKUser) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*GetUserInfoOKUser) SetDisplayID

func (s *GetUserInfoOKUser) SetDisplayID(val string)

SetDisplayID sets the value of DisplayID.

func (*GetUserInfoOKUser) SetDisplayName

func (s *GetUserInfoOKUser) SetDisplayName(val string)

SetDisplayName sets the value of DisplayName.

func (*GetUserInfoOKUser) SetIconURL

func (s *GetUserInfoOKUser) SetIconURL(val OptNilString)

SetIconURL sets the value of IconURL.

func (*GetUserInfoOKUser) UnmarshalJSON

func (s *GetUserInfoOKUser) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*GetUserInfoOKUser) Validate

func (s *GetUserInfoOKUser) Validate() error

type GetUserInfoRes

type GetUserInfoRes interface {
	// contains filtered or unexported methods
}

type Handler

Handler handles operations described by OpenAPI v3 specification.

type Labeler

type Labeler struct {
	// contains filtered or unexported fields
}

Labeler is used to allow adding custom attributes to the server request metrics.

func LabelerFromContext

func LabelerFromContext(ctx context.Context) (*Labeler, bool)

LabelerFromContext retrieves the Labeler from the provided context, if present.

If no Labeler was found in the provided context a new, empty Labeler is returned and the second return value is false. In this case it is safe to use the Labeler but any attributes added to it will not be used.

func (*Labeler) Add

func (l *Labeler) Add(attrs ...attribute.KeyValue)

Add attributes to the Labeler.

func (*Labeler) AttributeSet

func (l *Labeler) AttributeSet() attribute.Set

AttributeSet returns the attributes added to the Labeler as an attribute.Set.

type ManageHandler

type ManageHandler interface {
	// ManageIndex implements manageIndex operation.
	//
	// GET /manage
	ManageIndex(ctx context.Context) (ManageIndexOK, error)
	// ManageRegenerate implements manageRegenerate operation.
	//
	// Analysisを再生成する。enum: [report, group, image].
	//
	// POST /manage/regenerate
	ManageRegenerate(ctx context.Context, req OptManageRegenerateReq) (*ManageRegenerateOK, error)
}

ManageHandler handles operations described by OpenAPI v3 specification.

x-ogen-operation-group: Manage

type ManageIndexOK

type ManageIndexOK struct {
	Data io.Reader
}

func (ManageIndexOK) Read

func (s ManageIndexOK) Read(p []byte) (n int, err error)

Read reads data from the Data reader.

Kept to satisfy the io.Reader interface.

type ManageRegenerateOK

type ManageRegenerateOK struct {
	// ステータス.
	Status OptString `json:"status"`
	// メッセージ.
	Message OptString `json:"message"`
}

func (*ManageRegenerateOK) Decode

func (s *ManageRegenerateOK) Decode(d *jx.Decoder) error

Decode decodes ManageRegenerateOK from json.

func (*ManageRegenerateOK) Encode

func (s *ManageRegenerateOK) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*ManageRegenerateOK) GetMessage

func (s *ManageRegenerateOK) GetMessage() OptString

GetMessage returns the value of Message.

func (*ManageRegenerateOK) GetStatus

func (s *ManageRegenerateOK) GetStatus() OptString

GetStatus returns the value of Status.

func (*ManageRegenerateOK) MarshalJSON

func (s *ManageRegenerateOK) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*ManageRegenerateOK) SetMessage

func (s *ManageRegenerateOK) SetMessage(val OptString)

SetMessage sets the value of Message.

func (*ManageRegenerateOK) SetStatus

func (s *ManageRegenerateOK) SetStatus(val OptString)

SetStatus sets the value of Status.

func (*ManageRegenerateOK) UnmarshalJSON

func (s *ManageRegenerateOK) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type ManageRegenerateReq

type ManageRegenerateReq struct {
	// Analysisの種類.
	Type ManageRegenerateReqType `json:"type"`
	// 再生成するTalkSessionID.
	TalkSessionID string `json:"talkSessionID"`
}

func (*ManageRegenerateReq) Decode

func (s *ManageRegenerateReq) Decode(d *jx.Decoder) error

Decode decodes ManageRegenerateReq from json.

func (*ManageRegenerateReq) Encode

func (s *ManageRegenerateReq) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*ManageRegenerateReq) GetTalkSessionID

func (s *ManageRegenerateReq) GetTalkSessionID() string

GetTalkSessionID returns the value of TalkSessionID.

func (*ManageRegenerateReq) GetType

GetType returns the value of Type.

func (*ManageRegenerateReq) MarshalJSON

func (s *ManageRegenerateReq) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*ManageRegenerateReq) SetTalkSessionID

func (s *ManageRegenerateReq) SetTalkSessionID(val string)

SetTalkSessionID sets the value of TalkSessionID.

func (*ManageRegenerateReq) SetType

SetType sets the value of Type.

func (*ManageRegenerateReq) UnmarshalJSON

func (s *ManageRegenerateReq) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*ManageRegenerateReq) Validate

func (s *ManageRegenerateReq) Validate() error

type ManageRegenerateReqType

type ManageRegenerateReqType string

Analysisの種類.

const (
	ManageRegenerateReqTypeReport ManageRegenerateReqType = "report"
	ManageRegenerateReqTypeGroup  ManageRegenerateReqType = "group"
	ManageRegenerateReqTypeImage  ManageRegenerateReqType = "image"
)

func (ManageRegenerateReqType) AllValues

AllValues returns all ManageRegenerateReqType values.

func (*ManageRegenerateReqType) Decode

func (s *ManageRegenerateReqType) Decode(d *jx.Decoder) error

Decode decodes ManageRegenerateReqType from json.

func (ManageRegenerateReqType) Encode

func (s ManageRegenerateReqType) Encode(e *jx.Encoder)

Encode encodes ManageRegenerateReqType as json.

func (ManageRegenerateReqType) MarshalJSON

func (s ManageRegenerateReqType) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (ManageRegenerateReqType) MarshalText

func (s ManageRegenerateReqType) MarshalText() ([]byte, error)

MarshalText implements encoding.TextMarshaler.

func (*ManageRegenerateReqType) UnmarshalJSON

func (s *ManageRegenerateReqType) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*ManageRegenerateReqType) UnmarshalText

func (s *ManageRegenerateReqType) UnmarshalText(data []byte) error

UnmarshalText implements encoding.TextUnmarshaler.

func (ManageRegenerateReqType) Validate

func (s ManageRegenerateReqType) Validate() error

type Middleware

type Middleware = middleware.Middleware

Middleware is middleware type.

type NilVoteReqVoteStatus

type NilVoteReqVoteStatus struct {
	Value VoteReqVoteStatus
	Null  bool
}

NilVoteReqVoteStatus is nullable VoteReqVoteStatus.

func NewNilVoteReqVoteStatus

func NewNilVoteReqVoteStatus(v VoteReqVoteStatus) NilVoteReqVoteStatus

NewNilVoteReqVoteStatus returns new NilVoteReqVoteStatus with value set to v.

func (NilVoteReqVoteStatus) Get

Get returns value and boolean that denotes whether value was set.

func (NilVoteReqVoteStatus) IsNull

func (o NilVoteReqVoteStatus) IsNull() bool

IsSet returns true if value is Null.

func (NilVoteReqVoteStatus) Or

Or returns value if set, or given parameter if does not.

func (*NilVoteReqVoteStatus) SetTo

SetTo sets value to v.

func (*NilVoteReqVoteStatus) SetToNull

func (o *NilVoteReqVoteStatus) SetToNull()

SetNull sets value to null.

type OAuthCallbackFound

type OAuthCallbackFound struct {
	Location  OptURI
	SetCookie OptString
}

OAuthCallbackFound is response for OAuthCallback operation.

func (*OAuthCallbackFound) GetLocation

func (s *OAuthCallbackFound) GetLocation() OptURI

GetLocation returns the value of Location.

func (*OAuthCallbackFound) GetSetCookie

func (s *OAuthCallbackFound) GetSetCookie() OptString

GetSetCookie returns the value of SetCookie.

func (*OAuthCallbackFound) SetLocation

func (s *OAuthCallbackFound) SetLocation(val OptURI)

SetLocation sets the value of Location.

func (*OAuthCallbackFound) SetSetCookie

func (s *OAuthCallbackFound) SetSetCookie(val OptString)

SetSetCookie sets the value of SetCookie.

type OAuthCallbackParams

type OAuthCallbackParams struct {
	// OAuth2.0 State from Cookie.
	CookieState OptString
	// Auth Callback URL.
	RedirectURL string
	// OAUTH Provider.
	Provider string
	Code     OptString
	// OAuth2.0 State from Query.
	QueryState OptString
}

OAuthCallbackParams is parameters of oauth_callback operation.

type OAuthRevokeNoContent

type OAuthRevokeNoContent struct{}

func (*OAuthRevokeNoContent) Decode

func (s *OAuthRevokeNoContent) Decode(d *jx.Decoder) error

Decode decodes OAuthRevokeNoContent from json.

func (*OAuthRevokeNoContent) Encode

func (s *OAuthRevokeNoContent) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*OAuthRevokeNoContent) MarshalJSON

func (s *OAuthRevokeNoContent) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*OAuthRevokeNoContent) UnmarshalJSON

func (s *OAuthRevokeNoContent) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type OAuthRevokeRes

type OAuthRevokeRes interface {
	// contains filtered or unexported methods
}

type OAuthRevokeUnauthorized

type OAuthRevokeUnauthorized struct{}

OAuthRevokeUnauthorized is response for OAuthRevoke operation.

type OAuthTokenInfoBadRequest

type OAuthTokenInfoBadRequest struct {
	Code    string `json:"code"`
	Message string `json:"message"`
}

func (*OAuthTokenInfoBadRequest) Decode

func (s *OAuthTokenInfoBadRequest) Decode(d *jx.Decoder) error

Decode decodes OAuthTokenInfoBadRequest from json.

func (*OAuthTokenInfoBadRequest) Encode

func (s *OAuthTokenInfoBadRequest) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*OAuthTokenInfoBadRequest) GetCode

func (s *OAuthTokenInfoBadRequest) GetCode() string

GetCode returns the value of Code.

func (*OAuthTokenInfoBadRequest) GetMessage

func (s *OAuthTokenInfoBadRequest) GetMessage() string

GetMessage returns the value of Message.

func (*OAuthTokenInfoBadRequest) MarshalJSON

func (s *OAuthTokenInfoBadRequest) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*OAuthTokenInfoBadRequest) SetCode

func (s *OAuthTokenInfoBadRequest) SetCode(val string)

SetCode sets the value of Code.

func (*OAuthTokenInfoBadRequest) SetMessage

func (s *OAuthTokenInfoBadRequest) SetMessage(val string)

SetMessage sets the value of Message.

func (*OAuthTokenInfoBadRequest) UnmarshalJSON

func (s *OAuthTokenInfoBadRequest) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type OAuthTokenInfoInternalServerError

type OAuthTokenInfoInternalServerError struct {
	Code    string `json:"code"`
	Message string `json:"message"`
}

func (*OAuthTokenInfoInternalServerError) Decode

Decode decodes OAuthTokenInfoInternalServerError from json.

func (*OAuthTokenInfoInternalServerError) Encode

Encode implements json.Marshaler.

func (*OAuthTokenInfoInternalServerError) GetCode

GetCode returns the value of Code.

func (*OAuthTokenInfoInternalServerError) GetMessage

func (s *OAuthTokenInfoInternalServerError) GetMessage() string

GetMessage returns the value of Message.

func (*OAuthTokenInfoInternalServerError) MarshalJSON

func (s *OAuthTokenInfoInternalServerError) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*OAuthTokenInfoInternalServerError) SetCode

func (s *OAuthTokenInfoInternalServerError) SetCode(val string)

SetCode sets the value of Code.

func (*OAuthTokenInfoInternalServerError) SetMessage

func (s *OAuthTokenInfoInternalServerError) SetMessage(val string)

SetMessage sets the value of Message.

func (*OAuthTokenInfoInternalServerError) UnmarshalJSON

func (s *OAuthTokenInfoInternalServerError) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type OAuthTokenInfoOK

type OAuthTokenInfoOK struct {
	// Audience.
	Aud string `json:"aud"`
	// 有効期限.
	Exp string `json:"exp"`
	// 発行日時.
	Iat string `json:"iat"`
	// 発行者.
	Iss string `json:"iss"`
	// ユーザID.
	Sub string `json:"sub"`
	// JWT ID.
	Jti string `json:"jti"`
	// ユーザーID.
	DisplayId OptString `json:"displayId"`
	// ユーザー名.
	DisplayName OptString `json:"displayName"`
	// アイコンURL.
	IconURL OptString `json:"iconURL"`
	// ユーザ登録済みか.
	IsVerify bool `json:"isVerify"`
}

func (*OAuthTokenInfoOK) Decode

func (s *OAuthTokenInfoOK) Decode(d *jx.Decoder) error

Decode decodes OAuthTokenInfoOK from json.

func (*OAuthTokenInfoOK) Encode

func (s *OAuthTokenInfoOK) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*OAuthTokenInfoOK) GetAud

func (s *OAuthTokenInfoOK) GetAud() string

GetAud returns the value of Aud.

func (*OAuthTokenInfoOK) GetDisplayId

func (s *OAuthTokenInfoOK) GetDisplayId() OptString

GetDisplayId returns the value of DisplayId.

func (*OAuthTokenInfoOK) GetDisplayName

func (s *OAuthTokenInfoOK) GetDisplayName() OptString

GetDisplayName returns the value of DisplayName.

func (*OAuthTokenInfoOK) GetExp

func (s *OAuthTokenInfoOK) GetExp() string

GetExp returns the value of Exp.

func (*OAuthTokenInfoOK) GetIat

func (s *OAuthTokenInfoOK) GetIat() string

GetIat returns the value of Iat.

func (*OAuthTokenInfoOK) GetIconURL

func (s *OAuthTokenInfoOK) GetIconURL() OptString

GetIconURL returns the value of IconURL.

func (*OAuthTokenInfoOK) GetIsVerify

func (s *OAuthTokenInfoOK) GetIsVerify() bool

GetIsVerify returns the value of IsVerify.

func (*OAuthTokenInfoOK) GetIss

func (s *OAuthTokenInfoOK) GetIss() string

GetIss returns the value of Iss.

func (*OAuthTokenInfoOK) GetJti

func (s *OAuthTokenInfoOK) GetJti() string

GetJti returns the value of Jti.

func (*OAuthTokenInfoOK) GetSub

func (s *OAuthTokenInfoOK) GetSub() string

GetSub returns the value of Sub.

func (*OAuthTokenInfoOK) MarshalJSON

func (s *OAuthTokenInfoOK) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*OAuthTokenInfoOK) SetAud

func (s *OAuthTokenInfoOK) SetAud(val string)

SetAud sets the value of Aud.

func (*OAuthTokenInfoOK) SetDisplayId

func (s *OAuthTokenInfoOK) SetDisplayId(val OptString)

SetDisplayId sets the value of DisplayId.

func (*OAuthTokenInfoOK) SetDisplayName

func (s *OAuthTokenInfoOK) SetDisplayName(val OptString)

SetDisplayName sets the value of DisplayName.

func (*OAuthTokenInfoOK) SetExp

func (s *OAuthTokenInfoOK) SetExp(val string)

SetExp sets the value of Exp.

func (*OAuthTokenInfoOK) SetIat

func (s *OAuthTokenInfoOK) SetIat(val string)

SetIat sets the value of Iat.

func (*OAuthTokenInfoOK) SetIconURL

func (s *OAuthTokenInfoOK) SetIconURL(val OptString)

SetIconURL sets the value of IconURL.

func (*OAuthTokenInfoOK) SetIsVerify

func (s *OAuthTokenInfoOK) SetIsVerify(val bool)

SetIsVerify sets the value of IsVerify.

func (*OAuthTokenInfoOK) SetIss

func (s *OAuthTokenInfoOK) SetIss(val string)

SetIss sets the value of Iss.

func (*OAuthTokenInfoOK) SetJti

func (s *OAuthTokenInfoOK) SetJti(val string)

SetJti sets the value of Jti.

func (*OAuthTokenInfoOK) SetSub

func (s *OAuthTokenInfoOK) SetSub(val string)

SetSub sets the value of Sub.

func (*OAuthTokenInfoOK) UnmarshalJSON

func (s *OAuthTokenInfoOK) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type OAuthTokenInfoRes

type OAuthTokenInfoRes interface {
	// contains filtered or unexported methods
}

type OpinionComments2BadRequest

type OpinionComments2BadRequest struct {
	Code    string `json:"code"`
	Message string `json:"message"`
}

func (*OpinionComments2BadRequest) Decode

Decode decodes OpinionComments2BadRequest from json.

func (*OpinionComments2BadRequest) Encode

func (s *OpinionComments2BadRequest) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*OpinionComments2BadRequest) GetCode

func (s *OpinionComments2BadRequest) GetCode() string

GetCode returns the value of Code.

func (*OpinionComments2BadRequest) GetMessage

func (s *OpinionComments2BadRequest) GetMessage() string

GetMessage returns the value of Message.

func (*OpinionComments2BadRequest) MarshalJSON

func (s *OpinionComments2BadRequest) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*OpinionComments2BadRequest) SetCode

func (s *OpinionComments2BadRequest) SetCode(val string)

SetCode sets the value of Code.

func (*OpinionComments2BadRequest) SetMessage

func (s *OpinionComments2BadRequest) SetMessage(val string)

SetMessage sets the value of Message.

func (*OpinionComments2BadRequest) UnmarshalJSON

func (s *OpinionComments2BadRequest) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type OpinionComments2InternalServerError

type OpinionComments2InternalServerError struct {
	Code    string `json:"code"`
	Message string `json:"message"`
}

func (*OpinionComments2InternalServerError) Decode

Decode decodes OpinionComments2InternalServerError from json.

func (*OpinionComments2InternalServerError) Encode

Encode implements json.Marshaler.

func (*OpinionComments2InternalServerError) GetCode

GetCode returns the value of Code.

func (*OpinionComments2InternalServerError) GetMessage

GetMessage returns the value of Message.

func (*OpinionComments2InternalServerError) MarshalJSON

func (s *OpinionComments2InternalServerError) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*OpinionComments2InternalServerError) SetCode

SetCode sets the value of Code.

func (*OpinionComments2InternalServerError) SetMessage

func (s *OpinionComments2InternalServerError) SetMessage(val string)

SetMessage sets the value of Message.

func (*OpinionComments2InternalServerError) UnmarshalJSON

func (s *OpinionComments2InternalServerError) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type OpinionComments2OK

type OpinionComments2OK struct {
	RootOpinion    OpinionComments2OKRootOpinion          `json:"rootOpinion"`
	ReplyOpinions  []OpinionComments2OKReplyOpinionsItem  `json:"replyOpinions"`
	ParentOpinions []OpinionComments2OKParentOpinionsItem `json:"parentOpinions"`
}

func (*OpinionComments2OK) Decode

func (s *OpinionComments2OK) Decode(d *jx.Decoder) error

Decode decodes OpinionComments2OK from json.

func (*OpinionComments2OK) Encode

func (s *OpinionComments2OK) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*OpinionComments2OK) GetParentOpinions

GetParentOpinions returns the value of ParentOpinions.

func (*OpinionComments2OK) GetReplyOpinions

GetReplyOpinions returns the value of ReplyOpinions.

func (*OpinionComments2OK) GetRootOpinion

GetRootOpinion returns the value of RootOpinion.

func (*OpinionComments2OK) MarshalJSON

func (s *OpinionComments2OK) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*OpinionComments2OK) SetParentOpinions

func (s *OpinionComments2OK) SetParentOpinions(val []OpinionComments2OKParentOpinionsItem)

SetParentOpinions sets the value of ParentOpinions.

func (*OpinionComments2OK) SetReplyOpinions

func (s *OpinionComments2OK) SetReplyOpinions(val []OpinionComments2OKReplyOpinionsItem)

SetReplyOpinions sets the value of ReplyOpinions.

func (*OpinionComments2OK) SetRootOpinion

func (s *OpinionComments2OK) SetRootOpinion(val OpinionComments2OKRootOpinion)

SetRootOpinion sets the value of RootOpinion.

func (*OpinionComments2OK) UnmarshalJSON

func (s *OpinionComments2OK) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*OpinionComments2OK) Validate

func (s *OpinionComments2OK) Validate() error

type OpinionComments2OKParentOpinionsItem

type OpinionComments2OKParentOpinionsItem struct {
	Opinion OpinionComments2OKParentOpinionsItemOpinion `json:"opinion"`
	// 作成者.
	User OpinionComments2OKParentOpinionsItemUser `json:"user"`
	// 意見投稿主の意見。ルート意見の場合はここには何も入らない.
	MyVoteType OpinionComments2OKParentOpinionsItemMyVoteType `json:"myVoteType"`
	Level      int                                            `json:"level"`
}

func (*OpinionComments2OKParentOpinionsItem) Decode

Decode decodes OpinionComments2OKParentOpinionsItem from json.

func (*OpinionComments2OKParentOpinionsItem) Encode

Encode implements json.Marshaler.

func (*OpinionComments2OKParentOpinionsItem) GetLevel

GetLevel returns the value of Level.

func (*OpinionComments2OKParentOpinionsItem) GetMyVoteType

GetMyVoteType returns the value of MyVoteType.

func (*OpinionComments2OKParentOpinionsItem) GetOpinion

GetOpinion returns the value of Opinion.

func (*OpinionComments2OKParentOpinionsItem) GetUser

GetUser returns the value of User.

func (*OpinionComments2OKParentOpinionsItem) MarshalJSON

func (s *OpinionComments2OKParentOpinionsItem) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*OpinionComments2OKParentOpinionsItem) SetLevel

func (s *OpinionComments2OKParentOpinionsItem) SetLevel(val int)

SetLevel sets the value of Level.

func (*OpinionComments2OKParentOpinionsItem) SetMyVoteType

SetMyVoteType sets the value of MyVoteType.

func (*OpinionComments2OKParentOpinionsItem) SetOpinion

SetOpinion sets the value of Opinion.

func (*OpinionComments2OKParentOpinionsItem) SetUser

SetUser sets the value of User.

func (*OpinionComments2OKParentOpinionsItem) UnmarshalJSON

func (s *OpinionComments2OKParentOpinionsItem) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*OpinionComments2OKParentOpinionsItem) Validate

type OpinionComments2OKParentOpinionsItemMyVoteType

type OpinionComments2OKParentOpinionsItemMyVoteType string

意見投稿主の意見。ルート意見の場合はここには何も入らない.

const (
	OpinionComments2OKParentOpinionsItemMyVoteTypeAgree    OpinionComments2OKParentOpinionsItemMyVoteType = "agree"
	OpinionComments2OKParentOpinionsItemMyVoteTypeDisagree OpinionComments2OKParentOpinionsItemMyVoteType = "disagree"
	OpinionComments2OKParentOpinionsItemMyVoteTypePass     OpinionComments2OKParentOpinionsItemMyVoteType = "pass"
)

func (OpinionComments2OKParentOpinionsItemMyVoteType) AllValues

AllValues returns all OpinionComments2OKParentOpinionsItemMyVoteType values.

func (*OpinionComments2OKParentOpinionsItemMyVoteType) Decode

Decode decodes OpinionComments2OKParentOpinionsItemMyVoteType from json.

func (OpinionComments2OKParentOpinionsItemMyVoteType) Encode

Encode encodes OpinionComments2OKParentOpinionsItemMyVoteType as json.

func (OpinionComments2OKParentOpinionsItemMyVoteType) MarshalJSON

MarshalJSON implements stdjson.Marshaler.

func (OpinionComments2OKParentOpinionsItemMyVoteType) MarshalText

MarshalText implements encoding.TextMarshaler.

func (*OpinionComments2OKParentOpinionsItemMyVoteType) UnmarshalJSON

UnmarshalJSON implements stdjson.Unmarshaler.

func (*OpinionComments2OKParentOpinionsItemMyVoteType) UnmarshalText

UnmarshalText implements encoding.TextUnmarshaler.

func (OpinionComments2OKParentOpinionsItemMyVoteType) Validate

type OpinionComments2OKParentOpinionsItemOpinion

type OpinionComments2OKParentOpinionsItemOpinion struct {
	// 意見ID.
	ID    string    `json:"id"`
	Title OptString `json:"title"`
	// 意見のテキスト.
	Content string `json:"content"`
	// 親の意見ID。ルートならば無し.
	ParentID OptString `json:"parentID"`
	// 意見投稿主の意見。ルート意見の場合はここには何も入らない.
	VoteType OptOpinionComments2OKParentOpinionsItemOpinionVoteType `json:"voteType"`
	// 画像が返る場合もある.
	PictureURL OptString `json:"pictureURL"`
	// 参考文献URL.
	ReferenceURL OptString `json:"referenceURL"`
	PostedAt     string    `json:"postedAt"`
}

func (*OpinionComments2OKParentOpinionsItemOpinion) Decode

Decode decodes OpinionComments2OKParentOpinionsItemOpinion from json.

func (*OpinionComments2OKParentOpinionsItemOpinion) Encode

Encode implements json.Marshaler.

func (*OpinionComments2OKParentOpinionsItemOpinion) GetContent

GetContent returns the value of Content.

func (*OpinionComments2OKParentOpinionsItemOpinion) GetID

GetID returns the value of ID.

func (*OpinionComments2OKParentOpinionsItemOpinion) GetParentID

GetParentID returns the value of ParentID.

func (*OpinionComments2OKParentOpinionsItemOpinion) GetPictureURL

GetPictureURL returns the value of PictureURL.

func (*OpinionComments2OKParentOpinionsItemOpinion) GetPostedAt

GetPostedAt returns the value of PostedAt.

func (*OpinionComments2OKParentOpinionsItemOpinion) GetReferenceURL

GetReferenceURL returns the value of ReferenceURL.

func (*OpinionComments2OKParentOpinionsItemOpinion) GetTitle

GetTitle returns the value of Title.

func (*OpinionComments2OKParentOpinionsItemOpinion) GetVoteType

GetVoteType returns the value of VoteType.

func (*OpinionComments2OKParentOpinionsItemOpinion) MarshalJSON

MarshalJSON implements stdjson.Marshaler.

func (*OpinionComments2OKParentOpinionsItemOpinion) SetContent

SetContent sets the value of Content.

func (*OpinionComments2OKParentOpinionsItemOpinion) SetID

SetID sets the value of ID.

func (*OpinionComments2OKParentOpinionsItemOpinion) SetParentID

SetParentID sets the value of ParentID.

func (*OpinionComments2OKParentOpinionsItemOpinion) SetPictureURL

SetPictureURL sets the value of PictureURL.

func (*OpinionComments2OKParentOpinionsItemOpinion) SetPostedAt

SetPostedAt sets the value of PostedAt.

func (*OpinionComments2OKParentOpinionsItemOpinion) SetReferenceURL

SetReferenceURL sets the value of ReferenceURL.

func (*OpinionComments2OKParentOpinionsItemOpinion) SetTitle

SetTitle sets the value of Title.

func (*OpinionComments2OKParentOpinionsItemOpinion) SetVoteType

SetVoteType sets the value of VoteType.

func (*OpinionComments2OKParentOpinionsItemOpinion) UnmarshalJSON

func (s *OpinionComments2OKParentOpinionsItemOpinion) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*OpinionComments2OKParentOpinionsItemOpinion) Validate

type OpinionComments2OKParentOpinionsItemOpinionVoteType

type OpinionComments2OKParentOpinionsItemOpinionVoteType string

意見投稿主の意見。ルート意見の場合はここには何も入らない.

const (
	OpinionComments2OKParentOpinionsItemOpinionVoteTypeAgree    OpinionComments2OKParentOpinionsItemOpinionVoteType = "agree"
	OpinionComments2OKParentOpinionsItemOpinionVoteTypeDisagree OpinionComments2OKParentOpinionsItemOpinionVoteType = "disagree"
	OpinionComments2OKParentOpinionsItemOpinionVoteTypePass     OpinionComments2OKParentOpinionsItemOpinionVoteType = "pass"
)

func (OpinionComments2OKParentOpinionsItemOpinionVoteType) AllValues

AllValues returns all OpinionComments2OKParentOpinionsItemOpinionVoteType values.

func (*OpinionComments2OKParentOpinionsItemOpinionVoteType) Decode

Decode decodes OpinionComments2OKParentOpinionsItemOpinionVoteType from json.

func (OpinionComments2OKParentOpinionsItemOpinionVoteType) Encode

Encode encodes OpinionComments2OKParentOpinionsItemOpinionVoteType as json.

func (OpinionComments2OKParentOpinionsItemOpinionVoteType) MarshalJSON

MarshalJSON implements stdjson.Marshaler.

func (OpinionComments2OKParentOpinionsItemOpinionVoteType) MarshalText

MarshalText implements encoding.TextMarshaler.

func (*OpinionComments2OKParentOpinionsItemOpinionVoteType) UnmarshalJSON

UnmarshalJSON implements stdjson.Unmarshaler.

func (*OpinionComments2OKParentOpinionsItemOpinionVoteType) UnmarshalText

UnmarshalText implements encoding.TextUnmarshaler.

func (OpinionComments2OKParentOpinionsItemOpinionVoteType) Validate

type OpinionComments2OKParentOpinionsItemUser

type OpinionComments2OKParentOpinionsItemUser struct {
	DisplayID   string       `json:"displayID"`
	DisplayName string       `json:"displayName"`
	IconURL     OptNilString `json:"iconURL"`
}

作成者.

func (*OpinionComments2OKParentOpinionsItemUser) Decode

Decode decodes OpinionComments2OKParentOpinionsItemUser from json.

func (*OpinionComments2OKParentOpinionsItemUser) Encode

Encode implements json.Marshaler.

func (*OpinionComments2OKParentOpinionsItemUser) GetDisplayID

GetDisplayID returns the value of DisplayID.

func (*OpinionComments2OKParentOpinionsItemUser) GetDisplayName

GetDisplayName returns the value of DisplayName.

func (*OpinionComments2OKParentOpinionsItemUser) GetIconURL

GetIconURL returns the value of IconURL.

func (*OpinionComments2OKParentOpinionsItemUser) MarshalJSON

func (s *OpinionComments2OKParentOpinionsItemUser) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*OpinionComments2OKParentOpinionsItemUser) SetDisplayID

func (s *OpinionComments2OKParentOpinionsItemUser) SetDisplayID(val string)

SetDisplayID sets the value of DisplayID.

func (*OpinionComments2OKParentOpinionsItemUser) SetDisplayName

func (s *OpinionComments2OKParentOpinionsItemUser) SetDisplayName(val string)

SetDisplayName sets the value of DisplayName.

func (*OpinionComments2OKParentOpinionsItemUser) SetIconURL

SetIconURL sets the value of IconURL.

func (*OpinionComments2OKParentOpinionsItemUser) UnmarshalJSON

func (s *OpinionComments2OKParentOpinionsItemUser) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*OpinionComments2OKParentOpinionsItemUser) Validate

type OpinionComments2OKReplyOpinionsItem

type OpinionComments2OKReplyOpinionsItem struct {
	Opinion OpinionComments2OKReplyOpinionsItemOpinion `json:"opinion"`
	// 作成者.
	User       OpinionComments2OKReplyOpinionsItemUser          `json:"user"`
	MyVoteType OptOpinionComments2OKReplyOpinionsItemMyVoteType `json:"myVoteType"`
}

func (*OpinionComments2OKReplyOpinionsItem) Decode

Decode decodes OpinionComments2OKReplyOpinionsItem from json.

func (*OpinionComments2OKReplyOpinionsItem) Encode

Encode implements json.Marshaler.

func (*OpinionComments2OKReplyOpinionsItem) GetMyVoteType

GetMyVoteType returns the value of MyVoteType.

func (*OpinionComments2OKReplyOpinionsItem) GetOpinion

GetOpinion returns the value of Opinion.

func (*OpinionComments2OKReplyOpinionsItem) GetUser

GetUser returns the value of User.

func (*OpinionComments2OKReplyOpinionsItem) MarshalJSON

func (s *OpinionComments2OKReplyOpinionsItem) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*OpinionComments2OKReplyOpinionsItem) SetMyVoteType

SetMyVoteType sets the value of MyVoteType.

func (*OpinionComments2OKReplyOpinionsItem) SetOpinion

SetOpinion sets the value of Opinion.

func (*OpinionComments2OKReplyOpinionsItem) SetUser

SetUser sets the value of User.

func (*OpinionComments2OKReplyOpinionsItem) UnmarshalJSON

func (s *OpinionComments2OKReplyOpinionsItem) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*OpinionComments2OKReplyOpinionsItem) Validate

type OpinionComments2OKReplyOpinionsItemMyVoteType

type OpinionComments2OKReplyOpinionsItemMyVoteType struct {
	Type                                           OpinionComments2OKReplyOpinionsItemMyVoteTypeType // switch on this field
	OpinionComments2OKReplyOpinionsItemMyVoteType0 OpinionComments2OKReplyOpinionsItemMyVoteType0
	Null                                           struct{}
}

OpinionComments2OKReplyOpinionsItemMyVoteType represents sum type.

func NewNullOpinionComments2OKReplyOpinionsItemMyVoteType

func NewNullOpinionComments2OKReplyOpinionsItemMyVoteType(v struct{}) OpinionComments2OKReplyOpinionsItemMyVoteType

NewNullOpinionComments2OKReplyOpinionsItemMyVoteType returns new OpinionComments2OKReplyOpinionsItemMyVoteType from struct{}.

func NewOpinionComments2OKReplyOpinionsItemMyVoteType0OpinionComments2OKReplyOpinionsItemMyVoteType

func NewOpinionComments2OKReplyOpinionsItemMyVoteType0OpinionComments2OKReplyOpinionsItemMyVoteType(v OpinionComments2OKReplyOpinionsItemMyVoteType0) OpinionComments2OKReplyOpinionsItemMyVoteType

NewOpinionComments2OKReplyOpinionsItemMyVoteType0OpinionComments2OKReplyOpinionsItemMyVoteType returns new OpinionComments2OKReplyOpinionsItemMyVoteType from OpinionComments2OKReplyOpinionsItemMyVoteType0.

func (*OpinionComments2OKReplyOpinionsItemMyVoteType) Decode

Decode decodes OpinionComments2OKReplyOpinionsItemMyVoteType from json.

func (OpinionComments2OKReplyOpinionsItemMyVoteType) Encode

Encode encodes OpinionComments2OKReplyOpinionsItemMyVoteType as json.

func (OpinionComments2OKReplyOpinionsItemMyVoteType) GetNull

func (s OpinionComments2OKReplyOpinionsItemMyVoteType) GetNull() (v struct{}, ok bool)

GetNull returns struct{} and true boolean if OpinionComments2OKReplyOpinionsItemMyVoteType is struct{}.

func (OpinionComments2OKReplyOpinionsItemMyVoteType) GetOpinionComments2OKReplyOpinionsItemMyVoteType0

func (s OpinionComments2OKReplyOpinionsItemMyVoteType) GetOpinionComments2OKReplyOpinionsItemMyVoteType0() (v OpinionComments2OKReplyOpinionsItemMyVoteType0, ok bool)

GetOpinionComments2OKReplyOpinionsItemMyVoteType0 returns OpinionComments2OKReplyOpinionsItemMyVoteType0 and true boolean if OpinionComments2OKReplyOpinionsItemMyVoteType is OpinionComments2OKReplyOpinionsItemMyVoteType0.

func (OpinionComments2OKReplyOpinionsItemMyVoteType) IsNull

IsNull reports whether OpinionComments2OKReplyOpinionsItemMyVoteType is struct{}.

func (OpinionComments2OKReplyOpinionsItemMyVoteType) IsOpinionComments2OKReplyOpinionsItemMyVoteType0

func (s OpinionComments2OKReplyOpinionsItemMyVoteType) IsOpinionComments2OKReplyOpinionsItemMyVoteType0() bool

IsOpinionComments2OKReplyOpinionsItemMyVoteType0 reports whether OpinionComments2OKReplyOpinionsItemMyVoteType is OpinionComments2OKReplyOpinionsItemMyVoteType0.

func (OpinionComments2OKReplyOpinionsItemMyVoteType) MarshalJSON

MarshalJSON implements stdjson.Marshaler.

func (*OpinionComments2OKReplyOpinionsItemMyVoteType) SetNull

func (s *OpinionComments2OKReplyOpinionsItemMyVoteType) SetNull(v struct{})

SetNull sets OpinionComments2OKReplyOpinionsItemMyVoteType to struct{}.

func (*OpinionComments2OKReplyOpinionsItemMyVoteType) SetOpinionComments2OKReplyOpinionsItemMyVoteType0

func (s *OpinionComments2OKReplyOpinionsItemMyVoteType) SetOpinionComments2OKReplyOpinionsItemMyVoteType0(v OpinionComments2OKReplyOpinionsItemMyVoteType0)

SetOpinionComments2OKReplyOpinionsItemMyVoteType0 sets OpinionComments2OKReplyOpinionsItemMyVoteType to OpinionComments2OKReplyOpinionsItemMyVoteType0.

func (*OpinionComments2OKReplyOpinionsItemMyVoteType) UnmarshalJSON

func (s *OpinionComments2OKReplyOpinionsItemMyVoteType) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (OpinionComments2OKReplyOpinionsItemMyVoteType) Validate

type OpinionComments2OKReplyOpinionsItemMyVoteType0

type OpinionComments2OKReplyOpinionsItemMyVoteType0 string

意見投稿主の意見。ルート意見の場合はここには何も入らない.

const (
	OpinionComments2OKReplyOpinionsItemMyVoteType0Agree    OpinionComments2OKReplyOpinionsItemMyVoteType0 = "agree"
	OpinionComments2OKReplyOpinionsItemMyVoteType0Disagree OpinionComments2OKReplyOpinionsItemMyVoteType0 = "disagree"
	OpinionComments2OKReplyOpinionsItemMyVoteType0Pass     OpinionComments2OKReplyOpinionsItemMyVoteType0 = "pass"
)

func (OpinionComments2OKReplyOpinionsItemMyVoteType0) AllValues

AllValues returns all OpinionComments2OKReplyOpinionsItemMyVoteType0 values.

func (*OpinionComments2OKReplyOpinionsItemMyVoteType0) Decode

Decode decodes OpinionComments2OKReplyOpinionsItemMyVoteType0 from json.

func (OpinionComments2OKReplyOpinionsItemMyVoteType0) Encode

Encode encodes OpinionComments2OKReplyOpinionsItemMyVoteType0 as json.

func (OpinionComments2OKReplyOpinionsItemMyVoteType0) MarshalJSON

MarshalJSON implements stdjson.Marshaler.

func (OpinionComments2OKReplyOpinionsItemMyVoteType0) MarshalText

MarshalText implements encoding.TextMarshaler.

func (*OpinionComments2OKReplyOpinionsItemMyVoteType0) UnmarshalJSON

UnmarshalJSON implements stdjson.Unmarshaler.

func (*OpinionComments2OKReplyOpinionsItemMyVoteType0) UnmarshalText

UnmarshalText implements encoding.TextUnmarshaler.

func (OpinionComments2OKReplyOpinionsItemMyVoteType0) Validate

type OpinionComments2OKReplyOpinionsItemMyVoteTypeType

type OpinionComments2OKReplyOpinionsItemMyVoteTypeType string

OpinionComments2OKReplyOpinionsItemMyVoteTypeType is oneOf type of OpinionComments2OKReplyOpinionsItemMyVoteType.

const (
	OpinionComments2OKReplyOpinionsItemMyVoteType0OpinionComments2OKReplyOpinionsItemMyVoteType OpinionComments2OKReplyOpinionsItemMyVoteTypeType = "OpinionComments2OKReplyOpinionsItemMyVoteType0"
	NullOpinionComments2OKReplyOpinionsItemMyVoteType                                           OpinionComments2OKReplyOpinionsItemMyVoteTypeType = "struct{}"
)

Possible values for OpinionComments2OKReplyOpinionsItemMyVoteTypeType.

type OpinionComments2OKReplyOpinionsItemOpinion

type OpinionComments2OKReplyOpinionsItemOpinion struct {
	// 意見ID.
	ID    string    `json:"id"`
	Title OptString `json:"title"`
	// 意見のテキスト.
	Content string `json:"content"`
	// 親の意見ID。ルートならば無し.
	ParentID OptString `json:"parentID"`
	// 意見投稿主の意見。ルート意見の場合はここには何も入らない.
	VoteType OptOpinionComments2OKReplyOpinionsItemOpinionVoteType `json:"voteType"`
	// 画像が返る場合もある.
	PictureURL OptString `json:"pictureURL"`
	// 参考文献URL.
	ReferenceURL OptString `json:"referenceURL"`
	PostedAt     string    `json:"postedAt"`
}

func (*OpinionComments2OKReplyOpinionsItemOpinion) Decode

Decode decodes OpinionComments2OKReplyOpinionsItemOpinion from json.

func (*OpinionComments2OKReplyOpinionsItemOpinion) Encode

Encode implements json.Marshaler.

func (*OpinionComments2OKReplyOpinionsItemOpinion) GetContent

GetContent returns the value of Content.

func (*OpinionComments2OKReplyOpinionsItemOpinion) GetID

GetID returns the value of ID.

func (*OpinionComments2OKReplyOpinionsItemOpinion) GetParentID

GetParentID returns the value of ParentID.

func (*OpinionComments2OKReplyOpinionsItemOpinion) GetPictureURL

GetPictureURL returns the value of PictureURL.

func (*OpinionComments2OKReplyOpinionsItemOpinion) GetPostedAt

GetPostedAt returns the value of PostedAt.

func (*OpinionComments2OKReplyOpinionsItemOpinion) GetReferenceURL

GetReferenceURL returns the value of ReferenceURL.

func (*OpinionComments2OKReplyOpinionsItemOpinion) GetTitle

GetTitle returns the value of Title.

func (*OpinionComments2OKReplyOpinionsItemOpinion) GetVoteType

GetVoteType returns the value of VoteType.

func (*OpinionComments2OKReplyOpinionsItemOpinion) MarshalJSON

MarshalJSON implements stdjson.Marshaler.

func (*OpinionComments2OKReplyOpinionsItemOpinion) SetContent

SetContent sets the value of Content.

func (*OpinionComments2OKReplyOpinionsItemOpinion) SetID

SetID sets the value of ID.

func (*OpinionComments2OKReplyOpinionsItemOpinion) SetParentID

SetParentID sets the value of ParentID.

func (*OpinionComments2OKReplyOpinionsItemOpinion) SetPictureURL

SetPictureURL sets the value of PictureURL.

func (*OpinionComments2OKReplyOpinionsItemOpinion) SetPostedAt

SetPostedAt sets the value of PostedAt.

func (*OpinionComments2OKReplyOpinionsItemOpinion) SetReferenceURL

func (s *OpinionComments2OKReplyOpinionsItemOpinion) SetReferenceURL(val OptString)

SetReferenceURL sets the value of ReferenceURL.

func (*OpinionComments2OKReplyOpinionsItemOpinion) SetTitle

SetTitle sets the value of Title.

func (*OpinionComments2OKReplyOpinionsItemOpinion) SetVoteType

SetVoteType sets the value of VoteType.

func (*OpinionComments2OKReplyOpinionsItemOpinion) UnmarshalJSON

func (s *OpinionComments2OKReplyOpinionsItemOpinion) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*OpinionComments2OKReplyOpinionsItemOpinion) Validate

type OpinionComments2OKReplyOpinionsItemOpinionVoteType

type OpinionComments2OKReplyOpinionsItemOpinionVoteType string

意見投稿主の意見。ルート意見の場合はここには何も入らない.

const (
	OpinionComments2OKReplyOpinionsItemOpinionVoteTypeAgree    OpinionComments2OKReplyOpinionsItemOpinionVoteType = "agree"
	OpinionComments2OKReplyOpinionsItemOpinionVoteTypeDisagree OpinionComments2OKReplyOpinionsItemOpinionVoteType = "disagree"
	OpinionComments2OKReplyOpinionsItemOpinionVoteTypePass     OpinionComments2OKReplyOpinionsItemOpinionVoteType = "pass"
)

func (OpinionComments2OKReplyOpinionsItemOpinionVoteType) AllValues

AllValues returns all OpinionComments2OKReplyOpinionsItemOpinionVoteType values.

func (*OpinionComments2OKReplyOpinionsItemOpinionVoteType) Decode

Decode decodes OpinionComments2OKReplyOpinionsItemOpinionVoteType from json.

func (OpinionComments2OKReplyOpinionsItemOpinionVoteType) Encode

Encode encodes OpinionComments2OKReplyOpinionsItemOpinionVoteType as json.

func (OpinionComments2OKReplyOpinionsItemOpinionVoteType) MarshalJSON

MarshalJSON implements stdjson.Marshaler.

func (OpinionComments2OKReplyOpinionsItemOpinionVoteType) MarshalText

MarshalText implements encoding.TextMarshaler.

func (*OpinionComments2OKReplyOpinionsItemOpinionVoteType) UnmarshalJSON

UnmarshalJSON implements stdjson.Unmarshaler.

func (*OpinionComments2OKReplyOpinionsItemOpinionVoteType) UnmarshalText

UnmarshalText implements encoding.TextUnmarshaler.

func (OpinionComments2OKReplyOpinionsItemOpinionVoteType) Validate

type OpinionComments2OKReplyOpinionsItemUser

type OpinionComments2OKReplyOpinionsItemUser struct {
	DisplayID   string       `json:"displayID"`
	DisplayName string       `json:"displayName"`
	IconURL     OptNilString `json:"iconURL"`
}

作成者.

func (*OpinionComments2OKReplyOpinionsItemUser) Decode

Decode decodes OpinionComments2OKReplyOpinionsItemUser from json.

func (*OpinionComments2OKReplyOpinionsItemUser) Encode

Encode implements json.Marshaler.

func (*OpinionComments2OKReplyOpinionsItemUser) GetDisplayID

GetDisplayID returns the value of DisplayID.

func (*OpinionComments2OKReplyOpinionsItemUser) GetDisplayName

func (s *OpinionComments2OKReplyOpinionsItemUser) GetDisplayName() string

GetDisplayName returns the value of DisplayName.

func (*OpinionComments2OKReplyOpinionsItemUser) GetIconURL

GetIconURL returns the value of IconURL.

func (*OpinionComments2OKReplyOpinionsItemUser) MarshalJSON

func (s *OpinionComments2OKReplyOpinionsItemUser) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*OpinionComments2OKReplyOpinionsItemUser) SetDisplayID

func (s *OpinionComments2OKReplyOpinionsItemUser) SetDisplayID(val string)

SetDisplayID sets the value of DisplayID.

func (*OpinionComments2OKReplyOpinionsItemUser) SetDisplayName

func (s *OpinionComments2OKReplyOpinionsItemUser) SetDisplayName(val string)

SetDisplayName sets the value of DisplayName.

func (*OpinionComments2OKReplyOpinionsItemUser) SetIconURL

SetIconURL sets the value of IconURL.

func (*OpinionComments2OKReplyOpinionsItemUser) UnmarshalJSON

func (s *OpinionComments2OKReplyOpinionsItemUser) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*OpinionComments2OKReplyOpinionsItemUser) Validate

type OpinionComments2OKRootOpinion

type OpinionComments2OKRootOpinion struct {
	// 作成者.
	User    OpinionComments2OKRootOpinionUser    `json:"user"`
	Opinion OpinionComments2OKRootOpinionOpinion `json:"opinion"`
}

func (*OpinionComments2OKRootOpinion) Decode

Decode decodes OpinionComments2OKRootOpinion from json.

func (*OpinionComments2OKRootOpinion) Encode

Encode implements json.Marshaler.

func (*OpinionComments2OKRootOpinion) GetOpinion

GetOpinion returns the value of Opinion.

func (*OpinionComments2OKRootOpinion) GetUser

GetUser returns the value of User.

func (*OpinionComments2OKRootOpinion) MarshalJSON

func (s *OpinionComments2OKRootOpinion) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*OpinionComments2OKRootOpinion) SetOpinion

SetOpinion sets the value of Opinion.

func (*OpinionComments2OKRootOpinion) SetUser

SetUser sets the value of User.

func (*OpinionComments2OKRootOpinion) UnmarshalJSON

func (s *OpinionComments2OKRootOpinion) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*OpinionComments2OKRootOpinion) Validate

func (s *OpinionComments2OKRootOpinion) Validate() error

type OpinionComments2OKRootOpinionOpinion

type OpinionComments2OKRootOpinionOpinion struct {
	// 意見ID.
	ID    string    `json:"id"`
	Title OptString `json:"title"`
	// 意見のテキスト.
	Content string `json:"content"`
	// 親の意見ID。ルートならば無し.
	ParentID OptString `json:"parentID"`
	// 意見投稿主の意見。ルート意見の場合はここには何も入らない.
	VoteType OptOpinionComments2OKRootOpinionOpinionVoteType `json:"voteType"`
	// 画像が返る場合もある.
	PictureURL OptString `json:"pictureURL"`
	// 参考文献URL.
	ReferenceURL OptString `json:"referenceURL"`
	PostedAt     string    `json:"postedAt"`
}

func (*OpinionComments2OKRootOpinionOpinion) Decode

Decode decodes OpinionComments2OKRootOpinionOpinion from json.

func (*OpinionComments2OKRootOpinionOpinion) Encode

Encode implements json.Marshaler.

func (*OpinionComments2OKRootOpinionOpinion) GetContent

GetContent returns the value of Content.

func (*OpinionComments2OKRootOpinionOpinion) GetID

GetID returns the value of ID.

func (*OpinionComments2OKRootOpinionOpinion) GetParentID

GetParentID returns the value of ParentID.

func (*OpinionComments2OKRootOpinionOpinion) GetPictureURL

GetPictureURL returns the value of PictureURL.

func (*OpinionComments2OKRootOpinionOpinion) GetPostedAt

GetPostedAt returns the value of PostedAt.

func (*OpinionComments2OKRootOpinionOpinion) GetReferenceURL

func (s *OpinionComments2OKRootOpinionOpinion) GetReferenceURL() OptString

GetReferenceURL returns the value of ReferenceURL.

func (*OpinionComments2OKRootOpinionOpinion) GetTitle

GetTitle returns the value of Title.

func (*OpinionComments2OKRootOpinionOpinion) GetVoteType

GetVoteType returns the value of VoteType.

func (*OpinionComments2OKRootOpinionOpinion) MarshalJSON

func (s *OpinionComments2OKRootOpinionOpinion) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*OpinionComments2OKRootOpinionOpinion) SetContent

func (s *OpinionComments2OKRootOpinionOpinion) SetContent(val string)

SetContent sets the value of Content.

func (*OpinionComments2OKRootOpinionOpinion) SetID

SetID sets the value of ID.

func (*OpinionComments2OKRootOpinionOpinion) SetParentID

func (s *OpinionComments2OKRootOpinionOpinion) SetParentID(val OptString)

SetParentID sets the value of ParentID.

func (*OpinionComments2OKRootOpinionOpinion) SetPictureURL

func (s *OpinionComments2OKRootOpinionOpinion) SetPictureURL(val OptString)

SetPictureURL sets the value of PictureURL.

func (*OpinionComments2OKRootOpinionOpinion) SetPostedAt

func (s *OpinionComments2OKRootOpinionOpinion) SetPostedAt(val string)

SetPostedAt sets the value of PostedAt.

func (*OpinionComments2OKRootOpinionOpinion) SetReferenceURL

func (s *OpinionComments2OKRootOpinionOpinion) SetReferenceURL(val OptString)

SetReferenceURL sets the value of ReferenceURL.

func (*OpinionComments2OKRootOpinionOpinion) SetTitle

SetTitle sets the value of Title.

func (*OpinionComments2OKRootOpinionOpinion) SetVoteType

SetVoteType sets the value of VoteType.

func (*OpinionComments2OKRootOpinionOpinion) UnmarshalJSON

func (s *OpinionComments2OKRootOpinionOpinion) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*OpinionComments2OKRootOpinionOpinion) Validate

type OpinionComments2OKRootOpinionOpinionVoteType

type OpinionComments2OKRootOpinionOpinionVoteType string

意見投稿主の意見。ルート意見の場合はここには何も入らない.

const (
	OpinionComments2OKRootOpinionOpinionVoteTypeAgree    OpinionComments2OKRootOpinionOpinionVoteType = "agree"
	OpinionComments2OKRootOpinionOpinionVoteTypeDisagree OpinionComments2OKRootOpinionOpinionVoteType = "disagree"
	OpinionComments2OKRootOpinionOpinionVoteTypePass     OpinionComments2OKRootOpinionOpinionVoteType = "pass"
)

func (OpinionComments2OKRootOpinionOpinionVoteType) AllValues

AllValues returns all OpinionComments2OKRootOpinionOpinionVoteType values.

func (*OpinionComments2OKRootOpinionOpinionVoteType) Decode

Decode decodes OpinionComments2OKRootOpinionOpinionVoteType from json.

func (OpinionComments2OKRootOpinionOpinionVoteType) Encode

Encode encodes OpinionComments2OKRootOpinionOpinionVoteType as json.

func (OpinionComments2OKRootOpinionOpinionVoteType) MarshalJSON

MarshalJSON implements stdjson.Marshaler.

func (OpinionComments2OKRootOpinionOpinionVoteType) MarshalText

MarshalText implements encoding.TextMarshaler.

func (*OpinionComments2OKRootOpinionOpinionVoteType) UnmarshalJSON

func (s *OpinionComments2OKRootOpinionOpinionVoteType) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*OpinionComments2OKRootOpinionOpinionVoteType) UnmarshalText

func (s *OpinionComments2OKRootOpinionOpinionVoteType) UnmarshalText(data []byte) error

UnmarshalText implements encoding.TextUnmarshaler.

func (OpinionComments2OKRootOpinionOpinionVoteType) Validate

type OpinionComments2OKRootOpinionUser

type OpinionComments2OKRootOpinionUser struct {
	DisplayID   string       `json:"displayID"`
	DisplayName string       `json:"displayName"`
	IconURL     OptNilString `json:"iconURL"`
}

作成者.

func (*OpinionComments2OKRootOpinionUser) Decode

Decode decodes OpinionComments2OKRootOpinionUser from json.

func (*OpinionComments2OKRootOpinionUser) Encode

Encode implements json.Marshaler.

func (*OpinionComments2OKRootOpinionUser) GetDisplayID

func (s *OpinionComments2OKRootOpinionUser) GetDisplayID() string

GetDisplayID returns the value of DisplayID.

func (*OpinionComments2OKRootOpinionUser) GetDisplayName

func (s *OpinionComments2OKRootOpinionUser) GetDisplayName() string

GetDisplayName returns the value of DisplayName.

func (*OpinionComments2OKRootOpinionUser) GetIconURL

GetIconURL returns the value of IconURL.

func (*OpinionComments2OKRootOpinionUser) MarshalJSON

func (s *OpinionComments2OKRootOpinionUser) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*OpinionComments2OKRootOpinionUser) SetDisplayID

func (s *OpinionComments2OKRootOpinionUser) SetDisplayID(val string)

SetDisplayID sets the value of DisplayID.

func (*OpinionComments2OKRootOpinionUser) SetDisplayName

func (s *OpinionComments2OKRootOpinionUser) SetDisplayName(val string)

SetDisplayName sets the value of DisplayName.

func (*OpinionComments2OKRootOpinionUser) SetIconURL

SetIconURL sets the value of IconURL.

func (*OpinionComments2OKRootOpinionUser) UnmarshalJSON

func (s *OpinionComments2OKRootOpinionUser) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*OpinionComments2OKRootOpinionUser) Validate

type OpinionComments2Params

type OpinionComments2Params struct {
	TalkSessionID string
	// 親意見のID.
	OpinionID string
}

OpinionComments2Params is parameters of opinionComments2 operation.

type OpinionComments2Res

type OpinionComments2Res interface {
	// contains filtered or unexported methods
}

type OpinionCommentsBadRequest

type OpinionCommentsBadRequest struct {
	Code    string `json:"code"`
	Message string `json:"message"`
}

func (*OpinionCommentsBadRequest) Decode

func (s *OpinionCommentsBadRequest) Decode(d *jx.Decoder) error

Decode decodes OpinionCommentsBadRequest from json.

func (*OpinionCommentsBadRequest) Encode

func (s *OpinionCommentsBadRequest) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*OpinionCommentsBadRequest) GetCode

func (s *OpinionCommentsBadRequest) GetCode() string

GetCode returns the value of Code.

func (*OpinionCommentsBadRequest) GetMessage

func (s *OpinionCommentsBadRequest) GetMessage() string

GetMessage returns the value of Message.

func (*OpinionCommentsBadRequest) MarshalJSON

func (s *OpinionCommentsBadRequest) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*OpinionCommentsBadRequest) SetCode

func (s *OpinionCommentsBadRequest) SetCode(val string)

SetCode sets the value of Code.

func (*OpinionCommentsBadRequest) SetMessage

func (s *OpinionCommentsBadRequest) SetMessage(val string)

SetMessage sets the value of Message.

func (*OpinionCommentsBadRequest) UnmarshalJSON

func (s *OpinionCommentsBadRequest) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type OpinionCommentsInternalServerError

type OpinionCommentsInternalServerError struct {
	Code    string `json:"code"`
	Message string `json:"message"`
}

func (*OpinionCommentsInternalServerError) Decode

Decode decodes OpinionCommentsInternalServerError from json.

func (*OpinionCommentsInternalServerError) Encode

Encode implements json.Marshaler.

func (*OpinionCommentsInternalServerError) GetCode

GetCode returns the value of Code.

func (*OpinionCommentsInternalServerError) GetMessage

GetMessage returns the value of Message.

func (*OpinionCommentsInternalServerError) MarshalJSON

func (s *OpinionCommentsInternalServerError) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*OpinionCommentsInternalServerError) SetCode

SetCode sets the value of Code.

func (*OpinionCommentsInternalServerError) SetMessage

func (s *OpinionCommentsInternalServerError) SetMessage(val string)

SetMessage sets the value of Message.

func (*OpinionCommentsInternalServerError) UnmarshalJSON

func (s *OpinionCommentsInternalServerError) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type OpinionCommentsOK

type OpinionCommentsOK struct {
	RootOpinion OpinionCommentsOKRootOpinion    `json:"rootOpinion"`
	Opinions    []OpinionCommentsOKOpinionsItem `json:"opinions"`
}

func (*OpinionCommentsOK) Decode

func (s *OpinionCommentsOK) Decode(d *jx.Decoder) error

Decode decodes OpinionCommentsOK from json.

func (*OpinionCommentsOK) Encode

func (s *OpinionCommentsOK) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*OpinionCommentsOK) GetOpinions

GetOpinions returns the value of Opinions.

func (*OpinionCommentsOK) GetRootOpinion

func (s *OpinionCommentsOK) GetRootOpinion() OpinionCommentsOKRootOpinion

GetRootOpinion returns the value of RootOpinion.

func (*OpinionCommentsOK) MarshalJSON

func (s *OpinionCommentsOK) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*OpinionCommentsOK) SetOpinions

func (s *OpinionCommentsOK) SetOpinions(val []OpinionCommentsOKOpinionsItem)

SetOpinions sets the value of Opinions.

func (*OpinionCommentsOK) SetRootOpinion

func (s *OpinionCommentsOK) SetRootOpinion(val OpinionCommentsOKRootOpinion)

SetRootOpinion sets the value of RootOpinion.

func (*OpinionCommentsOK) UnmarshalJSON

func (s *OpinionCommentsOK) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*OpinionCommentsOK) Validate

func (s *OpinionCommentsOK) Validate() error

type OpinionCommentsOKOpinionsItem

type OpinionCommentsOKOpinionsItem struct {
	Opinion OpinionCommentsOKOpinionsItemOpinion `json:"opinion"`
	// 作成者.
	User OpinionCommentsOKOpinionsItemUser `json:"user"`
	// 意見投稿主の意見。ルート意見の場合はここには何も入らない.
	MyVoteType OptOpinionCommentsOKOpinionsItemMyVoteType `json:"myVoteType"`
}

func (*OpinionCommentsOKOpinionsItem) Decode

Decode decodes OpinionCommentsOKOpinionsItem from json.

func (*OpinionCommentsOKOpinionsItem) Encode

Encode implements json.Marshaler.

func (*OpinionCommentsOKOpinionsItem) GetMyVoteType

GetMyVoteType returns the value of MyVoteType.

func (*OpinionCommentsOKOpinionsItem) GetOpinion

GetOpinion returns the value of Opinion.

func (*OpinionCommentsOKOpinionsItem) GetUser

GetUser returns the value of User.

func (*OpinionCommentsOKOpinionsItem) MarshalJSON

func (s *OpinionCommentsOKOpinionsItem) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*OpinionCommentsOKOpinionsItem) SetMyVoteType

SetMyVoteType sets the value of MyVoteType.

func (*OpinionCommentsOKOpinionsItem) SetOpinion

SetOpinion sets the value of Opinion.

func (*OpinionCommentsOKOpinionsItem) SetUser

SetUser sets the value of User.

func (*OpinionCommentsOKOpinionsItem) UnmarshalJSON

func (s *OpinionCommentsOKOpinionsItem) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*OpinionCommentsOKOpinionsItem) Validate

func (s *OpinionCommentsOKOpinionsItem) Validate() error

type OpinionCommentsOKOpinionsItemMyVoteType

type OpinionCommentsOKOpinionsItemMyVoteType string

意見投稿主の意見。ルート意見の場合はここには何も入らない.

const (
	OpinionCommentsOKOpinionsItemMyVoteTypeAgree    OpinionCommentsOKOpinionsItemMyVoteType = "agree"
	OpinionCommentsOKOpinionsItemMyVoteTypeDisagree OpinionCommentsOKOpinionsItemMyVoteType = "disagree"
	OpinionCommentsOKOpinionsItemMyVoteTypePass     OpinionCommentsOKOpinionsItemMyVoteType = "pass"
)

func (OpinionCommentsOKOpinionsItemMyVoteType) AllValues

AllValues returns all OpinionCommentsOKOpinionsItemMyVoteType values.

func (*OpinionCommentsOKOpinionsItemMyVoteType) Decode

Decode decodes OpinionCommentsOKOpinionsItemMyVoteType from json.

func (OpinionCommentsOKOpinionsItemMyVoteType) Encode

Encode encodes OpinionCommentsOKOpinionsItemMyVoteType as json.

func (OpinionCommentsOKOpinionsItemMyVoteType) MarshalJSON

func (s OpinionCommentsOKOpinionsItemMyVoteType) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (OpinionCommentsOKOpinionsItemMyVoteType) MarshalText

func (s OpinionCommentsOKOpinionsItemMyVoteType) MarshalText() ([]byte, error)

MarshalText implements encoding.TextMarshaler.

func (*OpinionCommentsOKOpinionsItemMyVoteType) UnmarshalJSON

func (s *OpinionCommentsOKOpinionsItemMyVoteType) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*OpinionCommentsOKOpinionsItemMyVoteType) UnmarshalText

func (s *OpinionCommentsOKOpinionsItemMyVoteType) UnmarshalText(data []byte) error

UnmarshalText implements encoding.TextUnmarshaler.

func (OpinionCommentsOKOpinionsItemMyVoteType) Validate

type OpinionCommentsOKOpinionsItemOpinion

type OpinionCommentsOKOpinionsItemOpinion struct {
	// 意見ID.
	ID    string    `json:"id"`
	Title OptString `json:"title"`
	// 意見のテキスト.
	Content string `json:"content"`
	// 親の意見ID。ルートならば無し.
	ParentID OptString `json:"parentID"`
	// 意見投稿主の意見。ルート意見の場合はここには何も入らない.
	VoteType OptOpinionCommentsOKOpinionsItemOpinionVoteType `json:"voteType"`
	// 画像が返る場合もある.
	PictureURL OptString `json:"pictureURL"`
	// 参考文献URL.
	ReferenceURL OptString `json:"referenceURL"`
	PostedAt     string    `json:"postedAt"`
}

func (*OpinionCommentsOKOpinionsItemOpinion) Decode

Decode decodes OpinionCommentsOKOpinionsItemOpinion from json.

func (*OpinionCommentsOKOpinionsItemOpinion) Encode

Encode implements json.Marshaler.

func (*OpinionCommentsOKOpinionsItemOpinion) GetContent

GetContent returns the value of Content.

func (*OpinionCommentsOKOpinionsItemOpinion) GetID

GetID returns the value of ID.

func (*OpinionCommentsOKOpinionsItemOpinion) GetParentID

GetParentID returns the value of ParentID.

func (*OpinionCommentsOKOpinionsItemOpinion) GetPictureURL

GetPictureURL returns the value of PictureURL.

func (*OpinionCommentsOKOpinionsItemOpinion) GetPostedAt

GetPostedAt returns the value of PostedAt.

func (*OpinionCommentsOKOpinionsItemOpinion) GetReferenceURL

func (s *OpinionCommentsOKOpinionsItemOpinion) GetReferenceURL() OptString

GetReferenceURL returns the value of ReferenceURL.

func (*OpinionCommentsOKOpinionsItemOpinion) GetTitle

GetTitle returns the value of Title.

func (*OpinionCommentsOKOpinionsItemOpinion) GetVoteType

GetVoteType returns the value of VoteType.

func (*OpinionCommentsOKOpinionsItemOpinion) MarshalJSON

func (s *OpinionCommentsOKOpinionsItemOpinion) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*OpinionCommentsOKOpinionsItemOpinion) SetContent

func (s *OpinionCommentsOKOpinionsItemOpinion) SetContent(val string)

SetContent sets the value of Content.

func (*OpinionCommentsOKOpinionsItemOpinion) SetID

SetID sets the value of ID.

func (*OpinionCommentsOKOpinionsItemOpinion) SetParentID

func (s *OpinionCommentsOKOpinionsItemOpinion) SetParentID(val OptString)

SetParentID sets the value of ParentID.

func (*OpinionCommentsOKOpinionsItemOpinion) SetPictureURL

func (s *OpinionCommentsOKOpinionsItemOpinion) SetPictureURL(val OptString)

SetPictureURL sets the value of PictureURL.

func (*OpinionCommentsOKOpinionsItemOpinion) SetPostedAt

func (s *OpinionCommentsOKOpinionsItemOpinion) SetPostedAt(val string)

SetPostedAt sets the value of PostedAt.

func (*OpinionCommentsOKOpinionsItemOpinion) SetReferenceURL

func (s *OpinionCommentsOKOpinionsItemOpinion) SetReferenceURL(val OptString)

SetReferenceURL sets the value of ReferenceURL.

func (*OpinionCommentsOKOpinionsItemOpinion) SetTitle

SetTitle sets the value of Title.

func (*OpinionCommentsOKOpinionsItemOpinion) SetVoteType

SetVoteType sets the value of VoteType.

func (*OpinionCommentsOKOpinionsItemOpinion) UnmarshalJSON

func (s *OpinionCommentsOKOpinionsItemOpinion) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*OpinionCommentsOKOpinionsItemOpinion) Validate

type OpinionCommentsOKOpinionsItemOpinionVoteType

type OpinionCommentsOKOpinionsItemOpinionVoteType string

意見投稿主の意見。ルート意見の場合はここには何も入らない.

const (
	OpinionCommentsOKOpinionsItemOpinionVoteTypeAgree    OpinionCommentsOKOpinionsItemOpinionVoteType = "agree"
	OpinionCommentsOKOpinionsItemOpinionVoteTypeDisagree OpinionCommentsOKOpinionsItemOpinionVoteType = "disagree"
	OpinionCommentsOKOpinionsItemOpinionVoteTypePass     OpinionCommentsOKOpinionsItemOpinionVoteType = "pass"
)

func (OpinionCommentsOKOpinionsItemOpinionVoteType) AllValues

AllValues returns all OpinionCommentsOKOpinionsItemOpinionVoteType values.

func (*OpinionCommentsOKOpinionsItemOpinionVoteType) Decode

Decode decodes OpinionCommentsOKOpinionsItemOpinionVoteType from json.

func (OpinionCommentsOKOpinionsItemOpinionVoteType) Encode

Encode encodes OpinionCommentsOKOpinionsItemOpinionVoteType as json.

func (OpinionCommentsOKOpinionsItemOpinionVoteType) MarshalJSON

MarshalJSON implements stdjson.Marshaler.

func (OpinionCommentsOKOpinionsItemOpinionVoteType) MarshalText

MarshalText implements encoding.TextMarshaler.

func (*OpinionCommentsOKOpinionsItemOpinionVoteType) UnmarshalJSON

func (s *OpinionCommentsOKOpinionsItemOpinionVoteType) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*OpinionCommentsOKOpinionsItemOpinionVoteType) UnmarshalText

func (s *OpinionCommentsOKOpinionsItemOpinionVoteType) UnmarshalText(data []byte) error

UnmarshalText implements encoding.TextUnmarshaler.

func (OpinionCommentsOKOpinionsItemOpinionVoteType) Validate

type OpinionCommentsOKOpinionsItemUser

type OpinionCommentsOKOpinionsItemUser struct {
	DisplayID   string       `json:"displayID"`
	DisplayName string       `json:"displayName"`
	IconURL     OptNilString `json:"iconURL"`
}

作成者.

func (*OpinionCommentsOKOpinionsItemUser) Decode

Decode decodes OpinionCommentsOKOpinionsItemUser from json.

func (*OpinionCommentsOKOpinionsItemUser) Encode

Encode implements json.Marshaler.

func (*OpinionCommentsOKOpinionsItemUser) GetDisplayID

func (s *OpinionCommentsOKOpinionsItemUser) GetDisplayID() string

GetDisplayID returns the value of DisplayID.

func (*OpinionCommentsOKOpinionsItemUser) GetDisplayName

func (s *OpinionCommentsOKOpinionsItemUser) GetDisplayName() string

GetDisplayName returns the value of DisplayName.

func (*OpinionCommentsOKOpinionsItemUser) GetIconURL

GetIconURL returns the value of IconURL.

func (*OpinionCommentsOKOpinionsItemUser) MarshalJSON

func (s *OpinionCommentsOKOpinionsItemUser) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*OpinionCommentsOKOpinionsItemUser) SetDisplayID

func (s *OpinionCommentsOKOpinionsItemUser) SetDisplayID(val string)

SetDisplayID sets the value of DisplayID.

func (*OpinionCommentsOKOpinionsItemUser) SetDisplayName

func (s *OpinionCommentsOKOpinionsItemUser) SetDisplayName(val string)

SetDisplayName sets the value of DisplayName.

func (*OpinionCommentsOKOpinionsItemUser) SetIconURL

SetIconURL sets the value of IconURL.

func (*OpinionCommentsOKOpinionsItemUser) UnmarshalJSON

func (s *OpinionCommentsOKOpinionsItemUser) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*OpinionCommentsOKOpinionsItemUser) Validate

type OpinionCommentsOKRootOpinion

type OpinionCommentsOKRootOpinion struct {
	// 作成者.
	User OpinionCommentsOKRootOpinionUser `json:"user"`
	// 意見投稿主の意見。ルート意見の場合はここには何も入らない.
	MyVoteType OptOpinionCommentsOKRootOpinionMyVoteType `json:"myVoteType"`
	Opinion    OpinionCommentsOKRootOpinionOpinion       `json:"opinion"`
}

func (*OpinionCommentsOKRootOpinion) Decode

Decode decodes OpinionCommentsOKRootOpinion from json.

func (*OpinionCommentsOKRootOpinion) Encode

func (s *OpinionCommentsOKRootOpinion) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*OpinionCommentsOKRootOpinion) GetMyVoteType

GetMyVoteType returns the value of MyVoteType.

func (*OpinionCommentsOKRootOpinion) GetOpinion

GetOpinion returns the value of Opinion.

func (*OpinionCommentsOKRootOpinion) GetUser

GetUser returns the value of User.

func (*OpinionCommentsOKRootOpinion) MarshalJSON

func (s *OpinionCommentsOKRootOpinion) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*OpinionCommentsOKRootOpinion) SetMyVoteType

SetMyVoteType sets the value of MyVoteType.

func (*OpinionCommentsOKRootOpinion) SetOpinion

SetOpinion sets the value of Opinion.

func (*OpinionCommentsOKRootOpinion) SetUser

SetUser sets the value of User.

func (*OpinionCommentsOKRootOpinion) UnmarshalJSON

func (s *OpinionCommentsOKRootOpinion) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*OpinionCommentsOKRootOpinion) Validate

func (s *OpinionCommentsOKRootOpinion) Validate() error

type OpinionCommentsOKRootOpinionMyVoteType

type OpinionCommentsOKRootOpinionMyVoteType string

意見投稿主の意見。ルート意見の場合はここには何も入らない.

const (
	OpinionCommentsOKRootOpinionMyVoteTypeAgree    OpinionCommentsOKRootOpinionMyVoteType = "agree"
	OpinionCommentsOKRootOpinionMyVoteTypeDisagree OpinionCommentsOKRootOpinionMyVoteType = "disagree"
	OpinionCommentsOKRootOpinionMyVoteTypePass     OpinionCommentsOKRootOpinionMyVoteType = "pass"
)

func (OpinionCommentsOKRootOpinionMyVoteType) AllValues

AllValues returns all OpinionCommentsOKRootOpinionMyVoteType values.

func (*OpinionCommentsOKRootOpinionMyVoteType) Decode

Decode decodes OpinionCommentsOKRootOpinionMyVoteType from json.

func (OpinionCommentsOKRootOpinionMyVoteType) Encode

Encode encodes OpinionCommentsOKRootOpinionMyVoteType as json.

func (OpinionCommentsOKRootOpinionMyVoteType) MarshalJSON

func (s OpinionCommentsOKRootOpinionMyVoteType) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (OpinionCommentsOKRootOpinionMyVoteType) MarshalText

func (s OpinionCommentsOKRootOpinionMyVoteType) MarshalText() ([]byte, error)

MarshalText implements encoding.TextMarshaler.

func (*OpinionCommentsOKRootOpinionMyVoteType) UnmarshalJSON

func (s *OpinionCommentsOKRootOpinionMyVoteType) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*OpinionCommentsOKRootOpinionMyVoteType) UnmarshalText

func (s *OpinionCommentsOKRootOpinionMyVoteType) UnmarshalText(data []byte) error

UnmarshalText implements encoding.TextUnmarshaler.

func (OpinionCommentsOKRootOpinionMyVoteType) Validate

type OpinionCommentsOKRootOpinionOpinion

type OpinionCommentsOKRootOpinionOpinion struct {
	// 意見ID.
	ID    string    `json:"id"`
	Title OptString `json:"title"`
	// 意見のテキスト.
	Content string `json:"content"`
	// 親の意見ID。ルートならば無し.
	ParentID OptString `json:"parentID"`
	// 意見投稿主の意見。ルート意見の場合はここには何も入らない.
	VoteType OptOpinionCommentsOKRootOpinionOpinionVoteType `json:"voteType"`
	// 画像が返る場合もある.
	PictureURL OptString `json:"pictureURL"`
	// 参考文献URL.
	ReferenceURL OptString `json:"referenceURL"`
	PostedAt     string    `json:"postedAt"`
}

func (*OpinionCommentsOKRootOpinionOpinion) Decode

Decode decodes OpinionCommentsOKRootOpinionOpinion from json.

func (*OpinionCommentsOKRootOpinionOpinion) Encode

Encode implements json.Marshaler.

func (*OpinionCommentsOKRootOpinionOpinion) GetContent

GetContent returns the value of Content.

func (*OpinionCommentsOKRootOpinionOpinion) GetID

GetID returns the value of ID.

func (*OpinionCommentsOKRootOpinionOpinion) GetParentID

GetParentID returns the value of ParentID.

func (*OpinionCommentsOKRootOpinionOpinion) GetPictureURL

GetPictureURL returns the value of PictureURL.

func (*OpinionCommentsOKRootOpinionOpinion) GetPostedAt

GetPostedAt returns the value of PostedAt.

func (*OpinionCommentsOKRootOpinionOpinion) GetReferenceURL

func (s *OpinionCommentsOKRootOpinionOpinion) GetReferenceURL() OptString

GetReferenceURL returns the value of ReferenceURL.

func (*OpinionCommentsOKRootOpinionOpinion) GetTitle

GetTitle returns the value of Title.

func (*OpinionCommentsOKRootOpinionOpinion) GetVoteType

GetVoteType returns the value of VoteType.

func (*OpinionCommentsOKRootOpinionOpinion) MarshalJSON

func (s *OpinionCommentsOKRootOpinionOpinion) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*OpinionCommentsOKRootOpinionOpinion) SetContent

func (s *OpinionCommentsOKRootOpinionOpinion) SetContent(val string)

SetContent sets the value of Content.

func (*OpinionCommentsOKRootOpinionOpinion) SetID

SetID sets the value of ID.

func (*OpinionCommentsOKRootOpinionOpinion) SetParentID

func (s *OpinionCommentsOKRootOpinionOpinion) SetParentID(val OptString)

SetParentID sets the value of ParentID.

func (*OpinionCommentsOKRootOpinionOpinion) SetPictureURL

func (s *OpinionCommentsOKRootOpinionOpinion) SetPictureURL(val OptString)

SetPictureURL sets the value of PictureURL.

func (*OpinionCommentsOKRootOpinionOpinion) SetPostedAt

func (s *OpinionCommentsOKRootOpinionOpinion) SetPostedAt(val string)

SetPostedAt sets the value of PostedAt.

func (*OpinionCommentsOKRootOpinionOpinion) SetReferenceURL

func (s *OpinionCommentsOKRootOpinionOpinion) SetReferenceURL(val OptString)

SetReferenceURL sets the value of ReferenceURL.

func (*OpinionCommentsOKRootOpinionOpinion) SetTitle

SetTitle sets the value of Title.

func (*OpinionCommentsOKRootOpinionOpinion) SetVoteType

SetVoteType sets the value of VoteType.

func (*OpinionCommentsOKRootOpinionOpinion) UnmarshalJSON

func (s *OpinionCommentsOKRootOpinionOpinion) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*OpinionCommentsOKRootOpinionOpinion) Validate

type OpinionCommentsOKRootOpinionOpinionVoteType

type OpinionCommentsOKRootOpinionOpinionVoteType string

意見投稿主の意見。ルート意見の場合はここには何も入らない.

const (
	OpinionCommentsOKRootOpinionOpinionVoteTypeAgree    OpinionCommentsOKRootOpinionOpinionVoteType = "agree"
	OpinionCommentsOKRootOpinionOpinionVoteTypeDisagree OpinionCommentsOKRootOpinionOpinionVoteType = "disagree"
	OpinionCommentsOKRootOpinionOpinionVoteTypePass     OpinionCommentsOKRootOpinionOpinionVoteType = "pass"
)

func (OpinionCommentsOKRootOpinionOpinionVoteType) AllValues

AllValues returns all OpinionCommentsOKRootOpinionOpinionVoteType values.

func (*OpinionCommentsOKRootOpinionOpinionVoteType) Decode

Decode decodes OpinionCommentsOKRootOpinionOpinionVoteType from json.

func (OpinionCommentsOKRootOpinionOpinionVoteType) Encode

Encode encodes OpinionCommentsOKRootOpinionOpinionVoteType as json.

func (OpinionCommentsOKRootOpinionOpinionVoteType) MarshalJSON

MarshalJSON implements stdjson.Marshaler.

func (OpinionCommentsOKRootOpinionOpinionVoteType) MarshalText

MarshalText implements encoding.TextMarshaler.

func (*OpinionCommentsOKRootOpinionOpinionVoteType) UnmarshalJSON

func (s *OpinionCommentsOKRootOpinionOpinionVoteType) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*OpinionCommentsOKRootOpinionOpinionVoteType) UnmarshalText

func (s *OpinionCommentsOKRootOpinionOpinionVoteType) UnmarshalText(data []byte) error

UnmarshalText implements encoding.TextUnmarshaler.

func (OpinionCommentsOKRootOpinionOpinionVoteType) Validate

type OpinionCommentsOKRootOpinionUser

type OpinionCommentsOKRootOpinionUser struct {
	DisplayID   string       `json:"displayID"`
	DisplayName string       `json:"displayName"`
	IconURL     OptNilString `json:"iconURL"`
}

作成者.

func (*OpinionCommentsOKRootOpinionUser) Decode

Decode decodes OpinionCommentsOKRootOpinionUser from json.

func (*OpinionCommentsOKRootOpinionUser) Encode

Encode implements json.Marshaler.

func (*OpinionCommentsOKRootOpinionUser) GetDisplayID

func (s *OpinionCommentsOKRootOpinionUser) GetDisplayID() string

GetDisplayID returns the value of DisplayID.

func (*OpinionCommentsOKRootOpinionUser) GetDisplayName

func (s *OpinionCommentsOKRootOpinionUser) GetDisplayName() string

GetDisplayName returns the value of DisplayName.

func (*OpinionCommentsOKRootOpinionUser) GetIconURL

GetIconURL returns the value of IconURL.

func (*OpinionCommentsOKRootOpinionUser) MarshalJSON

func (s *OpinionCommentsOKRootOpinionUser) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*OpinionCommentsOKRootOpinionUser) SetDisplayID

func (s *OpinionCommentsOKRootOpinionUser) SetDisplayID(val string)

SetDisplayID sets the value of DisplayID.

func (*OpinionCommentsOKRootOpinionUser) SetDisplayName

func (s *OpinionCommentsOKRootOpinionUser) SetDisplayName(val string)

SetDisplayName sets the value of DisplayName.

func (*OpinionCommentsOKRootOpinionUser) SetIconURL

SetIconURL sets the value of IconURL.

func (*OpinionCommentsOKRootOpinionUser) UnmarshalJSON

func (s *OpinionCommentsOKRootOpinionUser) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*OpinionCommentsOKRootOpinionUser) Validate

type OpinionCommentsParams

type OpinionCommentsParams struct {
	TalkSessionID string
	// 親意見のID.
	OpinionID string
}

OpinionCommentsParams is parameters of opinionComments operation.

type OpinionCommentsRes

type OpinionCommentsRes interface {
	// contains filtered or unexported methods
}

type OpinionHandler

type OpinionHandler interface {
	// GetOpinionDetail implements getOpinionDetail operation.
	//
	// 意見の詳細.
	//
	// GET /talksessions/{talkSessionID}/opinions/{opinionID}
	GetOpinionDetail(ctx context.Context, params GetOpinionDetailParams) (GetOpinionDetailRes, error)
	// GetOpinionsForTalkSession implements getOpinionsForTalkSession operation.
	//
	// セッションに対する意見一覧.
	//
	// GET /talksessions/{talkSessionID}/opinions
	GetOpinionsForTalkSession(ctx context.Context, params GetOpinionsForTalkSessionParams) (GetOpinionsForTalkSessionRes, error)
	// OpinionComments implements opinionComments operation.
	//
	// 意見に対するリプライ意見一覧.
	//
	// GET /talksessions/{talkSessionID}/opinions/{opinionID}/replies
	OpinionComments(ctx context.Context, params OpinionCommentsParams) (OpinionCommentsRes, error)
	// OpinionComments2 implements opinionComments2 operation.
	//
	// 意見に対するリプライ意見一覧 Copy.
	//
	// GET /talksessions/{talkSessionID}/opinions/{opinionID}/replies2
	OpinionComments2(ctx context.Context, params OpinionComments2Params) (OpinionComments2Res, error)
	// PostOpinionPost implements postOpinionPost operation.
	//
	// ParentOpinionIDがなければルートの意見として投稿される.
	//
	// POST /talksessions/{talkSessionID}/opinions
	PostOpinionPost(ctx context.Context, req OptPostOpinionPostReq, params PostOpinionPostParams) (PostOpinionPostRes, error)
	// SwipeOpinions implements swipe_opinions operation.
	//
	// セッションの中からまだ投票していない意見をランダムに取得する.
	//
	// GET /talksessions/{talkSessionID}/swipe_opinions
	SwipeOpinions(ctx context.Context, params SwipeOpinionsParams) (SwipeOpinionsRes, error)
}

OpinionHandler handles operations described by OpenAPI v3 specification.

x-ogen-operation-group: Opinion

type OpinionsHistoryBadRequest

type OpinionsHistoryBadRequest struct{}

func (*OpinionsHistoryBadRequest) Decode

func (s *OpinionsHistoryBadRequest) Decode(d *jx.Decoder) error

Decode decodes OpinionsHistoryBadRequest from json.

func (*OpinionsHistoryBadRequest) Encode

func (s *OpinionsHistoryBadRequest) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*OpinionsHistoryBadRequest) MarshalJSON

func (s *OpinionsHistoryBadRequest) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*OpinionsHistoryBadRequest) UnmarshalJSON

func (s *OpinionsHistoryBadRequest) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type OpinionsHistoryInternalServerError

type OpinionsHistoryInternalServerError struct{}

func (*OpinionsHistoryInternalServerError) Decode

Decode decodes OpinionsHistoryInternalServerError from json.

func (*OpinionsHistoryInternalServerError) Encode

Encode implements json.Marshaler.

func (*OpinionsHistoryInternalServerError) MarshalJSON

func (s *OpinionsHistoryInternalServerError) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*OpinionsHistoryInternalServerError) UnmarshalJSON

func (s *OpinionsHistoryInternalServerError) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type OpinionsHistoryOK

type OpinionsHistoryOK struct {
	Opinions   []OpinionsHistoryOKOpinionsItem `json:"opinions"`
	Pagination OpinionsHistoryOKPagination     `json:"pagination"`
}

func (*OpinionsHistoryOK) Decode

func (s *OpinionsHistoryOK) Decode(d *jx.Decoder) error

Decode decodes OpinionsHistoryOK from json.

func (*OpinionsHistoryOK) Encode

func (s *OpinionsHistoryOK) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*OpinionsHistoryOK) GetOpinions

GetOpinions returns the value of Opinions.

func (*OpinionsHistoryOK) GetPagination

GetPagination returns the value of Pagination.

func (*OpinionsHistoryOK) MarshalJSON

func (s *OpinionsHistoryOK) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*OpinionsHistoryOK) SetOpinions

func (s *OpinionsHistoryOK) SetOpinions(val []OpinionsHistoryOKOpinionsItem)

SetOpinions sets the value of Opinions.

func (*OpinionsHistoryOK) SetPagination

func (s *OpinionsHistoryOK) SetPagination(val OpinionsHistoryOKPagination)

SetPagination sets the value of Pagination.

func (*OpinionsHistoryOK) UnmarshalJSON

func (s *OpinionsHistoryOK) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*OpinionsHistoryOK) Validate

func (s *OpinionsHistoryOK) Validate() error

type OpinionsHistoryOKOpinionsItem

type OpinionsHistoryOKOpinionsItem struct {
	// 作成者.
	User       OpinionsHistoryOKOpinionsItemUser    `json:"user"`
	Opinion    OpinionsHistoryOKOpinionsItemOpinion `json:"opinion"`
	ReplyCount int                                  `json:"replyCount"`
}

func (*OpinionsHistoryOKOpinionsItem) Decode

Decode decodes OpinionsHistoryOKOpinionsItem from json.

func (*OpinionsHistoryOKOpinionsItem) Encode

Encode implements json.Marshaler.

func (*OpinionsHistoryOKOpinionsItem) GetOpinion

GetOpinion returns the value of Opinion.

func (*OpinionsHistoryOKOpinionsItem) GetReplyCount

func (s *OpinionsHistoryOKOpinionsItem) GetReplyCount() int

GetReplyCount returns the value of ReplyCount.

func (*OpinionsHistoryOKOpinionsItem) GetUser

GetUser returns the value of User.

func (*OpinionsHistoryOKOpinionsItem) MarshalJSON

func (s *OpinionsHistoryOKOpinionsItem) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*OpinionsHistoryOKOpinionsItem) SetOpinion

SetOpinion sets the value of Opinion.

func (*OpinionsHistoryOKOpinionsItem) SetReplyCount

func (s *OpinionsHistoryOKOpinionsItem) SetReplyCount(val int)

SetReplyCount sets the value of ReplyCount.

func (*OpinionsHistoryOKOpinionsItem) SetUser

SetUser sets the value of User.

func (*OpinionsHistoryOKOpinionsItem) UnmarshalJSON

func (s *OpinionsHistoryOKOpinionsItem) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*OpinionsHistoryOKOpinionsItem) Validate

func (s *OpinionsHistoryOKOpinionsItem) Validate() error

type OpinionsHistoryOKOpinionsItemOpinion

type OpinionsHistoryOKOpinionsItemOpinion struct {
	// 意見ID.
	ID    string    `json:"id"`
	Title OptString `json:"title"`
	// 意見のテキスト.
	Content string `json:"content"`
	// 親の意見ID。ルートならば無し.
	ParentID OptString `json:"parentID"`
	// 意見投稿主の意見。ルート意見の場合はここには何も入らない.
	VoteType OptOpinionsHistoryOKOpinionsItemOpinionVoteType `json:"voteType"`
	// 画像が返る場合もある.
	PictureURL OptString `json:"pictureURL"`
	// 参考文献URL.
	ReferenceURL OptString `json:"referenceURL"`
	PostedAt     string    `json:"postedAt"`
}

func (*OpinionsHistoryOKOpinionsItemOpinion) Decode

Decode decodes OpinionsHistoryOKOpinionsItemOpinion from json.

func (*OpinionsHistoryOKOpinionsItemOpinion) Encode

Encode implements json.Marshaler.

func (*OpinionsHistoryOKOpinionsItemOpinion) GetContent

GetContent returns the value of Content.

func (*OpinionsHistoryOKOpinionsItemOpinion) GetID

GetID returns the value of ID.

func (*OpinionsHistoryOKOpinionsItemOpinion) GetParentID

GetParentID returns the value of ParentID.

func (*OpinionsHistoryOKOpinionsItemOpinion) GetPictureURL

GetPictureURL returns the value of PictureURL.

func (*OpinionsHistoryOKOpinionsItemOpinion) GetPostedAt

GetPostedAt returns the value of PostedAt.

func (*OpinionsHistoryOKOpinionsItemOpinion) GetReferenceURL

func (s *OpinionsHistoryOKOpinionsItemOpinion) GetReferenceURL() OptString

GetReferenceURL returns the value of ReferenceURL.

func (*OpinionsHistoryOKOpinionsItemOpinion) GetTitle

GetTitle returns the value of Title.

func (*OpinionsHistoryOKOpinionsItemOpinion) GetVoteType

GetVoteType returns the value of VoteType.

func (*OpinionsHistoryOKOpinionsItemOpinion) MarshalJSON

func (s *OpinionsHistoryOKOpinionsItemOpinion) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*OpinionsHistoryOKOpinionsItemOpinion) SetContent

func (s *OpinionsHistoryOKOpinionsItemOpinion) SetContent(val string)

SetContent sets the value of Content.

func (*OpinionsHistoryOKOpinionsItemOpinion) SetID

SetID sets the value of ID.

func (*OpinionsHistoryOKOpinionsItemOpinion) SetParentID

func (s *OpinionsHistoryOKOpinionsItemOpinion) SetParentID(val OptString)

SetParentID sets the value of ParentID.

func (*OpinionsHistoryOKOpinionsItemOpinion) SetPictureURL

func (s *OpinionsHistoryOKOpinionsItemOpinion) SetPictureURL(val OptString)

SetPictureURL sets the value of PictureURL.

func (*OpinionsHistoryOKOpinionsItemOpinion) SetPostedAt

func (s *OpinionsHistoryOKOpinionsItemOpinion) SetPostedAt(val string)

SetPostedAt sets the value of PostedAt.

func (*OpinionsHistoryOKOpinionsItemOpinion) SetReferenceURL

func (s *OpinionsHistoryOKOpinionsItemOpinion) SetReferenceURL(val OptString)

SetReferenceURL sets the value of ReferenceURL.

func (*OpinionsHistoryOKOpinionsItemOpinion) SetTitle

SetTitle sets the value of Title.

func (*OpinionsHistoryOKOpinionsItemOpinion) SetVoteType

SetVoteType sets the value of VoteType.

func (*OpinionsHistoryOKOpinionsItemOpinion) UnmarshalJSON

func (s *OpinionsHistoryOKOpinionsItemOpinion) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*OpinionsHistoryOKOpinionsItemOpinion) Validate

type OpinionsHistoryOKOpinionsItemOpinionVoteType

type OpinionsHistoryOKOpinionsItemOpinionVoteType string

意見投稿主の意見。ルート意見の場合はここには何も入らない.

const (
	OpinionsHistoryOKOpinionsItemOpinionVoteTypeAgree    OpinionsHistoryOKOpinionsItemOpinionVoteType = "agree"
	OpinionsHistoryOKOpinionsItemOpinionVoteTypeDisagree OpinionsHistoryOKOpinionsItemOpinionVoteType = "disagree"
	OpinionsHistoryOKOpinionsItemOpinionVoteTypePass     OpinionsHistoryOKOpinionsItemOpinionVoteType = "pass"
)

func (OpinionsHistoryOKOpinionsItemOpinionVoteType) AllValues

AllValues returns all OpinionsHistoryOKOpinionsItemOpinionVoteType values.

func (*OpinionsHistoryOKOpinionsItemOpinionVoteType) Decode

Decode decodes OpinionsHistoryOKOpinionsItemOpinionVoteType from json.

func (OpinionsHistoryOKOpinionsItemOpinionVoteType) Encode

Encode encodes OpinionsHistoryOKOpinionsItemOpinionVoteType as json.

func (OpinionsHistoryOKOpinionsItemOpinionVoteType) MarshalJSON

MarshalJSON implements stdjson.Marshaler.

func (OpinionsHistoryOKOpinionsItemOpinionVoteType) MarshalText

MarshalText implements encoding.TextMarshaler.

func (*OpinionsHistoryOKOpinionsItemOpinionVoteType) UnmarshalJSON

func (s *OpinionsHistoryOKOpinionsItemOpinionVoteType) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*OpinionsHistoryOKOpinionsItemOpinionVoteType) UnmarshalText

func (s *OpinionsHistoryOKOpinionsItemOpinionVoteType) UnmarshalText(data []byte) error

UnmarshalText implements encoding.TextUnmarshaler.

func (OpinionsHistoryOKOpinionsItemOpinionVoteType) Validate

type OpinionsHistoryOKOpinionsItemUser

type OpinionsHistoryOKOpinionsItemUser struct {
	DisplayID   string       `json:"displayID"`
	DisplayName string       `json:"displayName"`
	IconURL     OptNilString `json:"iconURL"`
}

作成者.

func (*OpinionsHistoryOKOpinionsItemUser) Decode

Decode decodes OpinionsHistoryOKOpinionsItemUser from json.

func (*OpinionsHistoryOKOpinionsItemUser) Encode

Encode implements json.Marshaler.

func (*OpinionsHistoryOKOpinionsItemUser) GetDisplayID

func (s *OpinionsHistoryOKOpinionsItemUser) GetDisplayID() string

GetDisplayID returns the value of DisplayID.

func (*OpinionsHistoryOKOpinionsItemUser) GetDisplayName

func (s *OpinionsHistoryOKOpinionsItemUser) GetDisplayName() string

GetDisplayName returns the value of DisplayName.

func (*OpinionsHistoryOKOpinionsItemUser) GetIconURL

GetIconURL returns the value of IconURL.

func (*OpinionsHistoryOKOpinionsItemUser) MarshalJSON

func (s *OpinionsHistoryOKOpinionsItemUser) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*OpinionsHistoryOKOpinionsItemUser) SetDisplayID

func (s *OpinionsHistoryOKOpinionsItemUser) SetDisplayID(val string)

SetDisplayID sets the value of DisplayID.

func (*OpinionsHistoryOKOpinionsItemUser) SetDisplayName

func (s *OpinionsHistoryOKOpinionsItemUser) SetDisplayName(val string)

SetDisplayName sets the value of DisplayName.

func (*OpinionsHistoryOKOpinionsItemUser) SetIconURL

SetIconURL sets the value of IconURL.

func (*OpinionsHistoryOKOpinionsItemUser) UnmarshalJSON

func (s *OpinionsHistoryOKOpinionsItemUser) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*OpinionsHistoryOKOpinionsItemUser) Validate

type OpinionsHistoryOKPagination

type OpinionsHistoryOKPagination struct {
	TotalCount int `json:"totalCount"`
}

func (*OpinionsHistoryOKPagination) Decode

Decode decodes OpinionsHistoryOKPagination from json.

func (*OpinionsHistoryOKPagination) Encode

func (s *OpinionsHistoryOKPagination) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*OpinionsHistoryOKPagination) GetTotalCount

func (s *OpinionsHistoryOKPagination) GetTotalCount() int

GetTotalCount returns the value of TotalCount.

func (*OpinionsHistoryOKPagination) MarshalJSON

func (s *OpinionsHistoryOKPagination) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*OpinionsHistoryOKPagination) SetTotalCount

func (s *OpinionsHistoryOKPagination) SetTotalCount(val int)

SetTotalCount sets the value of TotalCount.

func (*OpinionsHistoryOKPagination) UnmarshalJSON

func (s *OpinionsHistoryOKPagination) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type OpinionsHistoryParams

type OpinionsHistoryParams struct {
	// ソートきー.
	Sort   OptNilOpinionsHistorySort
	Limit  OptInt
	Offset OptInt
}

OpinionsHistoryParams is parameters of opinionsHistory operation.

type OpinionsHistoryRes

type OpinionsHistoryRes interface {
	// contains filtered or unexported methods
}

type OpinionsHistorySort

type OpinionsHistorySort string
const (
	OpinionsHistorySortLatest    OpinionsHistorySort = "latest"
	OpinionsHistorySortMostReply OpinionsHistorySort = "mostReply"
	OpinionsHistorySortOldest    OpinionsHistorySort = "oldest"
)

func (OpinionsHistorySort) AllValues

AllValues returns all OpinionsHistorySort values.

func (OpinionsHistorySort) MarshalText

func (s OpinionsHistorySort) MarshalText() ([]byte, error)

MarshalText implements encoding.TextMarshaler.

func (*OpinionsHistorySort) UnmarshalText

func (s *OpinionsHistorySort) UnmarshalText(data []byte) error

UnmarshalText implements encoding.TextUnmarshaler.

func (OpinionsHistorySort) Validate

func (s OpinionsHistorySort) Validate() error

type OptBool

type OptBool struct {
	Value bool
	Set   bool
}

OptBool is optional bool.

func NewOptBool

func NewOptBool(v bool) OptBool

NewOptBool returns new OptBool with value set to v.

func (*OptBool) Decode

func (o *OptBool) Decode(d *jx.Decoder) error

Decode decodes bool from json.

func (OptBool) Encode

func (o OptBool) Encode(e *jx.Encoder)

Encode encodes bool as json.

func (OptBool) Get

func (o OptBool) Get() (v bool, ok bool)

Get returns value and boolean that denotes whether value was set.

func (OptBool) IsSet

func (o OptBool) IsSet() bool

IsSet returns true if OptBool was set.

func (OptBool) MarshalJSON

func (s OptBool) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (OptBool) Or

func (o OptBool) Or(d bool) bool

Or returns value if set, or given parameter if does not.

func (*OptBool) Reset

func (o *OptBool) Reset()

Reset unsets value.

func (*OptBool) SetTo

func (o *OptBool) SetTo(v bool)

SetTo sets value to v.

func (*OptBool) UnmarshalJSON

func (s *OptBool) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type OptCreateTalkSessionOKLocation

type OptCreateTalkSessionOKLocation struct {
	Value CreateTalkSessionOKLocation
	Set   bool
}

OptCreateTalkSessionOKLocation is optional CreateTalkSessionOKLocation.

func NewOptCreateTalkSessionOKLocation

func NewOptCreateTalkSessionOKLocation(v CreateTalkSessionOKLocation) OptCreateTalkSessionOKLocation

NewOptCreateTalkSessionOKLocation returns new OptCreateTalkSessionOKLocation with value set to v.

func (*OptCreateTalkSessionOKLocation) Decode

Decode decodes CreateTalkSessionOKLocation from json.

func (OptCreateTalkSessionOKLocation) Encode

Encode encodes CreateTalkSessionOKLocation as json.

func (OptCreateTalkSessionOKLocation) Get

Get returns value and boolean that denotes whether value was set.

func (OptCreateTalkSessionOKLocation) IsSet

IsSet returns true if OptCreateTalkSessionOKLocation was set.

func (OptCreateTalkSessionOKLocation) MarshalJSON

func (s OptCreateTalkSessionOKLocation) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (OptCreateTalkSessionOKLocation) Or

Or returns value if set, or given parameter if does not.

func (*OptCreateTalkSessionOKLocation) Reset

func (o *OptCreateTalkSessionOKLocation) Reset()

Reset unsets value.

func (*OptCreateTalkSessionOKLocation) SetTo

SetTo sets value to v.

func (*OptCreateTalkSessionOKLocation) UnmarshalJSON

func (s *OptCreateTalkSessionOKLocation) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type OptCreateTalkSessionReq

type OptCreateTalkSessionReq struct {
	Value CreateTalkSessionReq
	Set   bool
}

OptCreateTalkSessionReq is optional CreateTalkSessionReq.

func NewOptCreateTalkSessionReq

func NewOptCreateTalkSessionReq(v CreateTalkSessionReq) OptCreateTalkSessionReq

NewOptCreateTalkSessionReq returns new OptCreateTalkSessionReq with value set to v.

func (OptCreateTalkSessionReq) Get

Get returns value and boolean that denotes whether value was set.

func (OptCreateTalkSessionReq) IsSet

func (o OptCreateTalkSessionReq) IsSet() bool

IsSet returns true if OptCreateTalkSessionReq was set.

func (OptCreateTalkSessionReq) Or

Or returns value if set, or given parameter if does not.

func (*OptCreateTalkSessionReq) Reset

func (o *OptCreateTalkSessionReq) Reset()

Reset unsets value.

func (*OptCreateTalkSessionReq) SetTo

SetTo sets value to v.

type OptEditTalkSessionOKLocation

type OptEditTalkSessionOKLocation struct {
	Value EditTalkSessionOKLocation
	Set   bool
}

OptEditTalkSessionOKLocation is optional EditTalkSessionOKLocation.

func NewOptEditTalkSessionOKLocation

func NewOptEditTalkSessionOKLocation(v EditTalkSessionOKLocation) OptEditTalkSessionOKLocation

NewOptEditTalkSessionOKLocation returns new OptEditTalkSessionOKLocation with value set to v.

func (*OptEditTalkSessionOKLocation) Decode

Decode decodes EditTalkSessionOKLocation from json.

func (OptEditTalkSessionOKLocation) Encode

Encode encodes EditTalkSessionOKLocation as json.

func (OptEditTalkSessionOKLocation) Get

Get returns value and boolean that denotes whether value was set.

func (OptEditTalkSessionOKLocation) IsSet

IsSet returns true if OptEditTalkSessionOKLocation was set.

func (OptEditTalkSessionOKLocation) MarshalJSON

func (s OptEditTalkSessionOKLocation) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (OptEditTalkSessionOKLocation) Or

Or returns value if set, or given parameter if does not.

func (*OptEditTalkSessionOKLocation) Reset

func (o *OptEditTalkSessionOKLocation) Reset()

Reset unsets value.

func (*OptEditTalkSessionOKLocation) SetTo

SetTo sets value to v.

func (*OptEditTalkSessionOKLocation) UnmarshalJSON

func (s *OptEditTalkSessionOKLocation) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type OptEditTalkSessionReq

type OptEditTalkSessionReq struct {
	Value EditTalkSessionReq
	Set   bool
}

OptEditTalkSessionReq is optional EditTalkSessionReq.

func NewOptEditTalkSessionReq

func NewOptEditTalkSessionReq(v EditTalkSessionReq) OptEditTalkSessionReq

NewOptEditTalkSessionReq returns new OptEditTalkSessionReq with value set to v.

func (OptEditTalkSessionReq) Get

Get returns value and boolean that denotes whether value was set.

func (OptEditTalkSessionReq) IsSet

func (o OptEditTalkSessionReq) IsSet() bool

IsSet returns true if OptEditTalkSessionReq was set.

func (OptEditTalkSessionReq) Or

Or returns value if set, or given parameter if does not.

func (*OptEditTalkSessionReq) Reset

func (o *OptEditTalkSessionReq) Reset()

Reset unsets value.

func (*OptEditTalkSessionReq) SetTo

SetTo sets value to v.

type OptEditTimeLineReq

type OptEditTimeLineReq struct {
	Value EditTimeLineReq
	Set   bool
}

OptEditTimeLineReq is optional EditTimeLineReq.

func NewOptEditTimeLineReq

func NewOptEditTimeLineReq(v EditTimeLineReq) OptEditTimeLineReq

NewOptEditTimeLineReq returns new OptEditTimeLineReq with value set to v.

func (OptEditTimeLineReq) Get

func (o OptEditTimeLineReq) Get() (v EditTimeLineReq, ok bool)

Get returns value and boolean that denotes whether value was set.

func (OptEditTimeLineReq) IsSet

func (o OptEditTimeLineReq) IsSet() bool

IsSet returns true if OptEditTimeLineReq was set.

func (OptEditTimeLineReq) Or

Or returns value if set, or given parameter if does not.

func (*OptEditTimeLineReq) Reset

func (o *OptEditTimeLineReq) Reset()

Reset unsets value.

func (*OptEditTimeLineReq) SetTo

func (o *OptEditTimeLineReq) SetTo(v EditTimeLineReq)

SetTo sets value to v.

type OptEditUserProfileReq

type OptEditUserProfileReq struct {
	Value EditUserProfileReq
	Set   bool
}

OptEditUserProfileReq is optional EditUserProfileReq.

func NewOptEditUserProfileReq

func NewOptEditUserProfileReq(v EditUserProfileReq) OptEditUserProfileReq

NewOptEditUserProfileReq returns new OptEditUserProfileReq with value set to v.

func (OptEditUserProfileReq) Get

Get returns value and boolean that denotes whether value was set.

func (OptEditUserProfileReq) IsSet

func (o OptEditUserProfileReq) IsSet() bool

IsSet returns true if OptEditUserProfileReq was set.

func (OptEditUserProfileReq) Or

Or returns value if set, or given parameter if does not.

func (*OptEditUserProfileReq) Reset

func (o *OptEditUserProfileReq) Reset()

Reset unsets value.

func (*OptEditUserProfileReq) SetTo

SetTo sets value to v.

type OptFloat64

type OptFloat64 struct {
	Value float64
	Set   bool
}

OptFloat64 is optional float64.

func NewOptFloat64

func NewOptFloat64(v float64) OptFloat64

NewOptFloat64 returns new OptFloat64 with value set to v.

func (*OptFloat64) Decode

func (o *OptFloat64) Decode(d *jx.Decoder) error

Decode decodes float64 from json.

func (OptFloat64) Encode

func (o OptFloat64) Encode(e *jx.Encoder)

Encode encodes float64 as json.

func (OptFloat64) Get

func (o OptFloat64) Get() (v float64, ok bool)

Get returns value and boolean that denotes whether value was set.

func (OptFloat64) IsSet

func (o OptFloat64) IsSet() bool

IsSet returns true if OptFloat64 was set.

func (OptFloat64) MarshalJSON

func (s OptFloat64) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (OptFloat64) Or

func (o OptFloat64) Or(d float64) float64

Or returns value if set, or given parameter if does not.

func (*OptFloat64) Reset

func (o *OptFloat64) Reset()

Reset unsets value.

func (*OptFloat64) SetTo

func (o *OptFloat64) SetTo(v float64)

SetTo sets value to v.

func (*OptFloat64) UnmarshalJSON

func (s *OptFloat64) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type OptGetOpenedTalkSessionOKTalkSessionsItemTalkSessionLocation

type OptGetOpenedTalkSessionOKTalkSessionsItemTalkSessionLocation struct {
	Value GetOpenedTalkSessionOKTalkSessionsItemTalkSessionLocation
	Set   bool
}

OptGetOpenedTalkSessionOKTalkSessionsItemTalkSessionLocation is optional GetOpenedTalkSessionOKTalkSessionsItemTalkSessionLocation.

func NewOptGetOpenedTalkSessionOKTalkSessionsItemTalkSessionLocation

NewOptGetOpenedTalkSessionOKTalkSessionsItemTalkSessionLocation returns new OptGetOpenedTalkSessionOKTalkSessionsItemTalkSessionLocation with value set to v.

func (*OptGetOpenedTalkSessionOKTalkSessionsItemTalkSessionLocation) Decode

Decode decodes GetOpenedTalkSessionOKTalkSessionsItemTalkSessionLocation from json.

func (OptGetOpenedTalkSessionOKTalkSessionsItemTalkSessionLocation) Encode

Encode encodes GetOpenedTalkSessionOKTalkSessionsItemTalkSessionLocation as json.

func (OptGetOpenedTalkSessionOKTalkSessionsItemTalkSessionLocation) Get

Get returns value and boolean that denotes whether value was set.

func (OptGetOpenedTalkSessionOKTalkSessionsItemTalkSessionLocation) IsSet

IsSet returns true if OptGetOpenedTalkSessionOKTalkSessionsItemTalkSessionLocation was set.

func (OptGetOpenedTalkSessionOKTalkSessionsItemTalkSessionLocation) MarshalJSON

MarshalJSON implements stdjson.Marshaler.

func (OptGetOpenedTalkSessionOKTalkSessionsItemTalkSessionLocation) Or

Or returns value if set, or given parameter if does not.

func (*OptGetOpenedTalkSessionOKTalkSessionsItemTalkSessionLocation) Reset

Reset unsets value.

func (*OptGetOpenedTalkSessionOKTalkSessionsItemTalkSessionLocation) SetTo

SetTo sets value to v.

func (*OptGetOpenedTalkSessionOKTalkSessionsItemTalkSessionLocation) UnmarshalJSON

UnmarshalJSON implements stdjson.Unmarshaler.

type OptGetOpinionDetailOKOpinionVoteType

type OptGetOpinionDetailOKOpinionVoteType struct {
	Value GetOpinionDetailOKOpinionVoteType
	Set   bool
}

OptGetOpinionDetailOKOpinionVoteType is optional GetOpinionDetailOKOpinionVoteType.

func NewOptGetOpinionDetailOKOpinionVoteType

func NewOptGetOpinionDetailOKOpinionVoteType(v GetOpinionDetailOKOpinionVoteType) OptGetOpinionDetailOKOpinionVoteType

NewOptGetOpinionDetailOKOpinionVoteType returns new OptGetOpinionDetailOKOpinionVoteType with value set to v.

func (*OptGetOpinionDetailOKOpinionVoteType) Decode

Decode decodes GetOpinionDetailOKOpinionVoteType from json.

func (OptGetOpinionDetailOKOpinionVoteType) Encode

Encode encodes GetOpinionDetailOKOpinionVoteType as json.

func (OptGetOpinionDetailOKOpinionVoteType) Get

Get returns value and boolean that denotes whether value was set.

func (OptGetOpinionDetailOKOpinionVoteType) IsSet

IsSet returns true if OptGetOpinionDetailOKOpinionVoteType was set.

func (OptGetOpinionDetailOKOpinionVoteType) MarshalJSON

func (s OptGetOpinionDetailOKOpinionVoteType) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (OptGetOpinionDetailOKOpinionVoteType) Or

Or returns value if set, or given parameter if does not.

func (*OptGetOpinionDetailOKOpinionVoteType) Reset

Reset unsets value.

func (*OptGetOpinionDetailOKOpinionVoteType) SetTo

SetTo sets value to v.

func (*OptGetOpinionDetailOKOpinionVoteType) UnmarshalJSON

func (s *OptGetOpinionDetailOKOpinionVoteType) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type OptGetOpinionsForTalkSessionOKOpinionsItemOpinionVoteType

type OptGetOpinionsForTalkSessionOKOpinionsItemOpinionVoteType struct {
	Value GetOpinionsForTalkSessionOKOpinionsItemOpinionVoteType
	Set   bool
}

OptGetOpinionsForTalkSessionOKOpinionsItemOpinionVoteType is optional GetOpinionsForTalkSessionOKOpinionsItemOpinionVoteType.

func NewOptGetOpinionsForTalkSessionOKOpinionsItemOpinionVoteType

NewOptGetOpinionsForTalkSessionOKOpinionsItemOpinionVoteType returns new OptGetOpinionsForTalkSessionOKOpinionsItemOpinionVoteType with value set to v.

func (*OptGetOpinionsForTalkSessionOKOpinionsItemOpinionVoteType) Decode

Decode decodes GetOpinionsForTalkSessionOKOpinionsItemOpinionVoteType from json.

func (OptGetOpinionsForTalkSessionOKOpinionsItemOpinionVoteType) Encode

Encode encodes GetOpinionsForTalkSessionOKOpinionsItemOpinionVoteType as json.

func (OptGetOpinionsForTalkSessionOKOpinionsItemOpinionVoteType) Get

Get returns value and boolean that denotes whether value was set.

func (OptGetOpinionsForTalkSessionOKOpinionsItemOpinionVoteType) IsSet

IsSet returns true if OptGetOpinionsForTalkSessionOKOpinionsItemOpinionVoteType was set.

func (OptGetOpinionsForTalkSessionOKOpinionsItemOpinionVoteType) MarshalJSON

MarshalJSON implements stdjson.Marshaler.

func (OptGetOpinionsForTalkSessionOKOpinionsItemOpinionVoteType) Or

Or returns value if set, or given parameter if does not.

func (*OptGetOpinionsForTalkSessionOKOpinionsItemOpinionVoteType) Reset

Reset unsets value.

func (*OptGetOpinionsForTalkSessionOKOpinionsItemOpinionVoteType) SetTo

SetTo sets value to v.

func (*OptGetOpinionsForTalkSessionOKOpinionsItemOpinionVoteType) UnmarshalJSON

UnmarshalJSON implements stdjson.Unmarshaler.

type OptGetTalkSessionDetailOKLocation

type OptGetTalkSessionDetailOKLocation struct {
	Value GetTalkSessionDetailOKLocation
	Set   bool
}

OptGetTalkSessionDetailOKLocation is optional GetTalkSessionDetailOKLocation.

func NewOptGetTalkSessionDetailOKLocation

func NewOptGetTalkSessionDetailOKLocation(v GetTalkSessionDetailOKLocation) OptGetTalkSessionDetailOKLocation

NewOptGetTalkSessionDetailOKLocation returns new OptGetTalkSessionDetailOKLocation with value set to v.

func (*OptGetTalkSessionDetailOKLocation) Decode

Decode decodes GetTalkSessionDetailOKLocation from json.

func (OptGetTalkSessionDetailOKLocation) Encode

Encode encodes GetTalkSessionDetailOKLocation as json.

func (OptGetTalkSessionDetailOKLocation) Get

Get returns value and boolean that denotes whether value was set.

func (OptGetTalkSessionDetailOKLocation) IsSet

IsSet returns true if OptGetTalkSessionDetailOKLocation was set.

func (OptGetTalkSessionDetailOKLocation) MarshalJSON

func (s OptGetTalkSessionDetailOKLocation) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (OptGetTalkSessionDetailOKLocation) Or

Or returns value if set, or given parameter if does not.

func (*OptGetTalkSessionDetailOKLocation) Reset

Reset unsets value.

func (*OptGetTalkSessionDetailOKLocation) SetTo

SetTo sets value to v.

func (*OptGetTalkSessionDetailOKLocation) UnmarshalJSON

func (s *OptGetTalkSessionDetailOKLocation) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type OptGetTalkSessionListOKTalkSessionsItemTalkSessionLocation

type OptGetTalkSessionListOKTalkSessionsItemTalkSessionLocation struct {
	Value GetTalkSessionListOKTalkSessionsItemTalkSessionLocation
	Set   bool
}

OptGetTalkSessionListOKTalkSessionsItemTalkSessionLocation is optional GetTalkSessionListOKTalkSessionsItemTalkSessionLocation.

func NewOptGetTalkSessionListOKTalkSessionsItemTalkSessionLocation

NewOptGetTalkSessionListOKTalkSessionsItemTalkSessionLocation returns new OptGetTalkSessionListOKTalkSessionsItemTalkSessionLocation with value set to v.

func (*OptGetTalkSessionListOKTalkSessionsItemTalkSessionLocation) Decode

Decode decodes GetTalkSessionListOKTalkSessionsItemTalkSessionLocation from json.

func (OptGetTalkSessionListOKTalkSessionsItemTalkSessionLocation) Encode

Encode encodes GetTalkSessionListOKTalkSessionsItemTalkSessionLocation as json.

func (OptGetTalkSessionListOKTalkSessionsItemTalkSessionLocation) Get

Get returns value and boolean that denotes whether value was set.

func (OptGetTalkSessionListOKTalkSessionsItemTalkSessionLocation) IsSet

IsSet returns true if OptGetTalkSessionListOKTalkSessionsItemTalkSessionLocation was set.

func (OptGetTalkSessionListOKTalkSessionsItemTalkSessionLocation) MarshalJSON

MarshalJSON implements stdjson.Marshaler.

func (OptGetTalkSessionListOKTalkSessionsItemTalkSessionLocation) Or

Or returns value if set, or given parameter if does not.

func (*OptGetTalkSessionListOKTalkSessionsItemTalkSessionLocation) Reset

Reset unsets value.

func (*OptGetTalkSessionListOKTalkSessionsItemTalkSessionLocation) SetTo

SetTo sets value to v.

func (*OptGetTalkSessionListOKTalkSessionsItemTalkSessionLocation) UnmarshalJSON

UnmarshalJSON implements stdjson.Unmarshaler.

type OptGetTalkSessionListSortKey

type OptGetTalkSessionListSortKey struct {
	Value GetTalkSessionListSortKey
	Set   bool
}

OptGetTalkSessionListSortKey is optional GetTalkSessionListSortKey.

func NewOptGetTalkSessionListSortKey

func NewOptGetTalkSessionListSortKey(v GetTalkSessionListSortKey) OptGetTalkSessionListSortKey

NewOptGetTalkSessionListSortKey returns new OptGetTalkSessionListSortKey with value set to v.

func (OptGetTalkSessionListSortKey) Get

Get returns value and boolean that denotes whether value was set.

func (OptGetTalkSessionListSortKey) IsSet

IsSet returns true if OptGetTalkSessionListSortKey was set.

func (OptGetTalkSessionListSortKey) Or

Or returns value if set, or given parameter if does not.

func (*OptGetTalkSessionListSortKey) Reset

func (o *OptGetTalkSessionListSortKey) Reset()

Reset unsets value.

func (*OptGetTalkSessionListSortKey) SetTo

SetTo sets value to v.

type OptInt

type OptInt struct {
	Value int
	Set   bool
}

OptInt is optional int.

func NewOptInt

func NewOptInt(v int) OptInt

NewOptInt returns new OptInt with value set to v.

func (*OptInt) Decode

func (o *OptInt) Decode(d *jx.Decoder) error

Decode decodes int from json.

func (OptInt) Encode

func (o OptInt) Encode(e *jx.Encoder)

Encode encodes int as json.

func (OptInt) Get

func (o OptInt) Get() (v int, ok bool)

Get returns value and boolean that denotes whether value was set.

func (OptInt) IsSet

func (o OptInt) IsSet() bool

IsSet returns true if OptInt was set.

func (OptInt) MarshalJSON

func (s OptInt) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (OptInt) Or

func (o OptInt) Or(d int) int

Or returns value if set, or given parameter if does not.

func (*OptInt) Reset

func (o *OptInt) Reset()

Reset unsets value.

func (*OptInt) SetTo

func (o *OptInt) SetTo(v int)

SetTo sets value to v.

func (*OptInt) UnmarshalJSON

func (s *OptInt) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type OptManageRegenerateReq

type OptManageRegenerateReq struct {
	Value ManageRegenerateReq
	Set   bool
}

OptManageRegenerateReq is optional ManageRegenerateReq.

func NewOptManageRegenerateReq

func NewOptManageRegenerateReq(v ManageRegenerateReq) OptManageRegenerateReq

NewOptManageRegenerateReq returns new OptManageRegenerateReq with value set to v.

func (*OptManageRegenerateReq) Decode

func (o *OptManageRegenerateReq) Decode(d *jx.Decoder) error

Decode decodes ManageRegenerateReq from json.

func (OptManageRegenerateReq) Encode

func (o OptManageRegenerateReq) Encode(e *jx.Encoder)

Encode encodes ManageRegenerateReq as json.

func (OptManageRegenerateReq) Get

Get returns value and boolean that denotes whether value was set.

func (OptManageRegenerateReq) IsSet

func (o OptManageRegenerateReq) IsSet() bool

IsSet returns true if OptManageRegenerateReq was set.

func (OptManageRegenerateReq) MarshalJSON

func (s OptManageRegenerateReq) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (OptManageRegenerateReq) Or

Or returns value if set, or given parameter if does not.

func (*OptManageRegenerateReq) Reset

func (o *OptManageRegenerateReq) Reset()

Reset unsets value.

func (*OptManageRegenerateReq) SetTo

SetTo sets value to v.

func (*OptManageRegenerateReq) UnmarshalJSON

func (s *OptManageRegenerateReq) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type OptMultipartFile

type OptMultipartFile struct {
	Value ht.MultipartFile
	Set   bool
}

OptMultipartFile is optional ht.MultipartFile.

func NewOptMultipartFile

func NewOptMultipartFile(v ht.MultipartFile) OptMultipartFile

NewOptMultipartFile returns new OptMultipartFile with value set to v.

func (OptMultipartFile) Get

func (o OptMultipartFile) Get() (v ht.MultipartFile, ok bool)

Get returns value and boolean that denotes whether value was set.

func (OptMultipartFile) IsSet

func (o OptMultipartFile) IsSet() bool

IsSet returns true if OptMultipartFile was set.

func (OptMultipartFile) Or

Or returns value if set, or given parameter if does not.

func (*OptMultipartFile) Reset

func (o *OptMultipartFile) Reset()

Reset unsets value.

func (*OptMultipartFile) SetTo

func (o *OptMultipartFile) SetTo(v ht.MultipartFile)

SetTo sets value to v.

type OptNilBool

type OptNilBool struct {
	Value bool
	Set   bool
	Null  bool
}

OptNilBool is optional nullable bool.

func NewOptNilBool

func NewOptNilBool(v bool) OptNilBool

NewOptNilBool returns new OptNilBool with value set to v.

func (*OptNilBool) Decode

func (o *OptNilBool) Decode(d *jx.Decoder) error

Decode decodes bool from json.

func (OptNilBool) Encode

func (o OptNilBool) Encode(e *jx.Encoder)

Encode encodes bool as json.

func (OptNilBool) Get

func (o OptNilBool) Get() (v bool, ok bool)

Get returns value and boolean that denotes whether value was set.

func (OptNilBool) IsNull

func (o OptNilBool) IsNull() bool

IsSet returns true if value is Null.

func (OptNilBool) IsSet

func (o OptNilBool) IsSet() bool

IsSet returns true if OptNilBool was set.

func (OptNilBool) MarshalJSON

func (s OptNilBool) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (OptNilBool) Or

func (o OptNilBool) Or(d bool) bool

Or returns value if set, or given parameter if does not.

func (*OptNilBool) Reset

func (o *OptNilBool) Reset()

Reset unsets value.

func (*OptNilBool) SetTo

func (o *OptNilBool) SetTo(v bool)

SetTo sets value to v.

func (*OptNilBool) SetToNull

func (o *OptNilBool) SetToNull()

SetNull sets value to null.

func (*OptNilBool) UnmarshalJSON

func (s *OptNilBool) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type OptNilEditUserProfileReqGender

type OptNilEditUserProfileReqGender struct {
	Value EditUserProfileReqGender
	Set   bool
	Null  bool
}

OptNilEditUserProfileReqGender is optional nullable EditUserProfileReqGender.

func NewOptNilEditUserProfileReqGender

func NewOptNilEditUserProfileReqGender(v EditUserProfileReqGender) OptNilEditUserProfileReqGender

NewOptNilEditUserProfileReqGender returns new OptNilEditUserProfileReqGender with value set to v.

func (OptNilEditUserProfileReqGender) Get

Get returns value and boolean that denotes whether value was set.

func (OptNilEditUserProfileReqGender) IsNull

IsSet returns true if value is Null.

func (OptNilEditUserProfileReqGender) IsSet

IsSet returns true if OptNilEditUserProfileReqGender was set.

func (OptNilEditUserProfileReqGender) Or

Or returns value if set, or given parameter if does not.

func (*OptNilEditUserProfileReqGender) Reset

func (o *OptNilEditUserProfileReqGender) Reset()

Reset unsets value.

func (*OptNilEditUserProfileReqGender) SetTo

SetTo sets value to v.

func (*OptNilEditUserProfileReqGender) SetToNull

func (o *OptNilEditUserProfileReqGender) SetToNull()

SetNull sets value to null.

type OptNilEditUserProfileReqOccupation

type OptNilEditUserProfileReqOccupation struct {
	Value EditUserProfileReqOccupation
	Set   bool
	Null  bool
}

OptNilEditUserProfileReqOccupation is optional nullable EditUserProfileReqOccupation.

func NewOptNilEditUserProfileReqOccupation

func NewOptNilEditUserProfileReqOccupation(v EditUserProfileReqOccupation) OptNilEditUserProfileReqOccupation

NewOptNilEditUserProfileReqOccupation returns new OptNilEditUserProfileReqOccupation with value set to v.

func (OptNilEditUserProfileReqOccupation) Get

Get returns value and boolean that denotes whether value was set.

func (OptNilEditUserProfileReqOccupation) IsNull

IsSet returns true if value is Null.

func (OptNilEditUserProfileReqOccupation) IsSet

IsSet returns true if OptNilEditUserProfileReqOccupation was set.

func (OptNilEditUserProfileReqOccupation) Or

Or returns value if set, or given parameter if does not.

func (*OptNilEditUserProfileReqOccupation) Reset

Reset unsets value.

func (*OptNilEditUserProfileReqOccupation) SetTo

SetTo sets value to v.

func (*OptNilEditUserProfileReqOccupation) SetToNull

func (o *OptNilEditUserProfileReqOccupation) SetToNull()

SetNull sets value to null.

type OptNilFloat64

type OptNilFloat64 struct {
	Value float64
	Set   bool
	Null  bool
}

OptNilFloat64 is optional nullable float64.

func NewOptNilFloat64

func NewOptNilFloat64(v float64) OptNilFloat64

NewOptNilFloat64 returns new OptNilFloat64 with value set to v.

func (OptNilFloat64) Get

func (o OptNilFloat64) Get() (v float64, ok bool)

Get returns value and boolean that denotes whether value was set.

func (OptNilFloat64) IsNull

func (o OptNilFloat64) IsNull() bool

IsSet returns true if value is Null.

func (OptNilFloat64) IsSet

func (o OptNilFloat64) IsSet() bool

IsSet returns true if OptNilFloat64 was set.

func (OptNilFloat64) Or

func (o OptNilFloat64) Or(d float64) float64

Or returns value if set, or given parameter if does not.

func (*OptNilFloat64) Reset

func (o *OptNilFloat64) Reset()

Reset unsets value.

func (*OptNilFloat64) SetTo

func (o *OptNilFloat64) SetTo(v float64)

SetTo sets value to v.

func (*OptNilFloat64) SetToNull

func (o *OptNilFloat64) SetToNull()

SetNull sets value to null.

type OptNilGetOpenedTalkSessionStatus

type OptNilGetOpenedTalkSessionStatus struct {
	Value GetOpenedTalkSessionStatus
	Set   bool
	Null  bool
}

OptNilGetOpenedTalkSessionStatus is optional nullable GetOpenedTalkSessionStatus.

func NewOptNilGetOpenedTalkSessionStatus

func NewOptNilGetOpenedTalkSessionStatus(v GetOpenedTalkSessionStatus) OptNilGetOpenedTalkSessionStatus

NewOptNilGetOpenedTalkSessionStatus returns new OptNilGetOpenedTalkSessionStatus with value set to v.

func (OptNilGetOpenedTalkSessionStatus) Get

Get returns value and boolean that denotes whether value was set.

func (OptNilGetOpenedTalkSessionStatus) IsNull

IsSet returns true if value is Null.

func (OptNilGetOpenedTalkSessionStatus) IsSet

IsSet returns true if OptNilGetOpenedTalkSessionStatus was set.

func (OptNilGetOpenedTalkSessionStatus) Or

Or returns value if set, or given parameter if does not.

func (*OptNilGetOpenedTalkSessionStatus) Reset

Reset unsets value.

func (*OptNilGetOpenedTalkSessionStatus) SetTo

SetTo sets value to v.

func (*OptNilGetOpenedTalkSessionStatus) SetToNull

func (o *OptNilGetOpenedTalkSessionStatus) SetToNull()

SetNull sets value to null.

type OptNilGetOpinionsForTalkSessionSort

type OptNilGetOpinionsForTalkSessionSort struct {
	Value GetOpinionsForTalkSessionSort
	Set   bool
	Null  bool
}

OptNilGetOpinionsForTalkSessionSort is optional nullable GetOpinionsForTalkSessionSort.

func NewOptNilGetOpinionsForTalkSessionSort

func NewOptNilGetOpinionsForTalkSessionSort(v GetOpinionsForTalkSessionSort) OptNilGetOpinionsForTalkSessionSort

NewOptNilGetOpinionsForTalkSessionSort returns new OptNilGetOpinionsForTalkSessionSort with value set to v.

func (OptNilGetOpinionsForTalkSessionSort) Get

Get returns value and boolean that denotes whether value was set.

func (OptNilGetOpinionsForTalkSessionSort) IsNull

IsSet returns true if value is Null.

func (OptNilGetOpinionsForTalkSessionSort) IsSet

IsSet returns true if OptNilGetOpinionsForTalkSessionSort was set.

func (OptNilGetOpinionsForTalkSessionSort) Or

Or returns value if set, or given parameter if does not.

func (*OptNilGetOpinionsForTalkSessionSort) Reset

Reset unsets value.

func (*OptNilGetOpinionsForTalkSessionSort) SetTo

SetTo sets value to v.

func (*OptNilGetOpinionsForTalkSessionSort) SetToNull

func (o *OptNilGetOpinionsForTalkSessionSort) SetToNull()

SetNull sets value to null.

type OptNilGetTalkSessionListStatus

type OptNilGetTalkSessionListStatus struct {
	Value GetTalkSessionListStatus
	Set   bool
	Null  bool
}

OptNilGetTalkSessionListStatus is optional nullable GetTalkSessionListStatus.

func NewOptNilGetTalkSessionListStatus

func NewOptNilGetTalkSessionListStatus(v GetTalkSessionListStatus) OptNilGetTalkSessionListStatus

NewOptNilGetTalkSessionListStatus returns new OptNilGetTalkSessionListStatus with value set to v.

func (OptNilGetTalkSessionListStatus) Get

Get returns value and boolean that denotes whether value was set.

func (OptNilGetTalkSessionListStatus) IsNull

IsSet returns true if value is Null.

func (OptNilGetTalkSessionListStatus) IsSet

IsSet returns true if OptNilGetTalkSessionListStatus was set.

func (OptNilGetTalkSessionListStatus) Or

Or returns value if set, or given parameter if does not.

func (*OptNilGetTalkSessionListStatus) Reset

func (o *OptNilGetTalkSessionListStatus) Reset()

Reset unsets value.

func (*OptNilGetTalkSessionListStatus) SetTo

SetTo sets value to v.

func (*OptNilGetTalkSessionListStatus) SetToNull

func (o *OptNilGetTalkSessionListStatus) SetToNull()

SetNull sets value to null.

type OptNilInt

type OptNilInt struct {
	Value int
	Set   bool
	Null  bool
}

OptNilInt is optional nullable int.

func NewOptNilInt

func NewOptNilInt(v int) OptNilInt

NewOptNilInt returns new OptNilInt with value set to v.

func (*OptNilInt) Decode

func (o *OptNilInt) Decode(d *jx.Decoder) error

Decode decodes int from json.

func (OptNilInt) Encode

func (o OptNilInt) Encode(e *jx.Encoder)

Encode encodes int as json.

func (OptNilInt) Get

func (o OptNilInt) Get() (v int, ok bool)

Get returns value and boolean that denotes whether value was set.

func (OptNilInt) IsNull

func (o OptNilInt) IsNull() bool

IsSet returns true if value is Null.

func (OptNilInt) IsSet

func (o OptNilInt) IsSet() bool

IsSet returns true if OptNilInt was set.

func (OptNilInt) MarshalJSON

func (s OptNilInt) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (OptNilInt) Or

func (o OptNilInt) Or(d int) int

Or returns value if set, or given parameter if does not.

func (*OptNilInt) Reset

func (o *OptNilInt) Reset()

Reset unsets value.

func (*OptNilInt) SetTo

func (o *OptNilInt) SetTo(v int)

SetTo sets value to v.

func (*OptNilInt) SetToNull

func (o *OptNilInt) SetToNull()

SetNull sets value to null.

func (*OptNilInt) UnmarshalJSON

func (s *OptNilInt) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type OptNilOpinionsHistorySort

type OptNilOpinionsHistorySort struct {
	Value OpinionsHistorySort
	Set   bool
	Null  bool
}

OptNilOpinionsHistorySort is optional nullable OpinionsHistorySort.

func NewOptNilOpinionsHistorySort

func NewOptNilOpinionsHistorySort(v OpinionsHistorySort) OptNilOpinionsHistorySort

NewOptNilOpinionsHistorySort returns new OptNilOpinionsHistorySort with value set to v.

func (OptNilOpinionsHistorySort) Get

Get returns value and boolean that denotes whether value was set.

func (OptNilOpinionsHistorySort) IsNull

func (o OptNilOpinionsHistorySort) IsNull() bool

IsSet returns true if value is Null.

func (OptNilOpinionsHistorySort) IsSet

func (o OptNilOpinionsHistorySort) IsSet() bool

IsSet returns true if OptNilOpinionsHistorySort was set.

func (OptNilOpinionsHistorySort) Or

Or returns value if set, or given parameter if does not.

func (*OptNilOpinionsHistorySort) Reset

func (o *OptNilOpinionsHistorySort) Reset()

Reset unsets value.

func (*OptNilOpinionsHistorySort) SetTo

SetTo sets value to v.

func (*OptNilOpinionsHistorySort) SetToNull

func (o *OptNilOpinionsHistorySort) SetToNull()

SetNull sets value to null.

type OptNilRegisterUserReqGender

type OptNilRegisterUserReqGender struct {
	Value RegisterUserReqGender
	Set   bool
	Null  bool
}

OptNilRegisterUserReqGender is optional nullable RegisterUserReqGender.

func NewOptNilRegisterUserReqGender

func NewOptNilRegisterUserReqGender(v RegisterUserReqGender) OptNilRegisterUserReqGender

NewOptNilRegisterUserReqGender returns new OptNilRegisterUserReqGender with value set to v.

func (OptNilRegisterUserReqGender) Get

Get returns value and boolean that denotes whether value was set.

func (OptNilRegisterUserReqGender) IsNull

func (o OptNilRegisterUserReqGender) IsNull() bool

IsSet returns true if value is Null.

func (OptNilRegisterUserReqGender) IsSet

IsSet returns true if OptNilRegisterUserReqGender was set.

func (OptNilRegisterUserReqGender) Or

Or returns value if set, or given parameter if does not.

func (*OptNilRegisterUserReqGender) Reset

func (o *OptNilRegisterUserReqGender) Reset()

Reset unsets value.

func (*OptNilRegisterUserReqGender) SetTo

SetTo sets value to v.

func (*OptNilRegisterUserReqGender) SetToNull

func (o *OptNilRegisterUserReqGender) SetToNull()

SetNull sets value to null.

type OptNilRegisterUserReqOccupation

type OptNilRegisterUserReqOccupation struct {
	Value RegisterUserReqOccupation
	Set   bool
	Null  bool
}

OptNilRegisterUserReqOccupation is optional nullable RegisterUserReqOccupation.

func NewOptNilRegisterUserReqOccupation

func NewOptNilRegisterUserReqOccupation(v RegisterUserReqOccupation) OptNilRegisterUserReqOccupation

NewOptNilRegisterUserReqOccupation returns new OptNilRegisterUserReqOccupation with value set to v.

func (OptNilRegisterUserReqOccupation) Get

Get returns value and boolean that denotes whether value was set.

func (OptNilRegisterUserReqOccupation) IsNull

IsSet returns true if value is Null.

func (OptNilRegisterUserReqOccupation) IsSet

IsSet returns true if OptNilRegisterUserReqOccupation was set.

func (OptNilRegisterUserReqOccupation) Or

Or returns value if set, or given parameter if does not.

func (*OptNilRegisterUserReqOccupation) Reset

Reset unsets value.

func (*OptNilRegisterUserReqOccupation) SetTo

SetTo sets value to v.

func (*OptNilRegisterUserReqOccupation) SetToNull

func (o *OptNilRegisterUserReqOccupation) SetToNull()

SetNull sets value to null.

type OptNilSessionsHistoryStatus

type OptNilSessionsHistoryStatus struct {
	Value SessionsHistoryStatus
	Set   bool
	Null  bool
}

OptNilSessionsHistoryStatus is optional nullable SessionsHistoryStatus.

func NewOptNilSessionsHistoryStatus

func NewOptNilSessionsHistoryStatus(v SessionsHistoryStatus) OptNilSessionsHistoryStatus

NewOptNilSessionsHistoryStatus returns new OptNilSessionsHistoryStatus with value set to v.

func (OptNilSessionsHistoryStatus) Get

Get returns value and boolean that denotes whether value was set.

func (OptNilSessionsHistoryStatus) IsNull

func (o OptNilSessionsHistoryStatus) IsNull() bool

IsSet returns true if value is Null.

func (OptNilSessionsHistoryStatus) IsSet

IsSet returns true if OptNilSessionsHistoryStatus was set.

func (OptNilSessionsHistoryStatus) Or

Or returns value if set, or given parameter if does not.

func (*OptNilSessionsHistoryStatus) Reset

func (o *OptNilSessionsHistoryStatus) Reset()

Reset unsets value.

func (*OptNilSessionsHistoryStatus) SetTo

SetTo sets value to v.

func (*OptNilSessionsHistoryStatus) SetToNull

func (o *OptNilSessionsHistoryStatus) SetToNull()

SetNull sets value to null.

type OptNilString

type OptNilString struct {
	Value string
	Set   bool
	Null  bool
}

OptNilString is optional nullable string.

func NewOptNilString

func NewOptNilString(v string) OptNilString

NewOptNilString returns new OptNilString with value set to v.

func (*OptNilString) Decode

func (o *OptNilString) Decode(d *jx.Decoder) error

Decode decodes string from json.

func (OptNilString) Encode

func (o OptNilString) Encode(e *jx.Encoder)

Encode encodes string as json.

func (OptNilString) Get

func (o OptNilString) Get() (v string, ok bool)

Get returns value and boolean that denotes whether value was set.

func (OptNilString) IsNull

func (o OptNilString) IsNull() bool

IsSet returns true if value is Null.

func (OptNilString) IsSet

func (o OptNilString) IsSet() bool

IsSet returns true if OptNilString was set.

func (OptNilString) MarshalJSON

func (s OptNilString) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (OptNilString) Or

func (o OptNilString) Or(d string) string

Or returns value if set, or given parameter if does not.

func (*OptNilString) Reset

func (o *OptNilString) Reset()

Reset unsets value.

func (*OptNilString) SetTo

func (o *OptNilString) SetTo(v string)

SetTo sets value to v.

func (*OptNilString) SetToNull

func (o *OptNilString) SetToNull()

SetNull sets value to null.

func (*OptNilString) UnmarshalJSON

func (s *OptNilString) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type OptOpinionComments2OKParentOpinionsItemOpinionVoteType

type OptOpinionComments2OKParentOpinionsItemOpinionVoteType struct {
	Value OpinionComments2OKParentOpinionsItemOpinionVoteType
	Set   bool
}

OptOpinionComments2OKParentOpinionsItemOpinionVoteType is optional OpinionComments2OKParentOpinionsItemOpinionVoteType.

func NewOptOpinionComments2OKParentOpinionsItemOpinionVoteType

NewOptOpinionComments2OKParentOpinionsItemOpinionVoteType returns new OptOpinionComments2OKParentOpinionsItemOpinionVoteType with value set to v.

func (*OptOpinionComments2OKParentOpinionsItemOpinionVoteType) Decode

Decode decodes OpinionComments2OKParentOpinionsItemOpinionVoteType from json.

func (OptOpinionComments2OKParentOpinionsItemOpinionVoteType) Encode

Encode encodes OpinionComments2OKParentOpinionsItemOpinionVoteType as json.

func (OptOpinionComments2OKParentOpinionsItemOpinionVoteType) Get

Get returns value and boolean that denotes whether value was set.

func (OptOpinionComments2OKParentOpinionsItemOpinionVoteType) IsSet

IsSet returns true if OptOpinionComments2OKParentOpinionsItemOpinionVoteType was set.

func (OptOpinionComments2OKParentOpinionsItemOpinionVoteType) MarshalJSON

MarshalJSON implements stdjson.Marshaler.

func (OptOpinionComments2OKParentOpinionsItemOpinionVoteType) Or

Or returns value if set, or given parameter if does not.

func (*OptOpinionComments2OKParentOpinionsItemOpinionVoteType) Reset

Reset unsets value.

func (*OptOpinionComments2OKParentOpinionsItemOpinionVoteType) SetTo

SetTo sets value to v.

func (*OptOpinionComments2OKParentOpinionsItemOpinionVoteType) UnmarshalJSON

UnmarshalJSON implements stdjson.Unmarshaler.

type OptOpinionComments2OKReplyOpinionsItemMyVoteType

type OptOpinionComments2OKReplyOpinionsItemMyVoteType struct {
	Value OpinionComments2OKReplyOpinionsItemMyVoteType
	Set   bool
}

OptOpinionComments2OKReplyOpinionsItemMyVoteType is optional OpinionComments2OKReplyOpinionsItemMyVoteType.

func NewOptOpinionComments2OKReplyOpinionsItemMyVoteType

func NewOptOpinionComments2OKReplyOpinionsItemMyVoteType(v OpinionComments2OKReplyOpinionsItemMyVoteType) OptOpinionComments2OKReplyOpinionsItemMyVoteType

NewOptOpinionComments2OKReplyOpinionsItemMyVoteType returns new OptOpinionComments2OKReplyOpinionsItemMyVoteType with value set to v.

func (*OptOpinionComments2OKReplyOpinionsItemMyVoteType) Decode

Decode decodes OpinionComments2OKReplyOpinionsItemMyVoteType from json.

func (OptOpinionComments2OKReplyOpinionsItemMyVoteType) Encode

Encode encodes OpinionComments2OKReplyOpinionsItemMyVoteType as json.

func (OptOpinionComments2OKReplyOpinionsItemMyVoteType) Get

Get returns value and boolean that denotes whether value was set.

func (OptOpinionComments2OKReplyOpinionsItemMyVoteType) IsSet

IsSet returns true if OptOpinionComments2OKReplyOpinionsItemMyVoteType was set.

func (OptOpinionComments2OKReplyOpinionsItemMyVoteType) MarshalJSON

MarshalJSON implements stdjson.Marshaler.

func (OptOpinionComments2OKReplyOpinionsItemMyVoteType) Or

Or returns value if set, or given parameter if does not.

func (*OptOpinionComments2OKReplyOpinionsItemMyVoteType) Reset

Reset unsets value.

func (*OptOpinionComments2OKReplyOpinionsItemMyVoteType) SetTo

SetTo sets value to v.

func (*OptOpinionComments2OKReplyOpinionsItemMyVoteType) UnmarshalJSON

UnmarshalJSON implements stdjson.Unmarshaler.

type OptOpinionComments2OKReplyOpinionsItemOpinionVoteType

type OptOpinionComments2OKReplyOpinionsItemOpinionVoteType struct {
	Value OpinionComments2OKReplyOpinionsItemOpinionVoteType
	Set   bool
}

OptOpinionComments2OKReplyOpinionsItemOpinionVoteType is optional OpinionComments2OKReplyOpinionsItemOpinionVoteType.

func NewOptOpinionComments2OKReplyOpinionsItemOpinionVoteType

NewOptOpinionComments2OKReplyOpinionsItemOpinionVoteType returns new OptOpinionComments2OKReplyOpinionsItemOpinionVoteType with value set to v.

func (*OptOpinionComments2OKReplyOpinionsItemOpinionVoteType) Decode

Decode decodes OpinionComments2OKReplyOpinionsItemOpinionVoteType from json.

func (OptOpinionComments2OKReplyOpinionsItemOpinionVoteType) Encode

Encode encodes OpinionComments2OKReplyOpinionsItemOpinionVoteType as json.

func (OptOpinionComments2OKReplyOpinionsItemOpinionVoteType) Get

Get returns value and boolean that denotes whether value was set.

func (OptOpinionComments2OKReplyOpinionsItemOpinionVoteType) IsSet

IsSet returns true if OptOpinionComments2OKReplyOpinionsItemOpinionVoteType was set.

func (OptOpinionComments2OKReplyOpinionsItemOpinionVoteType) MarshalJSON

MarshalJSON implements stdjson.Marshaler.

func (OptOpinionComments2OKReplyOpinionsItemOpinionVoteType) Or

Or returns value if set, or given parameter if does not.

func (*OptOpinionComments2OKReplyOpinionsItemOpinionVoteType) Reset

Reset unsets value.

func (*OptOpinionComments2OKReplyOpinionsItemOpinionVoteType) SetTo

SetTo sets value to v.

func (*OptOpinionComments2OKReplyOpinionsItemOpinionVoteType) UnmarshalJSON

UnmarshalJSON implements stdjson.Unmarshaler.

type OptOpinionComments2OKRootOpinionOpinionVoteType

type OptOpinionComments2OKRootOpinionOpinionVoteType struct {
	Value OpinionComments2OKRootOpinionOpinionVoteType
	Set   bool
}

OptOpinionComments2OKRootOpinionOpinionVoteType is optional OpinionComments2OKRootOpinionOpinionVoteType.

func NewOptOpinionComments2OKRootOpinionOpinionVoteType

func NewOptOpinionComments2OKRootOpinionOpinionVoteType(v OpinionComments2OKRootOpinionOpinionVoteType) OptOpinionComments2OKRootOpinionOpinionVoteType

NewOptOpinionComments2OKRootOpinionOpinionVoteType returns new OptOpinionComments2OKRootOpinionOpinionVoteType with value set to v.

func (*OptOpinionComments2OKRootOpinionOpinionVoteType) Decode

Decode decodes OpinionComments2OKRootOpinionOpinionVoteType from json.

func (OptOpinionComments2OKRootOpinionOpinionVoteType) Encode

Encode encodes OpinionComments2OKRootOpinionOpinionVoteType as json.

func (OptOpinionComments2OKRootOpinionOpinionVoteType) Get

Get returns value and boolean that denotes whether value was set.

func (OptOpinionComments2OKRootOpinionOpinionVoteType) IsSet

IsSet returns true if OptOpinionComments2OKRootOpinionOpinionVoteType was set.

func (OptOpinionComments2OKRootOpinionOpinionVoteType) MarshalJSON

MarshalJSON implements stdjson.Marshaler.

func (OptOpinionComments2OKRootOpinionOpinionVoteType) Or

Or returns value if set, or given parameter if does not.

func (*OptOpinionComments2OKRootOpinionOpinionVoteType) Reset

Reset unsets value.

func (*OptOpinionComments2OKRootOpinionOpinionVoteType) SetTo

SetTo sets value to v.

func (*OptOpinionComments2OKRootOpinionOpinionVoteType) UnmarshalJSON

UnmarshalJSON implements stdjson.Unmarshaler.

type OptOpinionCommentsOKOpinionsItemMyVoteType

type OptOpinionCommentsOKOpinionsItemMyVoteType struct {
	Value OpinionCommentsOKOpinionsItemMyVoteType
	Set   bool
}

OptOpinionCommentsOKOpinionsItemMyVoteType is optional OpinionCommentsOKOpinionsItemMyVoteType.

func NewOptOpinionCommentsOKOpinionsItemMyVoteType

func NewOptOpinionCommentsOKOpinionsItemMyVoteType(v OpinionCommentsOKOpinionsItemMyVoteType) OptOpinionCommentsOKOpinionsItemMyVoteType

NewOptOpinionCommentsOKOpinionsItemMyVoteType returns new OptOpinionCommentsOKOpinionsItemMyVoteType with value set to v.

func (*OptOpinionCommentsOKOpinionsItemMyVoteType) Decode

Decode decodes OpinionCommentsOKOpinionsItemMyVoteType from json.

func (OptOpinionCommentsOKOpinionsItemMyVoteType) Encode

Encode encodes OpinionCommentsOKOpinionsItemMyVoteType as json.

func (OptOpinionCommentsOKOpinionsItemMyVoteType) Get

Get returns value and boolean that denotes whether value was set.

func (OptOpinionCommentsOKOpinionsItemMyVoteType) IsSet

IsSet returns true if OptOpinionCommentsOKOpinionsItemMyVoteType was set.

func (OptOpinionCommentsOKOpinionsItemMyVoteType) MarshalJSON

MarshalJSON implements stdjson.Marshaler.

func (OptOpinionCommentsOKOpinionsItemMyVoteType) Or

Or returns value if set, or given parameter if does not.

func (*OptOpinionCommentsOKOpinionsItemMyVoteType) Reset

Reset unsets value.

func (*OptOpinionCommentsOKOpinionsItemMyVoteType) SetTo

SetTo sets value to v.

func (*OptOpinionCommentsOKOpinionsItemMyVoteType) UnmarshalJSON

func (s *OptOpinionCommentsOKOpinionsItemMyVoteType) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type OptOpinionCommentsOKOpinionsItemOpinionVoteType

type OptOpinionCommentsOKOpinionsItemOpinionVoteType struct {
	Value OpinionCommentsOKOpinionsItemOpinionVoteType
	Set   bool
}

OptOpinionCommentsOKOpinionsItemOpinionVoteType is optional OpinionCommentsOKOpinionsItemOpinionVoteType.

func NewOptOpinionCommentsOKOpinionsItemOpinionVoteType

func NewOptOpinionCommentsOKOpinionsItemOpinionVoteType(v OpinionCommentsOKOpinionsItemOpinionVoteType) OptOpinionCommentsOKOpinionsItemOpinionVoteType

NewOptOpinionCommentsOKOpinionsItemOpinionVoteType returns new OptOpinionCommentsOKOpinionsItemOpinionVoteType with value set to v.

func (*OptOpinionCommentsOKOpinionsItemOpinionVoteType) Decode

Decode decodes OpinionCommentsOKOpinionsItemOpinionVoteType from json.

func (OptOpinionCommentsOKOpinionsItemOpinionVoteType) Encode

Encode encodes OpinionCommentsOKOpinionsItemOpinionVoteType as json.

func (OptOpinionCommentsOKOpinionsItemOpinionVoteType) Get

Get returns value and boolean that denotes whether value was set.

func (OptOpinionCommentsOKOpinionsItemOpinionVoteType) IsSet

IsSet returns true if OptOpinionCommentsOKOpinionsItemOpinionVoteType was set.

func (OptOpinionCommentsOKOpinionsItemOpinionVoteType) MarshalJSON

MarshalJSON implements stdjson.Marshaler.

func (OptOpinionCommentsOKOpinionsItemOpinionVoteType) Or

Or returns value if set, or given parameter if does not.

func (*OptOpinionCommentsOKOpinionsItemOpinionVoteType) Reset

Reset unsets value.

func (*OptOpinionCommentsOKOpinionsItemOpinionVoteType) SetTo

SetTo sets value to v.

func (*OptOpinionCommentsOKOpinionsItemOpinionVoteType) UnmarshalJSON

UnmarshalJSON implements stdjson.Unmarshaler.

type OptOpinionCommentsOKRootOpinionMyVoteType

type OptOpinionCommentsOKRootOpinionMyVoteType struct {
	Value OpinionCommentsOKRootOpinionMyVoteType
	Set   bool
}

OptOpinionCommentsOKRootOpinionMyVoteType is optional OpinionCommentsOKRootOpinionMyVoteType.

func NewOptOpinionCommentsOKRootOpinionMyVoteType

func NewOptOpinionCommentsOKRootOpinionMyVoteType(v OpinionCommentsOKRootOpinionMyVoteType) OptOpinionCommentsOKRootOpinionMyVoteType

NewOptOpinionCommentsOKRootOpinionMyVoteType returns new OptOpinionCommentsOKRootOpinionMyVoteType with value set to v.

func (*OptOpinionCommentsOKRootOpinionMyVoteType) Decode

Decode decodes OpinionCommentsOKRootOpinionMyVoteType from json.

func (OptOpinionCommentsOKRootOpinionMyVoteType) Encode

Encode encodes OpinionCommentsOKRootOpinionMyVoteType as json.

func (OptOpinionCommentsOKRootOpinionMyVoteType) Get

Get returns value and boolean that denotes whether value was set.

func (OptOpinionCommentsOKRootOpinionMyVoteType) IsSet

IsSet returns true if OptOpinionCommentsOKRootOpinionMyVoteType was set.

func (OptOpinionCommentsOKRootOpinionMyVoteType) MarshalJSON

MarshalJSON implements stdjson.Marshaler.

func (OptOpinionCommentsOKRootOpinionMyVoteType) Or

Or returns value if set, or given parameter if does not.

func (*OptOpinionCommentsOKRootOpinionMyVoteType) Reset

Reset unsets value.

func (*OptOpinionCommentsOKRootOpinionMyVoteType) SetTo

SetTo sets value to v.

func (*OptOpinionCommentsOKRootOpinionMyVoteType) UnmarshalJSON

func (s *OptOpinionCommentsOKRootOpinionMyVoteType) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type OptOpinionCommentsOKRootOpinionOpinionVoteType

type OptOpinionCommentsOKRootOpinionOpinionVoteType struct {
	Value OpinionCommentsOKRootOpinionOpinionVoteType
	Set   bool
}

OptOpinionCommentsOKRootOpinionOpinionVoteType is optional OpinionCommentsOKRootOpinionOpinionVoteType.

func NewOptOpinionCommentsOKRootOpinionOpinionVoteType

func NewOptOpinionCommentsOKRootOpinionOpinionVoteType(v OpinionCommentsOKRootOpinionOpinionVoteType) OptOpinionCommentsOKRootOpinionOpinionVoteType

NewOptOpinionCommentsOKRootOpinionOpinionVoteType returns new OptOpinionCommentsOKRootOpinionOpinionVoteType with value set to v.

func (*OptOpinionCommentsOKRootOpinionOpinionVoteType) Decode

Decode decodes OpinionCommentsOKRootOpinionOpinionVoteType from json.

func (OptOpinionCommentsOKRootOpinionOpinionVoteType) Encode

Encode encodes OpinionCommentsOKRootOpinionOpinionVoteType as json.

func (OptOpinionCommentsOKRootOpinionOpinionVoteType) Get

Get returns value and boolean that denotes whether value was set.

func (OptOpinionCommentsOKRootOpinionOpinionVoteType) IsSet

IsSet returns true if OptOpinionCommentsOKRootOpinionOpinionVoteType was set.

func (OptOpinionCommentsOKRootOpinionOpinionVoteType) MarshalJSON

MarshalJSON implements stdjson.Marshaler.

func (OptOpinionCommentsOKRootOpinionOpinionVoteType) Or

Or returns value if set, or given parameter if does not.

func (*OptOpinionCommentsOKRootOpinionOpinionVoteType) Reset

Reset unsets value.

func (*OptOpinionCommentsOKRootOpinionOpinionVoteType) SetTo

SetTo sets value to v.

func (*OptOpinionCommentsOKRootOpinionOpinionVoteType) UnmarshalJSON

UnmarshalJSON implements stdjson.Unmarshaler.

type OptOpinionsHistoryOKOpinionsItemOpinionVoteType

type OptOpinionsHistoryOKOpinionsItemOpinionVoteType struct {
	Value OpinionsHistoryOKOpinionsItemOpinionVoteType
	Set   bool
}

OptOpinionsHistoryOKOpinionsItemOpinionVoteType is optional OpinionsHistoryOKOpinionsItemOpinionVoteType.

func NewOptOpinionsHistoryOKOpinionsItemOpinionVoteType

func NewOptOpinionsHistoryOKOpinionsItemOpinionVoteType(v OpinionsHistoryOKOpinionsItemOpinionVoteType) OptOpinionsHistoryOKOpinionsItemOpinionVoteType

NewOptOpinionsHistoryOKOpinionsItemOpinionVoteType returns new OptOpinionsHistoryOKOpinionsItemOpinionVoteType with value set to v.

func (*OptOpinionsHistoryOKOpinionsItemOpinionVoteType) Decode

Decode decodes OpinionsHistoryOKOpinionsItemOpinionVoteType from json.

func (OptOpinionsHistoryOKOpinionsItemOpinionVoteType) Encode

Encode encodes OpinionsHistoryOKOpinionsItemOpinionVoteType as json.

func (OptOpinionsHistoryOKOpinionsItemOpinionVoteType) Get

Get returns value and boolean that denotes whether value was set.

func (OptOpinionsHistoryOKOpinionsItemOpinionVoteType) IsSet

IsSet returns true if OptOpinionsHistoryOKOpinionsItemOpinionVoteType was set.

func (OptOpinionsHistoryOKOpinionsItemOpinionVoteType) MarshalJSON

MarshalJSON implements stdjson.Marshaler.

func (OptOpinionsHistoryOKOpinionsItemOpinionVoteType) Or

Or returns value if set, or given parameter if does not.

func (*OptOpinionsHistoryOKOpinionsItemOpinionVoteType) Reset

Reset unsets value.

func (*OptOpinionsHistoryOKOpinionsItemOpinionVoteType) SetTo

SetTo sets value to v.

func (*OptOpinionsHistoryOKOpinionsItemOpinionVoteType) UnmarshalJSON

UnmarshalJSON implements stdjson.Unmarshaler.

type OptPostConclusionReq

type OptPostConclusionReq struct {
	Value PostConclusionReq
	Set   bool
}

OptPostConclusionReq is optional PostConclusionReq.

func NewOptPostConclusionReq

func NewOptPostConclusionReq(v PostConclusionReq) OptPostConclusionReq

NewOptPostConclusionReq returns new OptPostConclusionReq with value set to v.

func (OptPostConclusionReq) Get

Get returns value and boolean that denotes whether value was set.

func (OptPostConclusionReq) IsSet

func (o OptPostConclusionReq) IsSet() bool

IsSet returns true if OptPostConclusionReq was set.

func (OptPostConclusionReq) Or

Or returns value if set, or given parameter if does not.

func (*OptPostConclusionReq) Reset

func (o *OptPostConclusionReq) Reset()

Reset unsets value.

func (*OptPostConclusionReq) SetTo

SetTo sets value to v.

type OptPostOpinionPostReq

type OptPostOpinionPostReq struct {
	Value PostOpinionPostReq
	Set   bool
}

OptPostOpinionPostReq is optional PostOpinionPostReq.

func NewOptPostOpinionPostReq

func NewOptPostOpinionPostReq(v PostOpinionPostReq) OptPostOpinionPostReq

NewOptPostOpinionPostReq returns new OptPostOpinionPostReq with value set to v.

func (OptPostOpinionPostReq) Get

Get returns value and boolean that denotes whether value was set.

func (OptPostOpinionPostReq) IsSet

func (o OptPostOpinionPostReq) IsSet() bool

IsSet returns true if OptPostOpinionPostReq was set.

func (OptPostOpinionPostReq) Or

Or returns value if set, or given parameter if does not.

func (*OptPostOpinionPostReq) Reset

func (o *OptPostOpinionPostReq) Reset()

Reset unsets value.

func (*OptPostOpinionPostReq) SetTo

SetTo sets value to v.

type OptPostTimeLineItemReq

type OptPostTimeLineItemReq struct {
	Value PostTimeLineItemReq
	Set   bool
}

OptPostTimeLineItemReq is optional PostTimeLineItemReq.

func NewOptPostTimeLineItemReq

func NewOptPostTimeLineItemReq(v PostTimeLineItemReq) OptPostTimeLineItemReq

NewOptPostTimeLineItemReq returns new OptPostTimeLineItemReq with value set to v.

func (OptPostTimeLineItemReq) Get

Get returns value and boolean that denotes whether value was set.

func (OptPostTimeLineItemReq) IsSet

func (o OptPostTimeLineItemReq) IsSet() bool

IsSet returns true if OptPostTimeLineItemReq was set.

func (OptPostTimeLineItemReq) Or

Or returns value if set, or given parameter if does not.

func (*OptPostTimeLineItemReq) Reset

func (o *OptPostTimeLineItemReq) Reset()

Reset unsets value.

func (*OptPostTimeLineItemReq) SetTo

SetTo sets value to v.

type OptRegisterUserReq

type OptRegisterUserReq struct {
	Value RegisterUserReq
	Set   bool
}

OptRegisterUserReq is optional RegisterUserReq.

func NewOptRegisterUserReq

func NewOptRegisterUserReq(v RegisterUserReq) OptRegisterUserReq

NewOptRegisterUserReq returns new OptRegisterUserReq with value set to v.

func (OptRegisterUserReq) Get

func (o OptRegisterUserReq) Get() (v RegisterUserReq, ok bool)

Get returns value and boolean that denotes whether value was set.

func (OptRegisterUserReq) IsSet

func (o OptRegisterUserReq) IsSet() bool

IsSet returns true if OptRegisterUserReq was set.

func (OptRegisterUserReq) Or

Or returns value if set, or given parameter if does not.

func (*OptRegisterUserReq) Reset

func (o *OptRegisterUserReq) Reset()

Reset unsets value.

func (*OptRegisterUserReq) SetTo

func (o *OptRegisterUserReq) SetTo(v RegisterUserReq)

SetTo sets value to v.

type OptSessionsHistoryOKTalkSessionsItemTalkSessionLocation

type OptSessionsHistoryOKTalkSessionsItemTalkSessionLocation struct {
	Value SessionsHistoryOKTalkSessionsItemTalkSessionLocation
	Set   bool
}

OptSessionsHistoryOKTalkSessionsItemTalkSessionLocation is optional SessionsHistoryOKTalkSessionsItemTalkSessionLocation.

func NewOptSessionsHistoryOKTalkSessionsItemTalkSessionLocation

NewOptSessionsHistoryOKTalkSessionsItemTalkSessionLocation returns new OptSessionsHistoryOKTalkSessionsItemTalkSessionLocation with value set to v.

func (*OptSessionsHistoryOKTalkSessionsItemTalkSessionLocation) Decode

Decode decodes SessionsHistoryOKTalkSessionsItemTalkSessionLocation from json.

func (OptSessionsHistoryOKTalkSessionsItemTalkSessionLocation) Encode

Encode encodes SessionsHistoryOKTalkSessionsItemTalkSessionLocation as json.

func (OptSessionsHistoryOKTalkSessionsItemTalkSessionLocation) Get

Get returns value and boolean that denotes whether value was set.

func (OptSessionsHistoryOKTalkSessionsItemTalkSessionLocation) IsSet

IsSet returns true if OptSessionsHistoryOKTalkSessionsItemTalkSessionLocation was set.

func (OptSessionsHistoryOKTalkSessionsItemTalkSessionLocation) MarshalJSON

MarshalJSON implements stdjson.Marshaler.

func (OptSessionsHistoryOKTalkSessionsItemTalkSessionLocation) Or

Or returns value if set, or given parameter if does not.

func (*OptSessionsHistoryOKTalkSessionsItemTalkSessionLocation) Reset

Reset unsets value.

func (*OptSessionsHistoryOKTalkSessionsItemTalkSessionLocation) SetTo

SetTo sets value to v.

func (*OptSessionsHistoryOKTalkSessionsItemTalkSessionLocation) UnmarshalJSON

UnmarshalJSON implements stdjson.Unmarshaler.

type OptString

type OptString struct {
	Value string
	Set   bool
}

OptString is optional string.

func NewOptString

func NewOptString(v string) OptString

NewOptString returns new OptString with value set to v.

func (*OptString) Decode

func (o *OptString) Decode(d *jx.Decoder) error

Decode decodes string from json.

func (OptString) Encode

func (o OptString) Encode(e *jx.Encoder)

Encode encodes string as json.

func (OptString) Get

func (o OptString) Get() (v string, ok bool)

Get returns value and boolean that denotes whether value was set.

func (OptString) IsSet

func (o OptString) IsSet() bool

IsSet returns true if OptString was set.

func (OptString) MarshalJSON

func (s OptString) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (OptString) Or

func (o OptString) Or(d string) string

Or returns value if set, or given parameter if does not.

func (*OptString) Reset

func (o *OptString) Reset()

Reset unsets value.

func (*OptString) SetTo

func (o *OptString) SetTo(v string)

SetTo sets value to v.

func (*OptString) UnmarshalJSON

func (s *OptString) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type OptSwipeOpinionsOKItemOpinionVoteType

type OptSwipeOpinionsOKItemOpinionVoteType struct {
	Value SwipeOpinionsOKItemOpinionVoteType
	Set   bool
}

OptSwipeOpinionsOKItemOpinionVoteType is optional SwipeOpinionsOKItemOpinionVoteType.

func NewOptSwipeOpinionsOKItemOpinionVoteType

func NewOptSwipeOpinionsOKItemOpinionVoteType(v SwipeOpinionsOKItemOpinionVoteType) OptSwipeOpinionsOKItemOpinionVoteType

NewOptSwipeOpinionsOKItemOpinionVoteType returns new OptSwipeOpinionsOKItemOpinionVoteType with value set to v.

func (*OptSwipeOpinionsOKItemOpinionVoteType) Decode

Decode decodes SwipeOpinionsOKItemOpinionVoteType from json.

func (OptSwipeOpinionsOKItemOpinionVoteType) Encode

Encode encodes SwipeOpinionsOKItemOpinionVoteType as json.

func (OptSwipeOpinionsOKItemOpinionVoteType) Get

Get returns value and boolean that denotes whether value was set.

func (OptSwipeOpinionsOKItemOpinionVoteType) IsSet

IsSet returns true if OptSwipeOpinionsOKItemOpinionVoteType was set.

func (OptSwipeOpinionsOKItemOpinionVoteType) MarshalJSON

func (s OptSwipeOpinionsOKItemOpinionVoteType) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (OptSwipeOpinionsOKItemOpinionVoteType) Or

Or returns value if set, or given parameter if does not.

func (*OptSwipeOpinionsOKItemOpinionVoteType) Reset

Reset unsets value.

func (*OptSwipeOpinionsOKItemOpinionVoteType) SetTo

SetTo sets value to v.

func (*OptSwipeOpinionsOKItemOpinionVoteType) UnmarshalJSON

func (s *OptSwipeOpinionsOKItemOpinionVoteType) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type OptTalkSessionAnalysisOKGroupOpinionsItemOpinionsItemOpinionVoteType

type OptTalkSessionAnalysisOKGroupOpinionsItemOpinionsItemOpinionVoteType struct {
	Value TalkSessionAnalysisOKGroupOpinionsItemOpinionsItemOpinionVoteType
	Set   bool
}

OptTalkSessionAnalysisOKGroupOpinionsItemOpinionsItemOpinionVoteType is optional TalkSessionAnalysisOKGroupOpinionsItemOpinionsItemOpinionVoteType.

func NewOptTalkSessionAnalysisOKGroupOpinionsItemOpinionsItemOpinionVoteType

NewOptTalkSessionAnalysisOKGroupOpinionsItemOpinionsItemOpinionVoteType returns new OptTalkSessionAnalysisOKGroupOpinionsItemOpinionsItemOpinionVoteType with value set to v.

func (*OptTalkSessionAnalysisOKGroupOpinionsItemOpinionsItemOpinionVoteType) Decode

Decode decodes TalkSessionAnalysisOKGroupOpinionsItemOpinionsItemOpinionVoteType from json.

func (OptTalkSessionAnalysisOKGroupOpinionsItemOpinionsItemOpinionVoteType) Encode

Encode encodes TalkSessionAnalysisOKGroupOpinionsItemOpinionsItemOpinionVoteType as json.

func (OptTalkSessionAnalysisOKGroupOpinionsItemOpinionsItemOpinionVoteType) Get

Get returns value and boolean that denotes whether value was set.

func (OptTalkSessionAnalysisOKGroupOpinionsItemOpinionsItemOpinionVoteType) IsSet

IsSet returns true if OptTalkSessionAnalysisOKGroupOpinionsItemOpinionsItemOpinionVoteType was set.

func (OptTalkSessionAnalysisOKGroupOpinionsItemOpinionsItemOpinionVoteType) MarshalJSON

MarshalJSON implements stdjson.Marshaler.

func (OptTalkSessionAnalysisOKGroupOpinionsItemOpinionsItemOpinionVoteType) Or

Or returns value if set, or given parameter if does not.

func (*OptTalkSessionAnalysisOKGroupOpinionsItemOpinionsItemOpinionVoteType) Reset

Reset unsets value.

func (*OptTalkSessionAnalysisOKGroupOpinionsItemOpinionsItemOpinionVoteType) SetTo

SetTo sets value to v.

func (*OptTalkSessionAnalysisOKGroupOpinionsItemOpinionsItemOpinionVoteType) UnmarshalJSON

UnmarshalJSON implements stdjson.Unmarshaler.

type OptTalkSessionAnalysisOKMyPosition

type OptTalkSessionAnalysisOKMyPosition struct {
	Value TalkSessionAnalysisOKMyPosition
	Set   bool
}

OptTalkSessionAnalysisOKMyPosition is optional TalkSessionAnalysisOKMyPosition.

func NewOptTalkSessionAnalysisOKMyPosition

func NewOptTalkSessionAnalysisOKMyPosition(v TalkSessionAnalysisOKMyPosition) OptTalkSessionAnalysisOKMyPosition

NewOptTalkSessionAnalysisOKMyPosition returns new OptTalkSessionAnalysisOKMyPosition with value set to v.

func (*OptTalkSessionAnalysisOKMyPosition) Decode

Decode decodes TalkSessionAnalysisOKMyPosition from json.

func (OptTalkSessionAnalysisOKMyPosition) Encode

Encode encodes TalkSessionAnalysisOKMyPosition as json.

func (OptTalkSessionAnalysisOKMyPosition) Get

Get returns value and boolean that denotes whether value was set.

func (OptTalkSessionAnalysisOKMyPosition) IsSet

IsSet returns true if OptTalkSessionAnalysisOKMyPosition was set.

func (OptTalkSessionAnalysisOKMyPosition) MarshalJSON

func (s OptTalkSessionAnalysisOKMyPosition) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (OptTalkSessionAnalysisOKMyPosition) Or

Or returns value if set, or given parameter if does not.

func (*OptTalkSessionAnalysisOKMyPosition) Reset

Reset unsets value.

func (*OptTalkSessionAnalysisOKMyPosition) SetTo

SetTo sets value to v.

func (*OptTalkSessionAnalysisOKMyPosition) UnmarshalJSON

func (s *OptTalkSessionAnalysisOKMyPosition) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type OptURI

type OptURI struct {
	Value url.URL
	Set   bool
}

OptURI is optional url.URL.

func NewOptURI

func NewOptURI(v url.URL) OptURI

NewOptURI returns new OptURI with value set to v.

func (*OptURI) Decode

func (o *OptURI) Decode(d *jx.Decoder) error

Decode decodes url.URL from json.

func (OptURI) Encode

func (o OptURI) Encode(e *jx.Encoder)

Encode encodes url.URL as json.

func (OptURI) Get

func (o OptURI) Get() (v url.URL, ok bool)

Get returns value and boolean that denotes whether value was set.

func (OptURI) IsSet

func (o OptURI) IsSet() bool

IsSet returns true if OptURI was set.

func (OptURI) MarshalJSON

func (s OptURI) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (OptURI) Or

func (o OptURI) Or(d url.URL) url.URL

Or returns value if set, or given parameter if does not.

func (*OptURI) Reset

func (o *OptURI) Reset()

Reset unsets value.

func (*OptURI) SetTo

func (o *OptURI) SetTo(v url.URL)

SetTo sets value to v.

func (*OptURI) UnmarshalJSON

func (s *OptURI) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type OptVoteOKItemVoteType

type OptVoteOKItemVoteType struct {
	Value VoteOKItemVoteType
	Set   bool
}

OptVoteOKItemVoteType is optional VoteOKItemVoteType.

func NewOptVoteOKItemVoteType

func NewOptVoteOKItemVoteType(v VoteOKItemVoteType) OptVoteOKItemVoteType

NewOptVoteOKItemVoteType returns new OptVoteOKItemVoteType with value set to v.

func (*OptVoteOKItemVoteType) Decode

func (o *OptVoteOKItemVoteType) Decode(d *jx.Decoder) error

Decode decodes VoteOKItemVoteType from json.

func (OptVoteOKItemVoteType) Encode

func (o OptVoteOKItemVoteType) Encode(e *jx.Encoder)

Encode encodes VoteOKItemVoteType as json.

func (OptVoteOKItemVoteType) Get

Get returns value and boolean that denotes whether value was set.

func (OptVoteOKItemVoteType) IsSet

func (o OptVoteOKItemVoteType) IsSet() bool

IsSet returns true if OptVoteOKItemVoteType was set.

func (OptVoteOKItemVoteType) MarshalJSON

func (s OptVoteOKItemVoteType) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (OptVoteOKItemVoteType) Or

Or returns value if set, or given parameter if does not.

func (*OptVoteOKItemVoteType) Reset

func (o *OptVoteOKItemVoteType) Reset()

Reset unsets value.

func (*OptVoteOKItemVoteType) SetTo

SetTo sets value to v.

func (*OptVoteOKItemVoteType) UnmarshalJSON

func (s *OptVoteOKItemVoteType) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type OptVoteReq

type OptVoteReq struct {
	Value VoteReq
	Set   bool
}

OptVoteReq is optional VoteReq.

func NewOptVoteReq

func NewOptVoteReq(v VoteReq) OptVoteReq

NewOptVoteReq returns new OptVoteReq with value set to v.

func (OptVoteReq) Get

func (o OptVoteReq) Get() (v VoteReq, ok bool)

Get returns value and boolean that denotes whether value was set.

func (OptVoteReq) IsSet

func (o OptVoteReq) IsSet() bool

IsSet returns true if OptVoteReq was set.

func (OptVoteReq) Or

func (o OptVoteReq) Or(d VoteReq) VoteReq

Or returns value if set, or given parameter if does not.

func (*OptVoteReq) Reset

func (o *OptVoteReq) Reset()

Reset unsets value.

func (*OptVoteReq) SetTo

func (o *OptVoteReq) SetTo(v VoteReq)

SetTo sets value to v.

type Option

type Option interface {
	ServerOption
}

Option is config option.

func WithMeterProvider

func WithMeterProvider(provider metric.MeterProvider) Option

WithMeterProvider specifies a meter provider to use for creating a meter.

If none is specified, the otel.GetMeterProvider() is used.

func WithTracerProvider

func WithTracerProvider(provider trace.TracerProvider) Option

WithTracerProvider specifies a tracer provider to use for creating a tracer.

If none is specified, the global provider is used.

type PostConclusionBadRequest

type PostConclusionBadRequest struct{}

func (*PostConclusionBadRequest) Decode

func (s *PostConclusionBadRequest) Decode(d *jx.Decoder) error

Decode decodes PostConclusionBadRequest from json.

func (*PostConclusionBadRequest) Encode

func (s *PostConclusionBadRequest) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*PostConclusionBadRequest) MarshalJSON

func (s *PostConclusionBadRequest) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*PostConclusionBadRequest) UnmarshalJSON

func (s *PostConclusionBadRequest) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type PostConclusionInternalServerError

type PostConclusionInternalServerError struct{}

func (*PostConclusionInternalServerError) Decode

Decode decodes PostConclusionInternalServerError from json.

func (*PostConclusionInternalServerError) Encode

Encode implements json.Marshaler.

func (*PostConclusionInternalServerError) MarshalJSON

func (s *PostConclusionInternalServerError) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*PostConclusionInternalServerError) UnmarshalJSON

func (s *PostConclusionInternalServerError) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type PostConclusionOK

type PostConclusionOK struct {
	// 作成者.
	User PostConclusionOKUser `json:"user"`
	// 結論本文.
	Content string `json:"content"`
}

func (*PostConclusionOK) Decode

func (s *PostConclusionOK) Decode(d *jx.Decoder) error

Decode decodes PostConclusionOK from json.

func (*PostConclusionOK) Encode

func (s *PostConclusionOK) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*PostConclusionOK) GetContent

func (s *PostConclusionOK) GetContent() string

GetContent returns the value of Content.

func (*PostConclusionOK) GetUser

GetUser returns the value of User.

func (*PostConclusionOK) MarshalJSON

func (s *PostConclusionOK) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*PostConclusionOK) SetContent

func (s *PostConclusionOK) SetContent(val string)

SetContent sets the value of Content.

func (*PostConclusionOK) SetUser

func (s *PostConclusionOK) SetUser(val PostConclusionOKUser)

SetUser sets the value of User.

func (*PostConclusionOK) UnmarshalJSON

func (s *PostConclusionOK) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*PostConclusionOK) Validate

func (s *PostConclusionOK) Validate() error

type PostConclusionOKUser

type PostConclusionOKUser struct {
	DisplayID   string       `json:"displayID"`
	DisplayName string       `json:"displayName"`
	IconURL     OptNilString `json:"iconURL"`
}

作成者.

func (*PostConclusionOKUser) Decode

func (s *PostConclusionOKUser) Decode(d *jx.Decoder) error

Decode decodes PostConclusionOKUser from json.

func (*PostConclusionOKUser) Encode

func (s *PostConclusionOKUser) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*PostConclusionOKUser) GetDisplayID

func (s *PostConclusionOKUser) GetDisplayID() string

GetDisplayID returns the value of DisplayID.

func (*PostConclusionOKUser) GetDisplayName

func (s *PostConclusionOKUser) GetDisplayName() string

GetDisplayName returns the value of DisplayName.

func (*PostConclusionOKUser) GetIconURL

func (s *PostConclusionOKUser) GetIconURL() OptNilString

GetIconURL returns the value of IconURL.

func (*PostConclusionOKUser) MarshalJSON

func (s *PostConclusionOKUser) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*PostConclusionOKUser) SetDisplayID

func (s *PostConclusionOKUser) SetDisplayID(val string)

SetDisplayID sets the value of DisplayID.

func (*PostConclusionOKUser) SetDisplayName

func (s *PostConclusionOKUser) SetDisplayName(val string)

SetDisplayName sets the value of DisplayName.

func (*PostConclusionOKUser) SetIconURL

func (s *PostConclusionOKUser) SetIconURL(val OptNilString)

SetIconURL sets the value of IconURL.

func (*PostConclusionOKUser) UnmarshalJSON

func (s *PostConclusionOKUser) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*PostConclusionOKUser) Validate

func (s *PostConclusionOKUser) Validate() error

type PostConclusionParams

type PostConclusionParams struct {
	TalkSessionID string
}

PostConclusionParams is parameters of postConclusion operation.

type PostConclusionReq

type PostConclusionReq struct {
	// 結論本文。2文字以上.
	Content string `json:"content"`
}

func (*PostConclusionReq) GetContent

func (s *PostConclusionReq) GetContent() string

GetContent returns the value of Content.

func (*PostConclusionReq) SetContent

func (s *PostConclusionReq) SetContent(val string)

SetContent sets the value of Content.

func (*PostConclusionReq) Validate

func (s *PostConclusionReq) Validate() error

type PostConclusionRes

type PostConclusionRes interface {
	// contains filtered or unexported methods
}

type PostOpinionPostBadRequest

type PostOpinionPostBadRequest struct {
	Code    string `json:"code"`
	Message string `json:"message"`
}

func (*PostOpinionPostBadRequest) Decode

func (s *PostOpinionPostBadRequest) Decode(d *jx.Decoder) error

Decode decodes PostOpinionPostBadRequest from json.

func (*PostOpinionPostBadRequest) Encode

func (s *PostOpinionPostBadRequest) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*PostOpinionPostBadRequest) GetCode

func (s *PostOpinionPostBadRequest) GetCode() string

GetCode returns the value of Code.

func (*PostOpinionPostBadRequest) GetMessage

func (s *PostOpinionPostBadRequest) GetMessage() string

GetMessage returns the value of Message.

func (*PostOpinionPostBadRequest) MarshalJSON

func (s *PostOpinionPostBadRequest) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*PostOpinionPostBadRequest) SetCode

func (s *PostOpinionPostBadRequest) SetCode(val string)

SetCode sets the value of Code.

func (*PostOpinionPostBadRequest) SetMessage

func (s *PostOpinionPostBadRequest) SetMessage(val string)

SetMessage sets the value of Message.

func (*PostOpinionPostBadRequest) UnmarshalJSON

func (s *PostOpinionPostBadRequest) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type PostOpinionPostInternalServerError

type PostOpinionPostInternalServerError struct {
	Code    string `json:"code"`
	Message string `json:"message"`
}

func (*PostOpinionPostInternalServerError) Decode

Decode decodes PostOpinionPostInternalServerError from json.

func (*PostOpinionPostInternalServerError) Encode

Encode implements json.Marshaler.

func (*PostOpinionPostInternalServerError) GetCode

GetCode returns the value of Code.

func (*PostOpinionPostInternalServerError) GetMessage

GetMessage returns the value of Message.

func (*PostOpinionPostInternalServerError) MarshalJSON

func (s *PostOpinionPostInternalServerError) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*PostOpinionPostInternalServerError) SetCode

SetCode sets the value of Code.

func (*PostOpinionPostInternalServerError) SetMessage

func (s *PostOpinionPostInternalServerError) SetMessage(val string)

SetMessage sets the value of Message.

func (*PostOpinionPostInternalServerError) UnmarshalJSON

func (s *PostOpinionPostInternalServerError) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type PostOpinionPostOK

type PostOpinionPostOK struct{}

func (*PostOpinionPostOK) Decode

func (s *PostOpinionPostOK) Decode(d *jx.Decoder) error

Decode decodes PostOpinionPostOK from json.

func (*PostOpinionPostOK) Encode

func (s *PostOpinionPostOK) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*PostOpinionPostOK) MarshalJSON

func (s *PostOpinionPostOK) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*PostOpinionPostOK) UnmarshalJSON

func (s *PostOpinionPostOK) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type PostOpinionPostParams

type PostOpinionPostParams struct {
	TalkSessionID string
}

PostOpinionPostParams is parameters of postOpinionPost operation.

type PostOpinionPostReq

type PostOpinionPostReq struct {
	ParentOpinionID OptNilString `json:"parentOpinionID"`
	Title           OptNilString `json:"title"`
	OpinionContent  string       `json:"opinionContent"`
	ReferenceURL    OptNilString `json:"referenceURL"`
	// 参考画像。4MiBまで.
	Picture OptMultipartFile `json:"picture"`
}

func (*PostOpinionPostReq) GetOpinionContent

func (s *PostOpinionPostReq) GetOpinionContent() string

GetOpinionContent returns the value of OpinionContent.

func (*PostOpinionPostReq) GetParentOpinionID

func (s *PostOpinionPostReq) GetParentOpinionID() OptNilString

GetParentOpinionID returns the value of ParentOpinionID.

func (*PostOpinionPostReq) GetPicture

func (s *PostOpinionPostReq) GetPicture() OptMultipartFile

GetPicture returns the value of Picture.

func (*PostOpinionPostReq) GetReferenceURL

func (s *PostOpinionPostReq) GetReferenceURL() OptNilString

GetReferenceURL returns the value of ReferenceURL.

func (*PostOpinionPostReq) GetTitle

func (s *PostOpinionPostReq) GetTitle() OptNilString

GetTitle returns the value of Title.

func (*PostOpinionPostReq) SetOpinionContent

func (s *PostOpinionPostReq) SetOpinionContent(val string)

SetOpinionContent sets the value of OpinionContent.

func (*PostOpinionPostReq) SetParentOpinionID

func (s *PostOpinionPostReq) SetParentOpinionID(val OptNilString)

SetParentOpinionID sets the value of ParentOpinionID.

func (*PostOpinionPostReq) SetPicture

func (s *PostOpinionPostReq) SetPicture(val OptMultipartFile)

SetPicture sets the value of Picture.

func (*PostOpinionPostReq) SetReferenceURL

func (s *PostOpinionPostReq) SetReferenceURL(val OptNilString)

SetReferenceURL sets the value of ReferenceURL.

func (*PostOpinionPostReq) SetTitle

func (s *PostOpinionPostReq) SetTitle(val OptNilString)

SetTitle sets the value of Title.

func (*PostOpinionPostReq) Validate

func (s *PostOpinionPostReq) Validate() error

type PostOpinionPostRes

type PostOpinionPostRes interface {
	// contains filtered or unexported methods
}

type PostTimeLineItemBadRequest

type PostTimeLineItemBadRequest struct{}

func (*PostTimeLineItemBadRequest) Decode

Decode decodes PostTimeLineItemBadRequest from json.

func (*PostTimeLineItemBadRequest) Encode

func (s *PostTimeLineItemBadRequest) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*PostTimeLineItemBadRequest) MarshalJSON

func (s *PostTimeLineItemBadRequest) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*PostTimeLineItemBadRequest) UnmarshalJSON

func (s *PostTimeLineItemBadRequest) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type PostTimeLineItemInternalServerError

type PostTimeLineItemInternalServerError struct{}

func (*PostTimeLineItemInternalServerError) Decode

Decode decodes PostTimeLineItemInternalServerError from json.

func (*PostTimeLineItemInternalServerError) Encode

Encode implements json.Marshaler.

func (*PostTimeLineItemInternalServerError) MarshalJSON

func (s *PostTimeLineItemInternalServerError) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*PostTimeLineItemInternalServerError) UnmarshalJSON

func (s *PostTimeLineItemInternalServerError) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type PostTimeLineItemOK

type PostTimeLineItemOK struct {
	ActionItemID string `json:"ActionItemID"`
	Sequence     int    `json:"Sequence"`
	Content      string `json:"Content"`
	Status       string `json:"Status"`
	CreatedAt    string `json:"CreatedAt"`
	UpdatedAt    string `json:"UpdatedAt"`
}

func (*PostTimeLineItemOK) Decode

func (s *PostTimeLineItemOK) Decode(d *jx.Decoder) error

Decode decodes PostTimeLineItemOK from json.

func (*PostTimeLineItemOK) Encode

func (s *PostTimeLineItemOK) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*PostTimeLineItemOK) GetActionItemID

func (s *PostTimeLineItemOK) GetActionItemID() string

GetActionItemID returns the value of ActionItemID.

func (*PostTimeLineItemOK) GetContent

func (s *PostTimeLineItemOK) GetContent() string

GetContent returns the value of Content.

func (*PostTimeLineItemOK) GetCreatedAt

func (s *PostTimeLineItemOK) GetCreatedAt() string

GetCreatedAt returns the value of CreatedAt.

func (*PostTimeLineItemOK) GetSequence

func (s *PostTimeLineItemOK) GetSequence() int

GetSequence returns the value of Sequence.

func (*PostTimeLineItemOK) GetStatus

func (s *PostTimeLineItemOK) GetStatus() string

GetStatus returns the value of Status.

func (*PostTimeLineItemOK) GetUpdatedAt

func (s *PostTimeLineItemOK) GetUpdatedAt() string

GetUpdatedAt returns the value of UpdatedAt.

func (*PostTimeLineItemOK) MarshalJSON

func (s *PostTimeLineItemOK) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*PostTimeLineItemOK) SetActionItemID

func (s *PostTimeLineItemOK) SetActionItemID(val string)

SetActionItemID sets the value of ActionItemID.

func (*PostTimeLineItemOK) SetContent

func (s *PostTimeLineItemOK) SetContent(val string)

SetContent sets the value of Content.

func (*PostTimeLineItemOK) SetCreatedAt

func (s *PostTimeLineItemOK) SetCreatedAt(val string)

SetCreatedAt sets the value of CreatedAt.

func (*PostTimeLineItemOK) SetSequence

func (s *PostTimeLineItemOK) SetSequence(val int)

SetSequence sets the value of Sequence.

func (*PostTimeLineItemOK) SetStatus

func (s *PostTimeLineItemOK) SetStatus(val string)

SetStatus sets the value of Status.

func (*PostTimeLineItemOK) SetUpdatedAt

func (s *PostTimeLineItemOK) SetUpdatedAt(val string)

SetUpdatedAt sets the value of UpdatedAt.

func (*PostTimeLineItemOK) UnmarshalJSON

func (s *PostTimeLineItemOK) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type PostTimeLineItemParams

type PostTimeLineItemParams struct {
	TalkSessionID string
}

PostTimeLineItemParams is parameters of postTimeLineItem operation.

type PostTimeLineItemReq

type PostTimeLineItemReq struct {
	Content string `json:"content"`
	Status  string `json:"status"`
	// 親があるなら親のIDヲシテイ.
	ParentActionItemID OptNilString `json:"parentActionItemID"`
}

func (*PostTimeLineItemReq) GetContent

func (s *PostTimeLineItemReq) GetContent() string

GetContent returns the value of Content.

func (*PostTimeLineItemReq) GetParentActionItemID

func (s *PostTimeLineItemReq) GetParentActionItemID() OptNilString

GetParentActionItemID returns the value of ParentActionItemID.

func (*PostTimeLineItemReq) GetStatus

func (s *PostTimeLineItemReq) GetStatus() string

GetStatus returns the value of Status.

func (*PostTimeLineItemReq) SetContent

func (s *PostTimeLineItemReq) SetContent(val string)

SetContent sets the value of Content.

func (*PostTimeLineItemReq) SetParentActionItemID

func (s *PostTimeLineItemReq) SetParentActionItemID(val OptNilString)

SetParentActionItemID sets the value of ParentActionItemID.

func (*PostTimeLineItemReq) SetStatus

func (s *PostTimeLineItemReq) SetStatus(val string)

SetStatus sets the value of Status.

type PostTimeLineItemRes

type PostTimeLineItemRes interface {
	// contains filtered or unexported methods
}

type RegisterUserBadRequest

type RegisterUserBadRequest struct {
	Code    string `json:"code"`
	Message string `json:"message"`
}

func (*RegisterUserBadRequest) Decode

func (s *RegisterUserBadRequest) Decode(d *jx.Decoder) error

Decode decodes RegisterUserBadRequest from json.

func (*RegisterUserBadRequest) Encode

func (s *RegisterUserBadRequest) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*RegisterUserBadRequest) GetCode

func (s *RegisterUserBadRequest) GetCode() string

GetCode returns the value of Code.

func (*RegisterUserBadRequest) GetMessage

func (s *RegisterUserBadRequest) GetMessage() string

GetMessage returns the value of Message.

func (*RegisterUserBadRequest) MarshalJSON

func (s *RegisterUserBadRequest) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*RegisterUserBadRequest) SetCode

func (s *RegisterUserBadRequest) SetCode(val string)

SetCode sets the value of Code.

func (*RegisterUserBadRequest) SetMessage

func (s *RegisterUserBadRequest) SetMessage(val string)

SetMessage sets the value of Message.

func (*RegisterUserBadRequest) UnmarshalJSON

func (s *RegisterUserBadRequest) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type RegisterUserInternalServerError

type RegisterUserInternalServerError struct {
	Code    string `json:"code"`
	Message string `json:"message"`
}

func (*RegisterUserInternalServerError) Decode

Decode decodes RegisterUserInternalServerError from json.

func (*RegisterUserInternalServerError) Encode

Encode implements json.Marshaler.

func (*RegisterUserInternalServerError) GetCode

GetCode returns the value of Code.

func (*RegisterUserInternalServerError) GetMessage

func (s *RegisterUserInternalServerError) GetMessage() string

GetMessage returns the value of Message.

func (*RegisterUserInternalServerError) MarshalJSON

func (s *RegisterUserInternalServerError) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*RegisterUserInternalServerError) SetCode

func (s *RegisterUserInternalServerError) SetCode(val string)

SetCode sets the value of Code.

func (*RegisterUserInternalServerError) SetMessage

func (s *RegisterUserInternalServerError) SetMessage(val string)

SetMessage sets the value of Message.

func (*RegisterUserInternalServerError) UnmarshalJSON

func (s *RegisterUserInternalServerError) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type RegisterUserOK

type RegisterUserOK struct {
	DisplayID   string       `json:"displayID"`
	DisplayName string       `json:"displayName"`
	IconURL     OptNilString `json:"iconURL"`
}

func (*RegisterUserOK) Decode

func (s *RegisterUserOK) Decode(d *jx.Decoder) error

Decode decodes RegisterUserOK from json.

func (*RegisterUserOK) Encode

func (s *RegisterUserOK) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*RegisterUserOK) GetDisplayID

func (s *RegisterUserOK) GetDisplayID() string

GetDisplayID returns the value of DisplayID.

func (*RegisterUserOK) GetDisplayName

func (s *RegisterUserOK) GetDisplayName() string

GetDisplayName returns the value of DisplayName.

func (*RegisterUserOK) GetIconURL

func (s *RegisterUserOK) GetIconURL() OptNilString

GetIconURL returns the value of IconURL.

func (*RegisterUserOK) MarshalJSON

func (s *RegisterUserOK) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*RegisterUserOK) SetDisplayID

func (s *RegisterUserOK) SetDisplayID(val string)

SetDisplayID sets the value of DisplayID.

func (*RegisterUserOK) SetDisplayName

func (s *RegisterUserOK) SetDisplayName(val string)

SetDisplayName sets the value of DisplayName.

func (*RegisterUserOK) SetIconURL

func (s *RegisterUserOK) SetIconURL(val OptNilString)

SetIconURL sets the value of IconURL.

func (*RegisterUserOK) UnmarshalJSON

func (s *RegisterUserOK) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*RegisterUserOK) Validate

func (s *RegisterUserOK) Validate() error

type RegisterUserReq

type RegisterUserReq struct {
	// ユーザー名。日本語なども設定可能。.
	DisplayName string `json:"displayName"`
	// ユーザーID。プロフィールのパスなどで使用される。DBのIDとは別。.
	DisplayID string `json:"displayID"`
	// ユーザーアイコン.
	Icon OptMultipartFile `json:"icon"`
	// 生まれ年.
	YearOfBirth OptNilInt `json:"yearOfBirth"`
	// 性別.
	Gender OptNilRegisterUserReqGender `json:"gender"`
	// 都道府県.
	Prefecture OptString `json:"prefecture"`
	// 市区町村.
	City OptNilString `json:"city"`
	// ユーザーの職業.
	Occupation OptNilRegisterUserReqOccupation `json:"occupation"`
	// 世帯人数.
	HouseholdSize OptNilInt `json:"householdSize"`
}

func (*RegisterUserReq) GetCity

func (s *RegisterUserReq) GetCity() OptNilString

GetCity returns the value of City.

func (*RegisterUserReq) GetDisplayID

func (s *RegisterUserReq) GetDisplayID() string

GetDisplayID returns the value of DisplayID.

func (*RegisterUserReq) GetDisplayName

func (s *RegisterUserReq) GetDisplayName() string

GetDisplayName returns the value of DisplayName.

func (*RegisterUserReq) GetGender

GetGender returns the value of Gender.

func (*RegisterUserReq) GetHouseholdSize

func (s *RegisterUserReq) GetHouseholdSize() OptNilInt

GetHouseholdSize returns the value of HouseholdSize.

func (*RegisterUserReq) GetIcon

func (s *RegisterUserReq) GetIcon() OptMultipartFile

GetIcon returns the value of Icon.

func (*RegisterUserReq) GetOccupation

GetOccupation returns the value of Occupation.

func (*RegisterUserReq) GetPrefecture

func (s *RegisterUserReq) GetPrefecture() OptString

GetPrefecture returns the value of Prefecture.

func (*RegisterUserReq) GetYearOfBirth

func (s *RegisterUserReq) GetYearOfBirth() OptNilInt

GetYearOfBirth returns the value of YearOfBirth.

func (*RegisterUserReq) SetCity

func (s *RegisterUserReq) SetCity(val OptNilString)

SetCity sets the value of City.

func (*RegisterUserReq) SetDisplayID

func (s *RegisterUserReq) SetDisplayID(val string)

SetDisplayID sets the value of DisplayID.

func (*RegisterUserReq) SetDisplayName

func (s *RegisterUserReq) SetDisplayName(val string)

SetDisplayName sets the value of DisplayName.

func (*RegisterUserReq) SetGender

func (s *RegisterUserReq) SetGender(val OptNilRegisterUserReqGender)

SetGender sets the value of Gender.

func (*RegisterUserReq) SetHouseholdSize

func (s *RegisterUserReq) SetHouseholdSize(val OptNilInt)

SetHouseholdSize sets the value of HouseholdSize.

func (*RegisterUserReq) SetIcon

func (s *RegisterUserReq) SetIcon(val OptMultipartFile)

SetIcon sets the value of Icon.

func (*RegisterUserReq) SetOccupation

func (s *RegisterUserReq) SetOccupation(val OptNilRegisterUserReqOccupation)

SetOccupation sets the value of Occupation.

func (*RegisterUserReq) SetPrefecture

func (s *RegisterUserReq) SetPrefecture(val OptString)

SetPrefecture sets the value of Prefecture.

func (*RegisterUserReq) SetYearOfBirth

func (s *RegisterUserReq) SetYearOfBirth(val OptNilInt)

SetYearOfBirth sets the value of YearOfBirth.

func (*RegisterUserReq) Validate

func (s *RegisterUserReq) Validate() error

type RegisterUserReqGender

type RegisterUserReqGender string

性別.

const (
	RegisterUserReqGender_0 RegisterUserReqGender = "男性"
	RegisterUserReqGender_1 RegisterUserReqGender = "女性"
	RegisterUserReqGender_2 RegisterUserReqGender = "その他"
	RegisterUserReqGender_3 RegisterUserReqGender = "回答しない"
)

func (RegisterUserReqGender) AllValues

AllValues returns all RegisterUserReqGender values.

func (RegisterUserReqGender) MarshalText

func (s RegisterUserReqGender) MarshalText() ([]byte, error)

MarshalText implements encoding.TextMarshaler.

func (*RegisterUserReqGender) UnmarshalText

func (s *RegisterUserReqGender) UnmarshalText(data []byte) error

UnmarshalText implements encoding.TextUnmarshaler.

func (RegisterUserReqGender) Validate

func (s RegisterUserReqGender) Validate() error

type RegisterUserReqOccupation

type RegisterUserReqOccupation string

ユーザーの職業.

const (
	RegisterUserReqOccupation_0  RegisterUserReqOccupation = "正社員"
	RegisterUserReqOccupation_1  RegisterUserReqOccupation = "契約社員"
	RegisterUserReqOccupation_2  RegisterUserReqOccupation = "公務員"
	RegisterUserReqOccupation_3  RegisterUserReqOccupation = "自営業"
	RegisterUserReqOccupation_4  RegisterUserReqOccupation = "会社役員"
	RegisterUserReqOccupation_5  RegisterUserReqOccupation = "パート・アルバイト"
	RegisterUserReqOccupation_6  RegisterUserReqOccupation = "家事従事者"
	RegisterUserReqOccupation_7  RegisterUserReqOccupation = "学生"
	RegisterUserReqOccupation_8  RegisterUserReqOccupation = "無職"
	RegisterUserReqOccupation_9  RegisterUserReqOccupation = "その他"
	RegisterUserReqOccupation_10 RegisterUserReqOccupation = "回答しない"
)

func (RegisterUserReqOccupation) AllValues

AllValues returns all RegisterUserReqOccupation values.

func (RegisterUserReqOccupation) MarshalText

func (s RegisterUserReqOccupation) MarshalText() ([]byte, error)

MarshalText implements encoding.TextMarshaler.

func (*RegisterUserReqOccupation) UnmarshalText

func (s *RegisterUserReqOccupation) UnmarshalText(data []byte) error

UnmarshalText implements encoding.TextUnmarshaler.

func (RegisterUserReqOccupation) Validate

func (s RegisterUserReqOccupation) Validate() error

type RegisterUserRes

type RegisterUserRes interface {
	// contains filtered or unexported methods
}

type Route

type Route struct {
	// contains filtered or unexported fields
}

Route is route object.

func (Route) Args

func (r Route) Args() []string

Args returns parsed arguments.

func (Route) Name

func (r Route) Name() string

Name returns ogen operation name.

It is guaranteed to be unique and not empty.

func (Route) OperationID

func (r Route) OperationID() string

OperationID returns OpenAPI operationId.

func (Route) PathPattern

func (r Route) PathPattern() string

PathPattern returns OpenAPI path.

func (Route) Summary

func (r Route) Summary() string

Summary returns OpenAPI summary.

type SecurityHandler

type SecurityHandler interface {
	// HandleSessionId handles SessionId security.
	HandleSessionId(ctx context.Context, operationName string, t SessionId) (context.Context, error)
}

SecurityHandler is handler for security parameters.

type Server

type Server struct {
	// contains filtered or unexported fields
}

Server implements http server based on OpenAPI v3 specification and calls Handler to handle requests.

func NewServer

func NewServer(h Handler, sec SecurityHandler, opts ...ServerOption) (*Server, error)

NewServer creates new Server.

func (*Server) FindPath

func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool)

FindPath finds Route for given method and URL.

func (*Server) FindRoute

func (s *Server) FindRoute(method, path string) (Route, bool)

FindRoute finds Route for given method and path.

Note: this method does not unescape path or handle reserved characters in path properly. Use FindPath instead.

func (*Server) ServeHTTP

func (s *Server) ServeHTTP(w http.ResponseWriter, r *http.Request)

ServeHTTP serves http request as defined by OpenAPI v3 specification, calling handler that matches the path or returning not found error.

type ServerOption

type ServerOption interface {
	// contains filtered or unexported methods
}

ServerOption is server config option.

func WithErrorHandler

func WithErrorHandler(h ErrorHandler) ServerOption

WithErrorHandler specifies error handler to use.

func WithMaxMultipartMemory

func WithMaxMultipartMemory(max int64) ServerOption

WithMaxMultipartMemory specifies limit of memory for storing file parts. File parts which can't be stored in memory will be stored on disk in temporary files.

func WithMethodNotAllowed

func WithMethodNotAllowed(methodNotAllowed func(w http.ResponseWriter, r *http.Request, allowed string)) ServerOption

WithMethodNotAllowed specifies Method Not Allowed handler to use.

func WithMiddleware

func WithMiddleware(m ...Middleware) ServerOption

WithMiddleware specifies middlewares to use.

func WithNotFound

func WithNotFound(notFound http.HandlerFunc) ServerOption

WithNotFound specifies Not Found handler to use.

func WithPathPrefix

func WithPathPrefix(prefix string) ServerOption

WithPathPrefix specifies server path prefix.

type SessionId

type SessionId struct {
	APIKey string
}

func (*SessionId) GetAPIKey

func (s *SessionId) GetAPIKey() string

GetAPIKey returns the value of APIKey.

func (*SessionId) SetAPIKey

func (s *SessionId) SetAPIKey(val string)

SetAPIKey sets the value of APIKey.

type SessionsHistoryBadRequest

type SessionsHistoryBadRequest struct{}

func (*SessionsHistoryBadRequest) Decode

func (s *SessionsHistoryBadRequest) Decode(d *jx.Decoder) error

Decode decodes SessionsHistoryBadRequest from json.

func (*SessionsHistoryBadRequest) Encode

func (s *SessionsHistoryBadRequest) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*SessionsHistoryBadRequest) MarshalJSON

func (s *SessionsHistoryBadRequest) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*SessionsHistoryBadRequest) UnmarshalJSON

func (s *SessionsHistoryBadRequest) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type SessionsHistoryInternalServerError

type SessionsHistoryInternalServerError struct{}

func (*SessionsHistoryInternalServerError) Decode

Decode decodes SessionsHistoryInternalServerError from json.

func (*SessionsHistoryInternalServerError) Encode

Encode implements json.Marshaler.

func (*SessionsHistoryInternalServerError) MarshalJSON

func (s *SessionsHistoryInternalServerError) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*SessionsHistoryInternalServerError) UnmarshalJSON

func (s *SessionsHistoryInternalServerError) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type SessionsHistoryOK

type SessionsHistoryOK struct {
	Pagination   SessionsHistoryOKPagination         `json:"pagination"`
	TalkSessions []SessionsHistoryOKTalkSessionsItem `json:"talkSessions"`
}

func (*SessionsHistoryOK) Decode

func (s *SessionsHistoryOK) Decode(d *jx.Decoder) error

Decode decodes SessionsHistoryOK from json.

func (*SessionsHistoryOK) Encode

func (s *SessionsHistoryOK) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*SessionsHistoryOK) GetPagination

GetPagination returns the value of Pagination.

func (*SessionsHistoryOK) GetTalkSessions

GetTalkSessions returns the value of TalkSessions.

func (*SessionsHistoryOK) MarshalJSON

func (s *SessionsHistoryOK) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*SessionsHistoryOK) SetPagination

func (s *SessionsHistoryOK) SetPagination(val SessionsHistoryOKPagination)

SetPagination sets the value of Pagination.

func (*SessionsHistoryOK) SetTalkSessions

func (s *SessionsHistoryOK) SetTalkSessions(val []SessionsHistoryOKTalkSessionsItem)

SetTalkSessions sets the value of TalkSessions.

func (*SessionsHistoryOK) UnmarshalJSON

func (s *SessionsHistoryOK) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*SessionsHistoryOK) Validate

func (s *SessionsHistoryOK) Validate() error

type SessionsHistoryOKPagination

type SessionsHistoryOKPagination struct {
	TotalCount int `json:"totalCount"`
	Offset     int `json:"offset"`
	Limit      int `json:"limit"`
}

func (*SessionsHistoryOKPagination) Decode

Decode decodes SessionsHistoryOKPagination from json.

func (*SessionsHistoryOKPagination) Encode

func (s *SessionsHistoryOKPagination) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*SessionsHistoryOKPagination) GetLimit

func (s *SessionsHistoryOKPagination) GetLimit() int

GetLimit returns the value of Limit.

func (*SessionsHistoryOKPagination) GetOffset

func (s *SessionsHistoryOKPagination) GetOffset() int

GetOffset returns the value of Offset.

func (*SessionsHistoryOKPagination) GetTotalCount

func (s *SessionsHistoryOKPagination) GetTotalCount() int

GetTotalCount returns the value of TotalCount.

func (*SessionsHistoryOKPagination) MarshalJSON

func (s *SessionsHistoryOKPagination) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*SessionsHistoryOKPagination) SetLimit

func (s *SessionsHistoryOKPagination) SetLimit(val int)

SetLimit sets the value of Limit.

func (*SessionsHistoryOKPagination) SetOffset

func (s *SessionsHistoryOKPagination) SetOffset(val int)

SetOffset sets the value of Offset.

func (*SessionsHistoryOKPagination) SetTotalCount

func (s *SessionsHistoryOKPagination) SetTotalCount(val int)

SetTotalCount sets the value of TotalCount.

func (*SessionsHistoryOKPagination) UnmarshalJSON

func (s *SessionsHistoryOKPagination) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type SessionsHistoryOKTalkSessionsItem

type SessionsHistoryOKTalkSessionsItem struct {
	OpinionCount int                                          `json:"opinionCount"`
	TalkSession  SessionsHistoryOKTalkSessionsItemTalkSession `json:"talkSession"`
}

func (*SessionsHistoryOKTalkSessionsItem) Decode

Decode decodes SessionsHistoryOKTalkSessionsItem from json.

func (*SessionsHistoryOKTalkSessionsItem) Encode

Encode implements json.Marshaler.

func (*SessionsHistoryOKTalkSessionsItem) GetOpinionCount

func (s *SessionsHistoryOKTalkSessionsItem) GetOpinionCount() int

GetOpinionCount returns the value of OpinionCount.

func (*SessionsHistoryOKTalkSessionsItem) GetTalkSession

GetTalkSession returns the value of TalkSession.

func (*SessionsHistoryOKTalkSessionsItem) MarshalJSON

func (s *SessionsHistoryOKTalkSessionsItem) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*SessionsHistoryOKTalkSessionsItem) SetOpinionCount

func (s *SessionsHistoryOKTalkSessionsItem) SetOpinionCount(val int)

SetOpinionCount sets the value of OpinionCount.

func (*SessionsHistoryOKTalkSessionsItem) SetTalkSession

SetTalkSession sets the value of TalkSession.

func (*SessionsHistoryOKTalkSessionsItem) UnmarshalJSON

func (s *SessionsHistoryOKTalkSessionsItem) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*SessionsHistoryOKTalkSessionsItem) Validate

type SessionsHistoryOKTalkSessionsItemTalkSession

type SessionsHistoryOKTalkSessionsItemTalkSession struct {
	// トークセッションID.
	ID string `json:"id"`
	// テーマ.
	Theme string `json:"theme"`
	// 説明.
	Description OptNilString `json:"description"`
	// 作成者.
	Owner SessionsHistoryOKTalkSessionsItemTalkSessionOwner `json:"owner"`
	// 作成日時.
	CreatedAt string `json:"createdAt"`
	// 終了予定日時.
	ScheduledEndTime string `json:"scheduledEndTime"`
	// 位置情報.
	Location OptSessionsHistoryOKTalkSessionsItemTalkSessionLocation `json:"location"`
	// 市区町村.
	City OptNilString `json:"city"`
	// 都道府県.
	Prefecture OptNilString `json:"prefecture"`
}

func (*SessionsHistoryOKTalkSessionsItemTalkSession) Decode

Decode decodes SessionsHistoryOKTalkSessionsItemTalkSession from json.

func (*SessionsHistoryOKTalkSessionsItemTalkSession) Encode

Encode implements json.Marshaler.

func (*SessionsHistoryOKTalkSessionsItemTalkSession) GetCity

GetCity returns the value of City.

func (*SessionsHistoryOKTalkSessionsItemTalkSession) GetCreatedAt

GetCreatedAt returns the value of CreatedAt.

func (*SessionsHistoryOKTalkSessionsItemTalkSession) GetDescription

GetDescription returns the value of Description.

func (*SessionsHistoryOKTalkSessionsItemTalkSession) GetID

GetID returns the value of ID.

func (*SessionsHistoryOKTalkSessionsItemTalkSession) GetLocation

GetLocation returns the value of Location.

func (*SessionsHistoryOKTalkSessionsItemTalkSession) GetOwner

GetOwner returns the value of Owner.

func (*SessionsHistoryOKTalkSessionsItemTalkSession) GetPrefecture

GetPrefecture returns the value of Prefecture.

func (*SessionsHistoryOKTalkSessionsItemTalkSession) GetScheduledEndTime

func (s *SessionsHistoryOKTalkSessionsItemTalkSession) GetScheduledEndTime() string

GetScheduledEndTime returns the value of ScheduledEndTime.

func (*SessionsHistoryOKTalkSessionsItemTalkSession) GetTheme

GetTheme returns the value of Theme.

func (*SessionsHistoryOKTalkSessionsItemTalkSession) MarshalJSON

MarshalJSON implements stdjson.Marshaler.

func (*SessionsHistoryOKTalkSessionsItemTalkSession) SetCity

SetCity sets the value of City.

func (*SessionsHistoryOKTalkSessionsItemTalkSession) SetCreatedAt

SetCreatedAt sets the value of CreatedAt.

func (*SessionsHistoryOKTalkSessionsItemTalkSession) SetDescription

SetDescription sets the value of Description.

func (*SessionsHistoryOKTalkSessionsItemTalkSession) SetID

SetID sets the value of ID.

func (*SessionsHistoryOKTalkSessionsItemTalkSession) SetLocation

SetLocation sets the value of Location.

func (*SessionsHistoryOKTalkSessionsItemTalkSession) SetOwner

SetOwner sets the value of Owner.

func (*SessionsHistoryOKTalkSessionsItemTalkSession) SetPrefecture

SetPrefecture sets the value of Prefecture.

func (*SessionsHistoryOKTalkSessionsItemTalkSession) SetScheduledEndTime

func (s *SessionsHistoryOKTalkSessionsItemTalkSession) SetScheduledEndTime(val string)

SetScheduledEndTime sets the value of ScheduledEndTime.

func (*SessionsHistoryOKTalkSessionsItemTalkSession) SetTheme

SetTheme sets the value of Theme.

func (*SessionsHistoryOKTalkSessionsItemTalkSession) UnmarshalJSON

func (s *SessionsHistoryOKTalkSessionsItemTalkSession) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*SessionsHistoryOKTalkSessionsItemTalkSession) Validate

type SessionsHistoryOKTalkSessionsItemTalkSessionLocation

type SessionsHistoryOKTalkSessionsItemTalkSessionLocation struct {
	// 緯度.
	Latitude OptFloat64 `json:"latitude"`
	// 経度.
	Longitude OptFloat64 `json:"longitude"`
}

位置情報.

func (*SessionsHistoryOKTalkSessionsItemTalkSessionLocation) Decode

Decode decodes SessionsHistoryOKTalkSessionsItemTalkSessionLocation from json.

func (*SessionsHistoryOKTalkSessionsItemTalkSessionLocation) Encode

Encode implements json.Marshaler.

func (*SessionsHistoryOKTalkSessionsItemTalkSessionLocation) GetLatitude

GetLatitude returns the value of Latitude.

func (*SessionsHistoryOKTalkSessionsItemTalkSessionLocation) GetLongitude

GetLongitude returns the value of Longitude.

func (*SessionsHistoryOKTalkSessionsItemTalkSessionLocation) MarshalJSON

MarshalJSON implements stdjson.Marshaler.

func (*SessionsHistoryOKTalkSessionsItemTalkSessionLocation) SetLatitude

SetLatitude sets the value of Latitude.

func (*SessionsHistoryOKTalkSessionsItemTalkSessionLocation) SetLongitude

SetLongitude sets the value of Longitude.

func (*SessionsHistoryOKTalkSessionsItemTalkSessionLocation) UnmarshalJSON

UnmarshalJSON implements stdjson.Unmarshaler.

func (*SessionsHistoryOKTalkSessionsItemTalkSessionLocation) Validate

type SessionsHistoryOKTalkSessionsItemTalkSessionOwner

type SessionsHistoryOKTalkSessionsItemTalkSessionOwner struct {
	DisplayID   string       `json:"displayID"`
	DisplayName string       `json:"displayName"`
	IconURL     OptNilString `json:"iconURL"`
}

作成者.

func (*SessionsHistoryOKTalkSessionsItemTalkSessionOwner) Decode

Decode decodes SessionsHistoryOKTalkSessionsItemTalkSessionOwner from json.

func (*SessionsHistoryOKTalkSessionsItemTalkSessionOwner) Encode

Encode implements json.Marshaler.

func (*SessionsHistoryOKTalkSessionsItemTalkSessionOwner) GetDisplayID

GetDisplayID returns the value of DisplayID.

func (*SessionsHistoryOKTalkSessionsItemTalkSessionOwner) GetDisplayName

GetDisplayName returns the value of DisplayName.

func (*SessionsHistoryOKTalkSessionsItemTalkSessionOwner) GetIconURL

GetIconURL returns the value of IconURL.

func (*SessionsHistoryOKTalkSessionsItemTalkSessionOwner) MarshalJSON

MarshalJSON implements stdjson.Marshaler.

func (*SessionsHistoryOKTalkSessionsItemTalkSessionOwner) SetDisplayID

SetDisplayID sets the value of DisplayID.

func (*SessionsHistoryOKTalkSessionsItemTalkSessionOwner) SetDisplayName

SetDisplayName sets the value of DisplayName.

func (*SessionsHistoryOKTalkSessionsItemTalkSessionOwner) SetIconURL

SetIconURL sets the value of IconURL.

func (*SessionsHistoryOKTalkSessionsItemTalkSessionOwner) UnmarshalJSON

UnmarshalJSON implements stdjson.Unmarshaler.

func (*SessionsHistoryOKTalkSessionsItemTalkSessionOwner) Validate

type SessionsHistoryParams

type SessionsHistoryParams struct {
	Limit  OptInt
	Offset OptInt
	// テーマ.
	Theme  OptNilString
	Status OptNilSessionsHistoryStatus
}

SessionsHistoryParams is parameters of sessionsHistory operation.

type SessionsHistoryRes

type SessionsHistoryRes interface {
	// contains filtered or unexported methods
}

type SessionsHistoryStatus

type SessionsHistoryStatus string
const (
	SessionsHistoryStatusOpen     SessionsHistoryStatus = "open"
	SessionsHistoryStatusFinished SessionsHistoryStatus = "finished"
)

func (SessionsHistoryStatus) AllValues

AllValues returns all SessionsHistoryStatus values.

func (SessionsHistoryStatus) MarshalText

func (s SessionsHistoryStatus) MarshalText() ([]byte, error)

MarshalText implements encoding.TextMarshaler.

func (*SessionsHistoryStatus) UnmarshalText

func (s *SessionsHistoryStatus) UnmarshalText(data []byte) error

UnmarshalText implements encoding.TextUnmarshaler.

func (SessionsHistoryStatus) Validate

func (s SessionsHistoryStatus) Validate() error

type SwipeOpinionsBadRequest

type SwipeOpinionsBadRequest struct {
	Code    string `json:"code"`
	Message string `json:"message"`
}

func (*SwipeOpinionsBadRequest) Decode

func (s *SwipeOpinionsBadRequest) Decode(d *jx.Decoder) error

Decode decodes SwipeOpinionsBadRequest from json.

func (*SwipeOpinionsBadRequest) Encode

func (s *SwipeOpinionsBadRequest) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*SwipeOpinionsBadRequest) GetCode

func (s *SwipeOpinionsBadRequest) GetCode() string

GetCode returns the value of Code.

func (*SwipeOpinionsBadRequest) GetMessage

func (s *SwipeOpinionsBadRequest) GetMessage() string

GetMessage returns the value of Message.

func (*SwipeOpinionsBadRequest) MarshalJSON

func (s *SwipeOpinionsBadRequest) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*SwipeOpinionsBadRequest) SetCode

func (s *SwipeOpinionsBadRequest) SetCode(val string)

SetCode sets the value of Code.

func (*SwipeOpinionsBadRequest) SetMessage

func (s *SwipeOpinionsBadRequest) SetMessage(val string)

SetMessage sets the value of Message.

func (*SwipeOpinionsBadRequest) UnmarshalJSON

func (s *SwipeOpinionsBadRequest) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type SwipeOpinionsInternalServerError

type SwipeOpinionsInternalServerError struct {
	Code    string `json:"code"`
	Message string `json:"message"`
}

func (*SwipeOpinionsInternalServerError) Decode

Decode decodes SwipeOpinionsInternalServerError from json.

func (*SwipeOpinionsInternalServerError) Encode

Encode implements json.Marshaler.

func (*SwipeOpinionsInternalServerError) GetCode

GetCode returns the value of Code.

func (*SwipeOpinionsInternalServerError) GetMessage

func (s *SwipeOpinionsInternalServerError) GetMessage() string

GetMessage returns the value of Message.

func (*SwipeOpinionsInternalServerError) MarshalJSON

func (s *SwipeOpinionsInternalServerError) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*SwipeOpinionsInternalServerError) SetCode

func (s *SwipeOpinionsInternalServerError) SetCode(val string)

SetCode sets the value of Code.

func (*SwipeOpinionsInternalServerError) SetMessage

func (s *SwipeOpinionsInternalServerError) SetMessage(val string)

SetMessage sets the value of Message.

func (*SwipeOpinionsInternalServerError) UnmarshalJSON

func (s *SwipeOpinionsInternalServerError) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type SwipeOpinionsOKApplicationJSON

type SwipeOpinionsOKApplicationJSON []SwipeOpinionsOKItem

func (*SwipeOpinionsOKApplicationJSON) Decode

Decode decodes SwipeOpinionsOKApplicationJSON from json.

func (SwipeOpinionsOKApplicationJSON) Encode

Encode encodes SwipeOpinionsOKApplicationJSON as json.

func (SwipeOpinionsOKApplicationJSON) MarshalJSON

func (s SwipeOpinionsOKApplicationJSON) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*SwipeOpinionsOKApplicationJSON) UnmarshalJSON

func (s *SwipeOpinionsOKApplicationJSON) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (SwipeOpinionsOKApplicationJSON) Validate

type SwipeOpinionsOKItem

type SwipeOpinionsOKItem struct {
	Opinion SwipeOpinionsOKItemOpinion `json:"opinion"`
	// 作成者.
	User       SwipeOpinionsOKItemUser `json:"user"`
	ReplyCount int                     `json:"replyCount"`
}

func (*SwipeOpinionsOKItem) Decode

func (s *SwipeOpinionsOKItem) Decode(d *jx.Decoder) error

Decode decodes SwipeOpinionsOKItem from json.

func (*SwipeOpinionsOKItem) Encode

func (s *SwipeOpinionsOKItem) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*SwipeOpinionsOKItem) GetOpinion

GetOpinion returns the value of Opinion.

func (*SwipeOpinionsOKItem) GetReplyCount

func (s *SwipeOpinionsOKItem) GetReplyCount() int

GetReplyCount returns the value of ReplyCount.

func (*SwipeOpinionsOKItem) GetUser

GetUser returns the value of User.

func (*SwipeOpinionsOKItem) MarshalJSON

func (s *SwipeOpinionsOKItem) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*SwipeOpinionsOKItem) SetOpinion

SetOpinion sets the value of Opinion.

func (*SwipeOpinionsOKItem) SetReplyCount

func (s *SwipeOpinionsOKItem) SetReplyCount(val int)

SetReplyCount sets the value of ReplyCount.

func (*SwipeOpinionsOKItem) SetUser

SetUser sets the value of User.

func (*SwipeOpinionsOKItem) UnmarshalJSON

func (s *SwipeOpinionsOKItem) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*SwipeOpinionsOKItem) Validate

func (s *SwipeOpinionsOKItem) Validate() error

type SwipeOpinionsOKItemOpinion

type SwipeOpinionsOKItemOpinion struct {
	// 意見ID.
	ID    string    `json:"id"`
	Title OptString `json:"title"`
	// 意見のテキスト.
	Content string `json:"content"`
	// 親の意見ID。ルートならば無し.
	ParentID OptString `json:"parentID"`
	// 意見投稿主の意見。ルート意見の場合はここには何も入らない.
	VoteType OptSwipeOpinionsOKItemOpinionVoteType `json:"voteType"`
	// 画像が返る場合もある.
	PictureURL OptString `json:"pictureURL"`
	// 参考文献URL.
	ReferenceURL OptString `json:"referenceURL"`
	PostedAt     string    `json:"postedAt"`
}

func (*SwipeOpinionsOKItemOpinion) Decode

Decode decodes SwipeOpinionsOKItemOpinion from json.

func (*SwipeOpinionsOKItemOpinion) Encode

func (s *SwipeOpinionsOKItemOpinion) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*SwipeOpinionsOKItemOpinion) GetContent

func (s *SwipeOpinionsOKItemOpinion) GetContent() string

GetContent returns the value of Content.

func (*SwipeOpinionsOKItemOpinion) GetID

GetID returns the value of ID.

func (*SwipeOpinionsOKItemOpinion) GetParentID

func (s *SwipeOpinionsOKItemOpinion) GetParentID() OptString

GetParentID returns the value of ParentID.

func (*SwipeOpinionsOKItemOpinion) GetPictureURL

func (s *SwipeOpinionsOKItemOpinion) GetPictureURL() OptString

GetPictureURL returns the value of PictureURL.

func (*SwipeOpinionsOKItemOpinion) GetPostedAt

func (s *SwipeOpinionsOKItemOpinion) GetPostedAt() string

GetPostedAt returns the value of PostedAt.

func (*SwipeOpinionsOKItemOpinion) GetReferenceURL

func (s *SwipeOpinionsOKItemOpinion) GetReferenceURL() OptString

GetReferenceURL returns the value of ReferenceURL.

func (*SwipeOpinionsOKItemOpinion) GetTitle

func (s *SwipeOpinionsOKItemOpinion) GetTitle() OptString

GetTitle returns the value of Title.

func (*SwipeOpinionsOKItemOpinion) GetVoteType

GetVoteType returns the value of VoteType.

func (*SwipeOpinionsOKItemOpinion) MarshalJSON

func (s *SwipeOpinionsOKItemOpinion) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*SwipeOpinionsOKItemOpinion) SetContent

func (s *SwipeOpinionsOKItemOpinion) SetContent(val string)

SetContent sets the value of Content.

func (*SwipeOpinionsOKItemOpinion) SetID

func (s *SwipeOpinionsOKItemOpinion) SetID(val string)

SetID sets the value of ID.

func (*SwipeOpinionsOKItemOpinion) SetParentID

func (s *SwipeOpinionsOKItemOpinion) SetParentID(val OptString)

SetParentID sets the value of ParentID.

func (*SwipeOpinionsOKItemOpinion) SetPictureURL

func (s *SwipeOpinionsOKItemOpinion) SetPictureURL(val OptString)

SetPictureURL sets the value of PictureURL.

func (*SwipeOpinionsOKItemOpinion) SetPostedAt

func (s *SwipeOpinionsOKItemOpinion) SetPostedAt(val string)

SetPostedAt sets the value of PostedAt.

func (*SwipeOpinionsOKItemOpinion) SetReferenceURL

func (s *SwipeOpinionsOKItemOpinion) SetReferenceURL(val OptString)

SetReferenceURL sets the value of ReferenceURL.

func (*SwipeOpinionsOKItemOpinion) SetTitle

func (s *SwipeOpinionsOKItemOpinion) SetTitle(val OptString)

SetTitle sets the value of Title.

func (*SwipeOpinionsOKItemOpinion) SetVoteType

SetVoteType sets the value of VoteType.

func (*SwipeOpinionsOKItemOpinion) UnmarshalJSON

func (s *SwipeOpinionsOKItemOpinion) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*SwipeOpinionsOKItemOpinion) Validate

func (s *SwipeOpinionsOKItemOpinion) Validate() error

type SwipeOpinionsOKItemOpinionVoteType

type SwipeOpinionsOKItemOpinionVoteType string

意見投稿主の意見。ルート意見の場合はここには何も入らない.

const (
	SwipeOpinionsOKItemOpinionVoteTypeAgree    SwipeOpinionsOKItemOpinionVoteType = "agree"
	SwipeOpinionsOKItemOpinionVoteTypeDisagree SwipeOpinionsOKItemOpinionVoteType = "disagree"
	SwipeOpinionsOKItemOpinionVoteTypePass     SwipeOpinionsOKItemOpinionVoteType = "pass"
)

func (SwipeOpinionsOKItemOpinionVoteType) AllValues

AllValues returns all SwipeOpinionsOKItemOpinionVoteType values.

func (*SwipeOpinionsOKItemOpinionVoteType) Decode

Decode decodes SwipeOpinionsOKItemOpinionVoteType from json.

func (SwipeOpinionsOKItemOpinionVoteType) Encode

Encode encodes SwipeOpinionsOKItemOpinionVoteType as json.

func (SwipeOpinionsOKItemOpinionVoteType) MarshalJSON

func (s SwipeOpinionsOKItemOpinionVoteType) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (SwipeOpinionsOKItemOpinionVoteType) MarshalText

func (s SwipeOpinionsOKItemOpinionVoteType) MarshalText() ([]byte, error)

MarshalText implements encoding.TextMarshaler.

func (*SwipeOpinionsOKItemOpinionVoteType) UnmarshalJSON

func (s *SwipeOpinionsOKItemOpinionVoteType) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*SwipeOpinionsOKItemOpinionVoteType) UnmarshalText

func (s *SwipeOpinionsOKItemOpinionVoteType) UnmarshalText(data []byte) error

UnmarshalText implements encoding.TextUnmarshaler.

func (SwipeOpinionsOKItemOpinionVoteType) Validate

type SwipeOpinionsOKItemUser

type SwipeOpinionsOKItemUser struct {
	DisplayID   string       `json:"displayID"`
	DisplayName string       `json:"displayName"`
	IconURL     OptNilString `json:"iconURL"`
}

作成者.

func (*SwipeOpinionsOKItemUser) Decode

func (s *SwipeOpinionsOKItemUser) Decode(d *jx.Decoder) error

Decode decodes SwipeOpinionsOKItemUser from json.

func (*SwipeOpinionsOKItemUser) Encode

func (s *SwipeOpinionsOKItemUser) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*SwipeOpinionsOKItemUser) GetDisplayID

func (s *SwipeOpinionsOKItemUser) GetDisplayID() string

GetDisplayID returns the value of DisplayID.

func (*SwipeOpinionsOKItemUser) GetDisplayName

func (s *SwipeOpinionsOKItemUser) GetDisplayName() string

GetDisplayName returns the value of DisplayName.

func (*SwipeOpinionsOKItemUser) GetIconURL

func (s *SwipeOpinionsOKItemUser) GetIconURL() OptNilString

GetIconURL returns the value of IconURL.

func (*SwipeOpinionsOKItemUser) MarshalJSON

func (s *SwipeOpinionsOKItemUser) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*SwipeOpinionsOKItemUser) SetDisplayID

func (s *SwipeOpinionsOKItemUser) SetDisplayID(val string)

SetDisplayID sets the value of DisplayID.

func (*SwipeOpinionsOKItemUser) SetDisplayName

func (s *SwipeOpinionsOKItemUser) SetDisplayName(val string)

SetDisplayName sets the value of DisplayName.

func (*SwipeOpinionsOKItemUser) SetIconURL

func (s *SwipeOpinionsOKItemUser) SetIconURL(val OptNilString)

SetIconURL sets the value of IconURL.

func (*SwipeOpinionsOKItemUser) UnmarshalJSON

func (s *SwipeOpinionsOKItemUser) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*SwipeOpinionsOKItemUser) Validate

func (s *SwipeOpinionsOKItemUser) Validate() error

type SwipeOpinionsParams

type SwipeOpinionsParams struct {
	TalkSessionID string
	Limit         OptNilInt
}

SwipeOpinionsParams is parameters of swipe_opinions operation.

type SwipeOpinionsRes

type SwipeOpinionsRes interface {
	// contains filtered or unexported methods
}

type TalkSessionAnalysisBadRequest

type TalkSessionAnalysisBadRequest struct {
	Code    string `json:"code"`
	Message string `json:"message"`
}

func (*TalkSessionAnalysisBadRequest) Decode

Decode decodes TalkSessionAnalysisBadRequest from json.

func (*TalkSessionAnalysisBadRequest) Encode

Encode implements json.Marshaler.

func (*TalkSessionAnalysisBadRequest) GetCode

GetCode returns the value of Code.

func (*TalkSessionAnalysisBadRequest) GetMessage

func (s *TalkSessionAnalysisBadRequest) GetMessage() string

GetMessage returns the value of Message.

func (*TalkSessionAnalysisBadRequest) MarshalJSON

func (s *TalkSessionAnalysisBadRequest) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*TalkSessionAnalysisBadRequest) SetCode

func (s *TalkSessionAnalysisBadRequest) SetCode(val string)

SetCode sets the value of Code.

func (*TalkSessionAnalysisBadRequest) SetMessage

func (s *TalkSessionAnalysisBadRequest) SetMessage(val string)

SetMessage sets the value of Message.

func (*TalkSessionAnalysisBadRequest) UnmarshalJSON

func (s *TalkSessionAnalysisBadRequest) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type TalkSessionAnalysisInternalServerError

type TalkSessionAnalysisInternalServerError struct {
	Code    string `json:"code"`
	Message string `json:"message"`
}

func (*TalkSessionAnalysisInternalServerError) Decode

Decode decodes TalkSessionAnalysisInternalServerError from json.

func (*TalkSessionAnalysisInternalServerError) Encode

Encode implements json.Marshaler.

func (*TalkSessionAnalysisInternalServerError) GetCode

GetCode returns the value of Code.

func (*TalkSessionAnalysisInternalServerError) GetMessage

GetMessage returns the value of Message.

func (*TalkSessionAnalysisInternalServerError) MarshalJSON

func (s *TalkSessionAnalysisInternalServerError) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*TalkSessionAnalysisInternalServerError) SetCode

SetCode sets the value of Code.

func (*TalkSessionAnalysisInternalServerError) SetMessage

SetMessage sets the value of Message.

func (*TalkSessionAnalysisInternalServerError) UnmarshalJSON

func (s *TalkSessionAnalysisInternalServerError) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type TalkSessionAnalysisOK

type TalkSessionAnalysisOK struct {
	MyPosition    OptTalkSessionAnalysisOKMyPosition       `json:"myPosition"`
	Positions     []TalkSessionAnalysisOKPositionsItem     `json:"positions"`
	GroupOpinions []TalkSessionAnalysisOKGroupOpinionsItem `json:"groupOpinions"`
}

func (*TalkSessionAnalysisOK) Decode

func (s *TalkSessionAnalysisOK) Decode(d *jx.Decoder) error

Decode decodes TalkSessionAnalysisOK from json.

func (*TalkSessionAnalysisOK) Encode

func (s *TalkSessionAnalysisOK) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*TalkSessionAnalysisOK) GetGroupOpinions

GetGroupOpinions returns the value of GroupOpinions.

func (*TalkSessionAnalysisOK) GetMyPosition

GetMyPosition returns the value of MyPosition.

func (*TalkSessionAnalysisOK) GetPositions

GetPositions returns the value of Positions.

func (*TalkSessionAnalysisOK) MarshalJSON

func (s *TalkSessionAnalysisOK) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*TalkSessionAnalysisOK) SetGroupOpinions

SetGroupOpinions sets the value of GroupOpinions.

func (*TalkSessionAnalysisOK) SetMyPosition

SetMyPosition sets the value of MyPosition.

func (*TalkSessionAnalysisOK) SetPositions

SetPositions sets the value of Positions.

func (*TalkSessionAnalysisOK) UnmarshalJSON

func (s *TalkSessionAnalysisOK) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*TalkSessionAnalysisOK) Validate

func (s *TalkSessionAnalysisOK) Validate() error

type TalkSessionAnalysisOKGroupOpinionsItem

type TalkSessionAnalysisOKGroupOpinionsItem struct {
	GroupName string                                               `json:"groupName"`
	GroupId   int                                                  `json:"groupId"`
	Opinions  []TalkSessionAnalysisOKGroupOpinionsItemOpinionsItem `json:"opinions"`
}

func (*TalkSessionAnalysisOKGroupOpinionsItem) Decode

Decode decodes TalkSessionAnalysisOKGroupOpinionsItem from json.

func (*TalkSessionAnalysisOKGroupOpinionsItem) Encode

Encode implements json.Marshaler.

func (*TalkSessionAnalysisOKGroupOpinionsItem) GetGroupId

GetGroupId returns the value of GroupId.

func (*TalkSessionAnalysisOKGroupOpinionsItem) GetGroupName

GetGroupName returns the value of GroupName.

func (*TalkSessionAnalysisOKGroupOpinionsItem) GetOpinions

GetOpinions returns the value of Opinions.

func (*TalkSessionAnalysisOKGroupOpinionsItem) MarshalJSON

func (s *TalkSessionAnalysisOKGroupOpinionsItem) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*TalkSessionAnalysisOKGroupOpinionsItem) SetGroupId

func (s *TalkSessionAnalysisOKGroupOpinionsItem) SetGroupId(val int)

SetGroupId sets the value of GroupId.

func (*TalkSessionAnalysisOKGroupOpinionsItem) SetGroupName

func (s *TalkSessionAnalysisOKGroupOpinionsItem) SetGroupName(val string)

SetGroupName sets the value of GroupName.

func (*TalkSessionAnalysisOKGroupOpinionsItem) SetOpinions

SetOpinions sets the value of Opinions.

func (*TalkSessionAnalysisOKGroupOpinionsItem) UnmarshalJSON

func (s *TalkSessionAnalysisOKGroupOpinionsItem) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*TalkSessionAnalysisOKGroupOpinionsItem) Validate

type TalkSessionAnalysisOKGroupOpinionsItemOpinionsItem

type TalkSessionAnalysisOKGroupOpinionsItemOpinionsItem struct {
	Opinion TalkSessionAnalysisOKGroupOpinionsItemOpinionsItemOpinion `json:"opinion"`
	// 作成者.
	User          TalkSessionAnalysisOKGroupOpinionsItemOpinionsItemUser `json:"user"`
	AgreeCount    int                                                    `json:"agreeCount"`
	DisagreeCount int                                                    `json:"disagreeCount"`
	PassCount     int                                                    `json:"passCount"`
}

func (*TalkSessionAnalysisOKGroupOpinionsItemOpinionsItem) Decode

Decode decodes TalkSessionAnalysisOKGroupOpinionsItemOpinionsItem from json.

func (*TalkSessionAnalysisOKGroupOpinionsItemOpinionsItem) Encode

Encode implements json.Marshaler.

func (*TalkSessionAnalysisOKGroupOpinionsItemOpinionsItem) GetAgreeCount

GetAgreeCount returns the value of AgreeCount.

func (*TalkSessionAnalysisOKGroupOpinionsItemOpinionsItem) GetDisagreeCount

GetDisagreeCount returns the value of DisagreeCount.

func (*TalkSessionAnalysisOKGroupOpinionsItemOpinionsItem) GetOpinion

GetOpinion returns the value of Opinion.

func (*TalkSessionAnalysisOKGroupOpinionsItemOpinionsItem) GetPassCount

GetPassCount returns the value of PassCount.

func (*TalkSessionAnalysisOKGroupOpinionsItemOpinionsItem) GetUser

GetUser returns the value of User.

func (*TalkSessionAnalysisOKGroupOpinionsItemOpinionsItem) MarshalJSON

MarshalJSON implements stdjson.Marshaler.

func (*TalkSessionAnalysisOKGroupOpinionsItemOpinionsItem) SetAgreeCount

SetAgreeCount sets the value of AgreeCount.

func (*TalkSessionAnalysisOKGroupOpinionsItemOpinionsItem) SetDisagreeCount

SetDisagreeCount sets the value of DisagreeCount.

func (*TalkSessionAnalysisOKGroupOpinionsItemOpinionsItem) SetOpinion

SetOpinion sets the value of Opinion.

func (*TalkSessionAnalysisOKGroupOpinionsItemOpinionsItem) SetPassCount

SetPassCount sets the value of PassCount.

func (*TalkSessionAnalysisOKGroupOpinionsItemOpinionsItem) SetUser

SetUser sets the value of User.

func (*TalkSessionAnalysisOKGroupOpinionsItemOpinionsItem) UnmarshalJSON

UnmarshalJSON implements stdjson.Unmarshaler.

func (*TalkSessionAnalysisOKGroupOpinionsItemOpinionsItem) Validate

type TalkSessionAnalysisOKGroupOpinionsItemOpinionsItemOpinion

type TalkSessionAnalysisOKGroupOpinionsItemOpinionsItemOpinion struct {
	// 意見ID.
	ID    string    `json:"id"`
	Title OptString `json:"title"`
	// 意見のテキスト.
	Content string `json:"content"`
	// 親の意見ID。ルートならば無し.
	ParentID OptString `json:"parentID"`
	// 意見投稿主の意見。ルート意見の場合はここには何も入らない.
	VoteType OptTalkSessionAnalysisOKGroupOpinionsItemOpinionsItemOpinionVoteType `json:"voteType"`
	// 画像が返る場合もある.
	PictureURL OptString `json:"pictureURL"`
	// 参考文献URL.
	ReferenceURL OptString `json:"referenceURL"`
	PostedAt     string    `json:"postedAt"`
}

func (*TalkSessionAnalysisOKGroupOpinionsItemOpinionsItemOpinion) Decode

Decode decodes TalkSessionAnalysisOKGroupOpinionsItemOpinionsItemOpinion from json.

func (*TalkSessionAnalysisOKGroupOpinionsItemOpinionsItemOpinion) Encode

Encode implements json.Marshaler.

func (*TalkSessionAnalysisOKGroupOpinionsItemOpinionsItemOpinion) GetContent

GetContent returns the value of Content.

func (*TalkSessionAnalysisOKGroupOpinionsItemOpinionsItemOpinion) GetID

GetID returns the value of ID.

func (*TalkSessionAnalysisOKGroupOpinionsItemOpinionsItemOpinion) GetParentID

GetParentID returns the value of ParentID.

func (*TalkSessionAnalysisOKGroupOpinionsItemOpinionsItemOpinion) GetPictureURL

GetPictureURL returns the value of PictureURL.

func (*TalkSessionAnalysisOKGroupOpinionsItemOpinionsItemOpinion) GetPostedAt

GetPostedAt returns the value of PostedAt.

func (*TalkSessionAnalysisOKGroupOpinionsItemOpinionsItemOpinion) GetReferenceURL

GetReferenceURL returns the value of ReferenceURL.

func (*TalkSessionAnalysisOKGroupOpinionsItemOpinionsItemOpinion) GetTitle

GetTitle returns the value of Title.

func (*TalkSessionAnalysisOKGroupOpinionsItemOpinionsItemOpinion) GetVoteType

GetVoteType returns the value of VoteType.

func (*TalkSessionAnalysisOKGroupOpinionsItemOpinionsItemOpinion) MarshalJSON

MarshalJSON implements stdjson.Marshaler.

func (*TalkSessionAnalysisOKGroupOpinionsItemOpinionsItemOpinion) SetContent

SetContent sets the value of Content.

func (*TalkSessionAnalysisOKGroupOpinionsItemOpinionsItemOpinion) SetID

SetID sets the value of ID.

func (*TalkSessionAnalysisOKGroupOpinionsItemOpinionsItemOpinion) SetParentID

SetParentID sets the value of ParentID.

func (*TalkSessionAnalysisOKGroupOpinionsItemOpinionsItemOpinion) SetPictureURL

SetPictureURL sets the value of PictureURL.

func (*TalkSessionAnalysisOKGroupOpinionsItemOpinionsItemOpinion) SetPostedAt

SetPostedAt sets the value of PostedAt.

func (*TalkSessionAnalysisOKGroupOpinionsItemOpinionsItemOpinion) SetReferenceURL

SetReferenceURL sets the value of ReferenceURL.

func (*TalkSessionAnalysisOKGroupOpinionsItemOpinionsItemOpinion) SetTitle

SetTitle sets the value of Title.

func (*TalkSessionAnalysisOKGroupOpinionsItemOpinionsItemOpinion) SetVoteType

SetVoteType sets the value of VoteType.

func (*TalkSessionAnalysisOKGroupOpinionsItemOpinionsItemOpinion) UnmarshalJSON

UnmarshalJSON implements stdjson.Unmarshaler.

func (*TalkSessionAnalysisOKGroupOpinionsItemOpinionsItemOpinion) Validate

type TalkSessionAnalysisOKGroupOpinionsItemOpinionsItemOpinionVoteType

type TalkSessionAnalysisOKGroupOpinionsItemOpinionsItemOpinionVoteType string

意見投稿主の意見。ルート意見の場合はここには何も入らない.

const (
	TalkSessionAnalysisOKGroupOpinionsItemOpinionsItemOpinionVoteTypeAgree    TalkSessionAnalysisOKGroupOpinionsItemOpinionsItemOpinionVoteType = "agree"
	TalkSessionAnalysisOKGroupOpinionsItemOpinionsItemOpinionVoteTypeDisagree TalkSessionAnalysisOKGroupOpinionsItemOpinionsItemOpinionVoteType = "disagree"
	TalkSessionAnalysisOKGroupOpinionsItemOpinionsItemOpinionVoteTypePass     TalkSessionAnalysisOKGroupOpinionsItemOpinionsItemOpinionVoteType = "pass"
)

func (TalkSessionAnalysisOKGroupOpinionsItemOpinionsItemOpinionVoteType) AllValues

AllValues returns all TalkSessionAnalysisOKGroupOpinionsItemOpinionsItemOpinionVoteType values.

func (*TalkSessionAnalysisOKGroupOpinionsItemOpinionsItemOpinionVoteType) Decode

Decode decodes TalkSessionAnalysisOKGroupOpinionsItemOpinionsItemOpinionVoteType from json.

func (TalkSessionAnalysisOKGroupOpinionsItemOpinionsItemOpinionVoteType) Encode

Encode encodes TalkSessionAnalysisOKGroupOpinionsItemOpinionsItemOpinionVoteType as json.

func (TalkSessionAnalysisOKGroupOpinionsItemOpinionsItemOpinionVoteType) MarshalJSON

MarshalJSON implements stdjson.Marshaler.

func (TalkSessionAnalysisOKGroupOpinionsItemOpinionsItemOpinionVoteType) MarshalText

MarshalText implements encoding.TextMarshaler.

func (*TalkSessionAnalysisOKGroupOpinionsItemOpinionsItemOpinionVoteType) UnmarshalJSON

UnmarshalJSON implements stdjson.Unmarshaler.

func (*TalkSessionAnalysisOKGroupOpinionsItemOpinionsItemOpinionVoteType) UnmarshalText

UnmarshalText implements encoding.TextUnmarshaler.

func (TalkSessionAnalysisOKGroupOpinionsItemOpinionsItemOpinionVoteType) Validate

type TalkSessionAnalysisOKGroupOpinionsItemOpinionsItemUser

type TalkSessionAnalysisOKGroupOpinionsItemOpinionsItemUser struct {
	DisplayID   string       `json:"displayID"`
	DisplayName string       `json:"displayName"`
	IconURL     OptNilString `json:"iconURL"`
}

作成者.

func (*TalkSessionAnalysisOKGroupOpinionsItemOpinionsItemUser) Decode

Decode decodes TalkSessionAnalysisOKGroupOpinionsItemOpinionsItemUser from json.

func (*TalkSessionAnalysisOKGroupOpinionsItemOpinionsItemUser) Encode

Encode implements json.Marshaler.

func (*TalkSessionAnalysisOKGroupOpinionsItemOpinionsItemUser) GetDisplayID

GetDisplayID returns the value of DisplayID.

func (*TalkSessionAnalysisOKGroupOpinionsItemOpinionsItemUser) GetDisplayName

GetDisplayName returns the value of DisplayName.

func (*TalkSessionAnalysisOKGroupOpinionsItemOpinionsItemUser) GetIconURL

GetIconURL returns the value of IconURL.

func (*TalkSessionAnalysisOKGroupOpinionsItemOpinionsItemUser) MarshalJSON

MarshalJSON implements stdjson.Marshaler.

func (*TalkSessionAnalysisOKGroupOpinionsItemOpinionsItemUser) SetDisplayID

SetDisplayID sets the value of DisplayID.

func (*TalkSessionAnalysisOKGroupOpinionsItemOpinionsItemUser) SetDisplayName

SetDisplayName sets the value of DisplayName.

func (*TalkSessionAnalysisOKGroupOpinionsItemOpinionsItemUser) SetIconURL

SetIconURL sets the value of IconURL.

func (*TalkSessionAnalysisOKGroupOpinionsItemOpinionsItemUser) UnmarshalJSON

UnmarshalJSON implements stdjson.Unmarshaler.

func (*TalkSessionAnalysisOKGroupOpinionsItemOpinionsItemUser) Validate

type TalkSessionAnalysisOKMyPosition

type TalkSessionAnalysisOKMyPosition struct {
	PosX        float64      `json:"posX"`
	PosY        float64      `json:"posY"`
	DisplayId   string       `json:"displayId"`
	DisplayName string       `json:"displayName"`
	IconURL     OptNilString `json:"iconURL"`
	GroupName   string       `json:"groupName"`
	GroupId     int          `json:"groupId"`
	// 境界ポイントのインデックス.
	PerimeterIndex OptInt `json:"perimeterIndex"`
}

func (*TalkSessionAnalysisOKMyPosition) Decode

Decode decodes TalkSessionAnalysisOKMyPosition from json.

func (*TalkSessionAnalysisOKMyPosition) Encode

Encode implements json.Marshaler.

func (*TalkSessionAnalysisOKMyPosition) GetDisplayId

func (s *TalkSessionAnalysisOKMyPosition) GetDisplayId() string

GetDisplayId returns the value of DisplayId.

func (*TalkSessionAnalysisOKMyPosition) GetDisplayName

func (s *TalkSessionAnalysisOKMyPosition) GetDisplayName() string

GetDisplayName returns the value of DisplayName.

func (*TalkSessionAnalysisOKMyPosition) GetGroupId

func (s *TalkSessionAnalysisOKMyPosition) GetGroupId() int

GetGroupId returns the value of GroupId.

func (*TalkSessionAnalysisOKMyPosition) GetGroupName

func (s *TalkSessionAnalysisOKMyPosition) GetGroupName() string

GetGroupName returns the value of GroupName.

func (*TalkSessionAnalysisOKMyPosition) GetIconURL

GetIconURL returns the value of IconURL.

func (*TalkSessionAnalysisOKMyPosition) GetPerimeterIndex

func (s *TalkSessionAnalysisOKMyPosition) GetPerimeterIndex() OptInt

GetPerimeterIndex returns the value of PerimeterIndex.

func (*TalkSessionAnalysisOKMyPosition) GetPosX

GetPosX returns the value of PosX.

func (*TalkSessionAnalysisOKMyPosition) GetPosY

GetPosY returns the value of PosY.

func (*TalkSessionAnalysisOKMyPosition) MarshalJSON

func (s *TalkSessionAnalysisOKMyPosition) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*TalkSessionAnalysisOKMyPosition) SetDisplayId

func (s *TalkSessionAnalysisOKMyPosition) SetDisplayId(val string)

SetDisplayId sets the value of DisplayId.

func (*TalkSessionAnalysisOKMyPosition) SetDisplayName

func (s *TalkSessionAnalysisOKMyPosition) SetDisplayName(val string)

SetDisplayName sets the value of DisplayName.

func (*TalkSessionAnalysisOKMyPosition) SetGroupId

func (s *TalkSessionAnalysisOKMyPosition) SetGroupId(val int)

SetGroupId sets the value of GroupId.

func (*TalkSessionAnalysisOKMyPosition) SetGroupName

func (s *TalkSessionAnalysisOKMyPosition) SetGroupName(val string)

SetGroupName sets the value of GroupName.

func (*TalkSessionAnalysisOKMyPosition) SetIconURL

func (s *TalkSessionAnalysisOKMyPosition) SetIconURL(val OptNilString)

SetIconURL sets the value of IconURL.

func (*TalkSessionAnalysisOKMyPosition) SetPerimeterIndex

func (s *TalkSessionAnalysisOKMyPosition) SetPerimeterIndex(val OptInt)

SetPerimeterIndex sets the value of PerimeterIndex.

func (*TalkSessionAnalysisOKMyPosition) SetPosX

func (s *TalkSessionAnalysisOKMyPosition) SetPosX(val float64)

SetPosX sets the value of PosX.

func (*TalkSessionAnalysisOKMyPosition) SetPosY

func (s *TalkSessionAnalysisOKMyPosition) SetPosY(val float64)

SetPosY sets the value of PosY.

func (*TalkSessionAnalysisOKMyPosition) UnmarshalJSON

func (s *TalkSessionAnalysisOKMyPosition) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*TalkSessionAnalysisOKMyPosition) Validate

func (s *TalkSessionAnalysisOKMyPosition) Validate() error

type TalkSessionAnalysisOKPositionsItem

type TalkSessionAnalysisOKPositionsItem struct {
	PosX        float64      `json:"posX"`
	PosY        float64      `json:"posY"`
	DisplayId   string       `json:"displayId"`
	DisplayName string       `json:"displayName"`
	IconURL     OptNilString `json:"iconURL"`
	GroupName   string       `json:"groupName"`
	GroupId     int          `json:"groupId"`
	// 境界ポイントのインデックス.
	PerimeterIndex OptInt `json:"perimeterIndex"`
}

func (*TalkSessionAnalysisOKPositionsItem) Decode

Decode decodes TalkSessionAnalysisOKPositionsItem from json.

func (*TalkSessionAnalysisOKPositionsItem) Encode

Encode implements json.Marshaler.

func (*TalkSessionAnalysisOKPositionsItem) GetDisplayId

func (s *TalkSessionAnalysisOKPositionsItem) GetDisplayId() string

GetDisplayId returns the value of DisplayId.

func (*TalkSessionAnalysisOKPositionsItem) GetDisplayName

func (s *TalkSessionAnalysisOKPositionsItem) GetDisplayName() string

GetDisplayName returns the value of DisplayName.

func (*TalkSessionAnalysisOKPositionsItem) GetGroupId

func (s *TalkSessionAnalysisOKPositionsItem) GetGroupId() int

GetGroupId returns the value of GroupId.

func (*TalkSessionAnalysisOKPositionsItem) GetGroupName

func (s *TalkSessionAnalysisOKPositionsItem) GetGroupName() string

GetGroupName returns the value of GroupName.

func (*TalkSessionAnalysisOKPositionsItem) GetIconURL

GetIconURL returns the value of IconURL.

func (*TalkSessionAnalysisOKPositionsItem) GetPerimeterIndex

func (s *TalkSessionAnalysisOKPositionsItem) GetPerimeterIndex() OptInt

GetPerimeterIndex returns the value of PerimeterIndex.

func (*TalkSessionAnalysisOKPositionsItem) GetPosX

GetPosX returns the value of PosX.

func (*TalkSessionAnalysisOKPositionsItem) GetPosY

GetPosY returns the value of PosY.

func (*TalkSessionAnalysisOKPositionsItem) MarshalJSON

func (s *TalkSessionAnalysisOKPositionsItem) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*TalkSessionAnalysisOKPositionsItem) SetDisplayId

func (s *TalkSessionAnalysisOKPositionsItem) SetDisplayId(val string)

SetDisplayId sets the value of DisplayId.

func (*TalkSessionAnalysisOKPositionsItem) SetDisplayName

func (s *TalkSessionAnalysisOKPositionsItem) SetDisplayName(val string)

SetDisplayName sets the value of DisplayName.

func (*TalkSessionAnalysisOKPositionsItem) SetGroupId

func (s *TalkSessionAnalysisOKPositionsItem) SetGroupId(val int)

SetGroupId sets the value of GroupId.

func (*TalkSessionAnalysisOKPositionsItem) SetGroupName

func (s *TalkSessionAnalysisOKPositionsItem) SetGroupName(val string)

SetGroupName sets the value of GroupName.

func (*TalkSessionAnalysisOKPositionsItem) SetIconURL

SetIconURL sets the value of IconURL.

func (*TalkSessionAnalysisOKPositionsItem) SetPerimeterIndex

func (s *TalkSessionAnalysisOKPositionsItem) SetPerimeterIndex(val OptInt)

SetPerimeterIndex sets the value of PerimeterIndex.

func (*TalkSessionAnalysisOKPositionsItem) SetPosX

SetPosX sets the value of PosX.

func (*TalkSessionAnalysisOKPositionsItem) SetPosY

SetPosY sets the value of PosY.

func (*TalkSessionAnalysisOKPositionsItem) UnmarshalJSON

func (s *TalkSessionAnalysisOKPositionsItem) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*TalkSessionAnalysisOKPositionsItem) Validate

type TalkSessionAnalysisParams

type TalkSessionAnalysisParams struct {
	TalkSessionId string
}

TalkSessionAnalysisParams is parameters of talkSessionAnalysis operation.

type TalkSessionAnalysisRes

type TalkSessionAnalysisRes interface {
	// contains filtered or unexported methods
}

type TalkSessionHandler

type TalkSessionHandler interface {
	// CreateTalkSession implements createTalkSession operation.
	//
	// セッション作成.
	//
	// POST /talksessions
	CreateTalkSession(ctx context.Context, req OptCreateTalkSessionReq) (CreateTalkSessionRes, error)
	// EditTalkSession implements editTalkSession operation.
	//
	// セッション編集.
	//
	// PUT /talksessions/{talkSessionId}
	EditTalkSession(ctx context.Context, req OptEditTalkSessionReq, params EditTalkSessionParams) (EditTalkSessionRes, error)
	// GetConclusion implements getConclusion operation.
	//
	// 結論取得.
	//
	// GET /talksessions/{talkSessionID}/conclusion
	GetConclusion(ctx context.Context, params GetConclusionParams) (GetConclusionRes, error)
	// GetOpenedTalkSession implements getOpenedTalkSession operation.
	//
	// 自分が開いたセッション一覧.
	//
	// GET /talksessions/opened
	GetOpenedTalkSession(ctx context.Context, params GetOpenedTalkSessionParams) (GetOpenedTalkSessionRes, error)
	// GetTalkSessionDetail implements getTalkSessionDetail operation.
	//
	// トークセッションの詳細.
	//
	// GET /talksessions/{talkSessionId}
	GetTalkSessionDetail(ctx context.Context, params GetTalkSessionDetailParams) (GetTalkSessionDetailRes, error)
	// GetTalkSessionList implements getTalkSessionList operation.
	//
	// セッション一覧.
	//
	// GET /talksessions
	GetTalkSessionList(ctx context.Context, params GetTalkSessionListParams) (GetTalkSessionListRes, error)
	// GetTalkSessionReport implements getTalkSessionReport operation.
	//
	// セッションレポートを返す.
	//
	// GET /talksessions/{talkSessionId}/report
	GetTalkSessionReport(ctx context.Context, params GetTalkSessionReportParams) (GetTalkSessionReportRes, error)
	// PostConclusion implements postConclusion operation.
	//
	// 結論(conclusion)はセッションが終了した後にセッっションの作成者が投稿できる文章。
	// セッションの流れやグループの分かれ方などに対するセッション作成者の感想やそれらの意見を受け、これからの方向性などを記入する。.
	//
	// POST /talksessions/{talkSessionID}/conclusion
	PostConclusion(ctx context.Context, req OptPostConclusionReq, params PostConclusionParams) (PostConclusionRes, error)
	// TalkSessionAnalysis implements talkSessionAnalysis operation.
	//
	// 分析結果一覧.
	//
	// GET /talksessions/{talkSessionId}/analysis
	TalkSessionAnalysis(ctx context.Context, params TalkSessionAnalysisParams) (TalkSessionAnalysisRes, error)
}

TalkSessionHandler handles operations described by OpenAPI v3 specification.

x-ogen-operation-group: TalkSession

type TestBadRequest

type TestBadRequest struct{}

func (*TestBadRequest) Decode

func (s *TestBadRequest) Decode(d *jx.Decoder) error

Decode decodes TestBadRequest from json.

func (*TestBadRequest) Encode

func (s *TestBadRequest) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*TestBadRequest) MarshalJSON

func (s *TestBadRequest) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*TestBadRequest) UnmarshalJSON

func (s *TestBadRequest) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type TestHandler

type TestHandler interface {
	// DummiInit implements dummiInit operation.
	//
	// Mudai.
	//
	// POST /test/dummy
	DummiInit(ctx context.Context) (DummiInitRes, error)
	// Test implements test operation.
	//
	// OpenAPIテスト用.
	//
	// GET /test
	Test(ctx context.Context) (TestRes, error)
}

TestHandler handles operations described by OpenAPI v3 specification.

x-ogen-operation-group: Test

type TestInternalServerError

type TestInternalServerError struct{}

func (*TestInternalServerError) Decode

func (s *TestInternalServerError) Decode(d *jx.Decoder) error

Decode decodes TestInternalServerError from json.

func (*TestInternalServerError) Encode

func (s *TestInternalServerError) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*TestInternalServerError) MarshalJSON

func (s *TestInternalServerError) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*TestInternalServerError) UnmarshalJSON

func (s *TestInternalServerError) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type TestOK

type TestOK struct {
	OptInt     OptNilInt    `json:"optInt"`
	OptNilInt  OptInt       `json:"optNilInt"`
	OptNilBool OptNilBool   `json:"optNilBool"`
	OptBool    OptBool      `json:"optBool"`
	OptUrl     OptURI       `json:"optUrl"`
	OptNilUrl  OptNilString `json:"optNilUrl"`
}

func (*TestOK) Decode

func (s *TestOK) Decode(d *jx.Decoder) error

Decode decodes TestOK from json.

func (*TestOK) Encode

func (s *TestOK) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*TestOK) GetOptBool

func (s *TestOK) GetOptBool() OptBool

GetOptBool returns the value of OptBool.

func (*TestOK) GetOptInt

func (s *TestOK) GetOptInt() OptNilInt

GetOptInt returns the value of OptInt.

func (*TestOK) GetOptNilBool

func (s *TestOK) GetOptNilBool() OptNilBool

GetOptNilBool returns the value of OptNilBool.

func (*TestOK) GetOptNilInt

func (s *TestOK) GetOptNilInt() OptInt

GetOptNilInt returns the value of OptNilInt.

func (*TestOK) GetOptNilUrl

func (s *TestOK) GetOptNilUrl() OptNilString

GetOptNilUrl returns the value of OptNilUrl.

func (*TestOK) GetOptUrl

func (s *TestOK) GetOptUrl() OptURI

GetOptUrl returns the value of OptUrl.

func (*TestOK) MarshalJSON

func (s *TestOK) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*TestOK) SetOptBool

func (s *TestOK) SetOptBool(val OptBool)

SetOptBool sets the value of OptBool.

func (*TestOK) SetOptInt

func (s *TestOK) SetOptInt(val OptNilInt)

SetOptInt sets the value of OptInt.

func (*TestOK) SetOptNilBool

func (s *TestOK) SetOptNilBool(val OptNilBool)

SetOptNilBool sets the value of OptNilBool.

func (*TestOK) SetOptNilInt

func (s *TestOK) SetOptNilInt(val OptInt)

SetOptNilInt sets the value of OptNilInt.

func (*TestOK) SetOptNilUrl

func (s *TestOK) SetOptNilUrl(val OptNilString)

SetOptNilUrl sets the value of OptNilUrl.

func (*TestOK) SetOptUrl

func (s *TestOK) SetOptUrl(val OptURI)

SetOptUrl sets the value of OptUrl.

func (*TestOK) UnmarshalJSON

func (s *TestOK) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type TestRes

type TestRes interface {
	// contains filtered or unexported methods
}

type TimelineHandler

type TimelineHandler interface {
	// EditTimeLine implements editTimeLine operation.
	//
	// タイムライン編集.
	//
	// PUT /talksessions/{talkSessionID}/timelines/{actionItemID}
	EditTimeLine(ctx context.Context, req OptEditTimeLineReq, params EditTimeLineParams) (EditTimeLineRes, error)
	// GetTimeLine implements getTimeLine operation.
	//
	// タイムラインはセッション終了後にセッション作成者が設定できるその後の予定を知らせるもの.
	//
	// GET /talksessions/{talkSessionID}/timelines
	GetTimeLine(ctx context.Context, params GetTimeLineParams) (GetTimeLineRes, error)
	// PostTimeLineItem implements postTimeLineItem operation.
	//
	// タイムラインアイテム追加.
	//
	// POST /talksessions/{talkSessionID}/timeline
	PostTimeLineItem(ctx context.Context, req OptPostTimeLineItemReq, params PostTimeLineItemParams) (PostTimeLineItemRes, error)
}

TimelineHandler handles operations described by OpenAPI v3 specification.

x-ogen-operation-group: Timeline

type UnimplementedHandler

type UnimplementedHandler struct{}

UnimplementedHandler is no-op Handler which returns http.ErrNotImplemented.

func (UnimplementedHandler) Authorize

Authorize implements authorize operation.

認証画面を表示する.

GET /auth/{provider}/login

func (UnimplementedHandler) CreateTalkSession

CreateTalkSession implements createTalkSession operation.

セッション作成.

POST /talksessions

func (UnimplementedHandler) DummiInit

func (UnimplementedHandler) DummiInit(ctx context.Context) (r DummiInitRes, _ error)

DummiInit implements dummiInit operation.

Mudai.

POST /test/dummy

func (UnimplementedHandler) EditTalkSession

EditTalkSession implements editTalkSession operation.

セッション編集.

PUT /talksessions/{talkSessionId}

func (UnimplementedHandler) EditTimeLine

EditTimeLine implements editTimeLine operation.

タイムライン編集.

PUT /talksessions/{talkSessionID}/timelines/{actionItemID}

func (UnimplementedHandler) EditUserProfile

EditUserProfile implements editUserProfile operation.

ユーザー情報の変更.

PUT /user

func (UnimplementedHandler) GetConclusion

GetConclusion implements getConclusion operation.

結論取得.

GET /talksessions/{talkSessionID}/conclusion

func (UnimplementedHandler) GetOpenedTalkSession

GetOpenedTalkSession implements getOpenedTalkSession operation.

自分が開いたセッション一覧.

GET /talksessions/opened

func (UnimplementedHandler) GetOpinionDetail

GetOpinionDetail implements getOpinionDetail operation.

意見の詳細.

GET /talksessions/{talkSessionID}/opinions/{opinionID}

func (UnimplementedHandler) GetOpinionsForTalkSession

GetOpinionsForTalkSession implements getOpinionsForTalkSession operation.

セッションに対する意見一覧.

GET /talksessions/{talkSessionID}/opinions

func (UnimplementedHandler) GetTalkSessionDetail

GetTalkSessionDetail implements getTalkSessionDetail operation.

トークセッションの詳細.

GET /talksessions/{talkSessionId}

func (UnimplementedHandler) GetTalkSessionList

GetTalkSessionList implements getTalkSessionList operation.

セッション一覧.

GET /talksessions

func (UnimplementedHandler) GetTalkSessionReport

GetTalkSessionReport implements getTalkSessionReport operation.

セッションレポートを返す.

GET /talksessions/{talkSessionId}/report

func (UnimplementedHandler) GetTimeLine

GetTimeLine implements getTimeLine operation.

タイムラインはセッション終了後にセッション作成者が設定できるその後の予定を知らせるもの.

GET /talksessions/{talkSessionID}/timelines

func (UnimplementedHandler) GetUserInfo

func (UnimplementedHandler) GetUserInfo(ctx context.Context) (r GetUserInfoRes, _ error)

GetUserInfo implements get_user_info operation.

ユーザー情報の取得.

GET /user

func (UnimplementedHandler) ManageIndex

func (UnimplementedHandler) ManageIndex(ctx context.Context) (r ManageIndexOK, _ error)

ManageIndex implements manageIndex operation.

GET /manage

func (UnimplementedHandler) ManageRegenerate

ManageRegenerate implements manageRegenerate operation.

Analysisを再生成する。enum: [report, group, image].

POST /manage/regenerate

func (UnimplementedHandler) OAuthCallback

OAuthCallback implements oauth_callback operation.

Auth Callback.

GET /auth/{provider}/callback

func (UnimplementedHandler) OAuthRevoke

func (UnimplementedHandler) OAuthRevoke(ctx context.Context) (r OAuthRevokeRes, _ error)

OAuthRevoke implements oauth_revoke operation.

アクセストークンを失効.

POST /auth/revoke

func (UnimplementedHandler) OAuthTokenInfo

func (UnimplementedHandler) OAuthTokenInfo(ctx context.Context) (r OAuthTokenInfoRes, _ error)

OAuthTokenInfo implements oauth_token_info operation.

JWTの内容を返してくれる.

GET /auth/token/info

func (UnimplementedHandler) OpinionComments

OpinionComments implements opinionComments operation.

意見に対するリプライ意見一覧.

GET /talksessions/{talkSessionID}/opinions/{opinionID}/replies

func (UnimplementedHandler) OpinionComments2

OpinionComments2 implements opinionComments2 operation.

意見に対するリプライ意見一覧 Copy.

GET /talksessions/{talkSessionID}/opinions/{opinionID}/replies2

func (UnimplementedHandler) OpinionsHistory

OpinionsHistory implements opinionsHistory operation.

今までに投稿した異見.

GET /opinions/histories

func (UnimplementedHandler) PostConclusion

PostConclusion implements postConclusion operation.

結論(conclusion)はセッションが終了した後にセッっションの作成者が投稿できる文章。 セッションの流れやグループの分かれ方などに対するセッション作成者の感想やそれらの意見を受け、これからの方向性などを記入する。.

POST /talksessions/{talkSessionID}/conclusion

func (UnimplementedHandler) PostOpinionPost

PostOpinionPost implements postOpinionPost operation.

ParentOpinionIDがなければルートの意見として投稿される.

POST /talksessions/{talkSessionID}/opinions

func (UnimplementedHandler) PostTimeLineItem

PostTimeLineItem implements postTimeLineItem operation.

タイムラインアイテム追加.

POST /talksessions/{talkSessionID}/timeline

func (UnimplementedHandler) RegisterUser

RegisterUser implements registerUser operation.

ユーザー作成.

POST /user

func (UnimplementedHandler) SessionsHistory

SessionsHistory implements sessionsHistory operation.

リアクション済みのセッション一覧.

GET /talksessions/histories

func (UnimplementedHandler) SwipeOpinions

SwipeOpinions implements swipe_opinions operation.

セッションの中からまだ投票していない意見をランダムに取得する.

GET /talksessions/{talkSessionID}/swipe_opinions

func (UnimplementedHandler) TalkSessionAnalysis

TalkSessionAnalysis implements talkSessionAnalysis operation.

分析結果一覧.

GET /talksessions/{talkSessionId}/analysis

func (UnimplementedHandler) Test

Test implements test operation.

OpenAPIテスト用.

GET /test

func (UnimplementedHandler) Vote

func (UnimplementedHandler) Vote(ctx context.Context, req OptVoteReq, params VoteParams) (r VoteRes, _ error)

Vote implements vote operation.

意思表明API.

POST /talksessions/{talkSessionID}/opinions/{opinionID}/votes

type UserHandler

type UserHandler interface {
	// EditUserProfile implements editUserProfile operation.
	//
	// ユーザー情報の変更.
	//
	// PUT /user
	EditUserProfile(ctx context.Context, req OptEditUserProfileReq) (EditUserProfileRes, error)
	// GetUserInfo implements get_user_info operation.
	//
	// ユーザー情報の取得.
	//
	// GET /user
	GetUserInfo(ctx context.Context) (GetUserInfoRes, error)
	// OpinionsHistory implements opinionsHistory operation.
	//
	// 今までに投稿した異見.
	//
	// GET /opinions/histories
	OpinionsHistory(ctx context.Context, params OpinionsHistoryParams) (OpinionsHistoryRes, error)
	// RegisterUser implements registerUser operation.
	//
	// ユーザー作成.
	//
	// POST /user
	RegisterUser(ctx context.Context, req OptRegisterUserReq) (RegisterUserRes, error)
	// SessionsHistory implements sessionsHistory operation.
	//
	// リアクション済みのセッション一覧.
	//
	// GET /talksessions/histories
	SessionsHistory(ctx context.Context, params SessionsHistoryParams) (SessionsHistoryRes, error)
}

UserHandler handles operations described by OpenAPI v3 specification.

x-ogen-operation-group: User

type VoteBadRequest

type VoteBadRequest struct {
	Code    string `json:"code"`
	Message string `json:"message"`
}

func (*VoteBadRequest) Decode

func (s *VoteBadRequest) Decode(d *jx.Decoder) error

Decode decodes VoteBadRequest from json.

func (*VoteBadRequest) Encode

func (s *VoteBadRequest) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*VoteBadRequest) GetCode

func (s *VoteBadRequest) GetCode() string

GetCode returns the value of Code.

func (*VoteBadRequest) GetMessage

func (s *VoteBadRequest) GetMessage() string

GetMessage returns the value of Message.

func (*VoteBadRequest) MarshalJSON

func (s *VoteBadRequest) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*VoteBadRequest) SetCode

func (s *VoteBadRequest) SetCode(val string)

SetCode sets the value of Code.

func (*VoteBadRequest) SetMessage

func (s *VoteBadRequest) SetMessage(val string)

SetMessage sets the value of Message.

func (*VoteBadRequest) UnmarshalJSON

func (s *VoteBadRequest) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type VoteHandler

type VoteHandler interface {
	// Vote implements vote operation.
	//
	// 意思表明API.
	//
	// POST /talksessions/{talkSessionID}/opinions/{opinionID}/votes
	Vote(ctx context.Context, req OptVoteReq, params VoteParams) (VoteRes, error)
}

VoteHandler handles operations described by OpenAPI v3 specification.

x-ogen-operation-group: Vote

type VoteInternalServerError

type VoteInternalServerError struct {
	Code    string `json:"code"`
	Message string `json:"message"`
}

func (*VoteInternalServerError) Decode

func (s *VoteInternalServerError) Decode(d *jx.Decoder) error

Decode decodes VoteInternalServerError from json.

func (*VoteInternalServerError) Encode

func (s *VoteInternalServerError) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*VoteInternalServerError) GetCode

func (s *VoteInternalServerError) GetCode() string

GetCode returns the value of Code.

func (*VoteInternalServerError) GetMessage

func (s *VoteInternalServerError) GetMessage() string

GetMessage returns the value of Message.

func (*VoteInternalServerError) MarshalJSON

func (s *VoteInternalServerError) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*VoteInternalServerError) SetCode

func (s *VoteInternalServerError) SetCode(val string)

SetCode sets the value of Code.

func (*VoteInternalServerError) SetMessage

func (s *VoteInternalServerError) SetMessage(val string)

SetMessage sets the value of Message.

func (*VoteInternalServerError) UnmarshalJSON

func (s *VoteInternalServerError) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type VoteOKApplicationJSON

type VoteOKApplicationJSON []VoteOKItem

func (*VoteOKApplicationJSON) Decode

func (s *VoteOKApplicationJSON) Decode(d *jx.Decoder) error

Decode decodes VoteOKApplicationJSON from json.

func (VoteOKApplicationJSON) Encode

func (s VoteOKApplicationJSON) Encode(e *jx.Encoder)

Encode encodes VoteOKApplicationJSON as json.

func (VoteOKApplicationJSON) MarshalJSON

func (s VoteOKApplicationJSON) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*VoteOKApplicationJSON) UnmarshalJSON

func (s *VoteOKApplicationJSON) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (VoteOKApplicationJSON) Validate

func (s VoteOKApplicationJSON) Validate() error

type VoteOKItem

type VoteOKItem struct {
	// 意見ID.
	ID    string    `json:"id"`
	Title OptString `json:"title"`
	// 意見のテキスト.
	Content string `json:"content"`
	// 親の意見ID。ルートならば無し.
	ParentID OptString `json:"parentID"`
	// 意見投稿主の意見。ルート意見の場合はここには何も入らない.
	VoteType OptVoteOKItemVoteType `json:"voteType"`
	// 画像が返る場合もある.
	PictureURL OptString `json:"pictureURL"`
	// 参考文献URL.
	ReferenceURL OptString `json:"referenceURL"`
	PostedAt     string    `json:"postedAt"`
}

func (*VoteOKItem) Decode

func (s *VoteOKItem) Decode(d *jx.Decoder) error

Decode decodes VoteOKItem from json.

func (*VoteOKItem) Encode

func (s *VoteOKItem) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*VoteOKItem) GetContent

func (s *VoteOKItem) GetContent() string

GetContent returns the value of Content.

func (*VoteOKItem) GetID

func (s *VoteOKItem) GetID() string

GetID returns the value of ID.

func (*VoteOKItem) GetParentID

func (s *VoteOKItem) GetParentID() OptString

GetParentID returns the value of ParentID.

func (*VoteOKItem) GetPictureURL

func (s *VoteOKItem) GetPictureURL() OptString

GetPictureURL returns the value of PictureURL.

func (*VoteOKItem) GetPostedAt

func (s *VoteOKItem) GetPostedAt() string

GetPostedAt returns the value of PostedAt.

func (*VoteOKItem) GetReferenceURL

func (s *VoteOKItem) GetReferenceURL() OptString

GetReferenceURL returns the value of ReferenceURL.

func (*VoteOKItem) GetTitle

func (s *VoteOKItem) GetTitle() OptString

GetTitle returns the value of Title.

func (*VoteOKItem) GetVoteType

func (s *VoteOKItem) GetVoteType() OptVoteOKItemVoteType

GetVoteType returns the value of VoteType.

func (*VoteOKItem) MarshalJSON

func (s *VoteOKItem) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*VoteOKItem) SetContent

func (s *VoteOKItem) SetContent(val string)

SetContent sets the value of Content.

func (*VoteOKItem) SetID

func (s *VoteOKItem) SetID(val string)

SetID sets the value of ID.

func (*VoteOKItem) SetParentID

func (s *VoteOKItem) SetParentID(val OptString)

SetParentID sets the value of ParentID.

func (*VoteOKItem) SetPictureURL

func (s *VoteOKItem) SetPictureURL(val OptString)

SetPictureURL sets the value of PictureURL.

func (*VoteOKItem) SetPostedAt

func (s *VoteOKItem) SetPostedAt(val string)

SetPostedAt sets the value of PostedAt.

func (*VoteOKItem) SetReferenceURL

func (s *VoteOKItem) SetReferenceURL(val OptString)

SetReferenceURL sets the value of ReferenceURL.

func (*VoteOKItem) SetTitle

func (s *VoteOKItem) SetTitle(val OptString)

SetTitle sets the value of Title.

func (*VoteOKItem) SetVoteType

func (s *VoteOKItem) SetVoteType(val OptVoteOKItemVoteType)

SetVoteType sets the value of VoteType.

func (*VoteOKItem) UnmarshalJSON

func (s *VoteOKItem) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*VoteOKItem) Validate

func (s *VoteOKItem) Validate() error

type VoteOKItemVoteType

type VoteOKItemVoteType string

意見投稿主の意見。ルート意見の場合はここには何も入らない.

const (
	VoteOKItemVoteTypeAgree    VoteOKItemVoteType = "agree"
	VoteOKItemVoteTypeDisagree VoteOKItemVoteType = "disagree"
	VoteOKItemVoteTypePass     VoteOKItemVoteType = "pass"
)

func (VoteOKItemVoteType) AllValues

func (VoteOKItemVoteType) AllValues() []VoteOKItemVoteType

AllValues returns all VoteOKItemVoteType values.

func (*VoteOKItemVoteType) Decode

func (s *VoteOKItemVoteType) Decode(d *jx.Decoder) error

Decode decodes VoteOKItemVoteType from json.

func (VoteOKItemVoteType) Encode

func (s VoteOKItemVoteType) Encode(e *jx.Encoder)

Encode encodes VoteOKItemVoteType as json.

func (VoteOKItemVoteType) MarshalJSON

func (s VoteOKItemVoteType) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (VoteOKItemVoteType) MarshalText

func (s VoteOKItemVoteType) MarshalText() ([]byte, error)

MarshalText implements encoding.TextMarshaler.

func (*VoteOKItemVoteType) UnmarshalJSON

func (s *VoteOKItemVoteType) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*VoteOKItemVoteType) UnmarshalText

func (s *VoteOKItemVoteType) UnmarshalText(data []byte) error

UnmarshalText implements encoding.TextUnmarshaler.

func (VoteOKItemVoteType) Validate

func (s VoteOKItemVoteType) Validate() error

type VoteParams

type VoteParams struct {
	// セッションのID.
	TalkSessionID string
	// 意見のID.
	OpinionID string
}

VoteParams is parameters of vote operation.

type VoteReq

type VoteReq struct {
	VoteStatus NilVoteReqVoteStatus `json:"voteStatus"`
}

func (*VoteReq) GetVoteStatus

func (s *VoteReq) GetVoteStatus() NilVoteReqVoteStatus

GetVoteStatus returns the value of VoteStatus.

func (*VoteReq) SetVoteStatus

func (s *VoteReq) SetVoteStatus(val NilVoteReqVoteStatus)

SetVoteStatus sets the value of VoteStatus.

func (*VoteReq) Validate

func (s *VoteReq) Validate() error

type VoteReqVoteStatus

type VoteReqVoteStatus string
const (
	VoteReqVoteStatusAgree    VoteReqVoteStatus = "agree"
	VoteReqVoteStatusDisagree VoteReqVoteStatus = "disagree"
	VoteReqVoteStatusPass     VoteReqVoteStatus = "pass"
)

func (VoteReqVoteStatus) AllValues

func (VoteReqVoteStatus) AllValues() []VoteReqVoteStatus

AllValues returns all VoteReqVoteStatus values.

func (VoteReqVoteStatus) MarshalText

func (s VoteReqVoteStatus) MarshalText() ([]byte, error)

MarshalText implements encoding.TextMarshaler.

func (*VoteReqVoteStatus) UnmarshalText

func (s *VoteReqVoteStatus) UnmarshalText(data []byte) error

UnmarshalText implements encoding.TextUnmarshaler.

func (VoteReqVoteStatus) Validate

func (s VoteReqVoteStatus) Validate() error

type VoteRes

type VoteRes interface {
	// contains filtered or unexported methods
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL