firefly

package
v0.1.35 Latest Latest
Warning

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

Go to latest
Published: May 2, 2024 License: MIT 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

func WithServerURL

func WithServerURL(ctx context.Context, u *url.URL) context.Context

WithServerURL sets context key to override server URL.

Types

type Account

type Account struct {
	CreatedAt OptDateTime `json:"created_at"`
	UpdatedAt OptDateTime `json:"updated_at"`
	// If omitted, defaults to true.
	Active OptBool `json:"active"`
	// Order of the account. Is NULL if account is not asset or liability.
	Order       OptNilInt32               `json:"order"`
	Name        string                    `json:"name"`
	Type        ShortAccountTypeProperty  `json:"type"`
	AccountRole OptNilAccountRoleProperty `json:"account_role"`
	// Use either currency_id or currency_code. Defaults to the user's default currency.
	CurrencyID OptString `json:"currency_id"`
	// Use either currency_id or currency_code. Defaults to the user's default currency.
	CurrencyCode          OptString `json:"currency_code"`
	CurrencySymbol        OptString `json:"currency_symbol"`
	CurrencyDecimalPlaces OptInt32  `json:"currency_decimal_places"`
	CurrentBalance        OptString `json:"current_balance"`
	// The timestamp for this date is always 23:59:59, to indicate it's the balance at the very END of
	// that particular day.
	CurrentBalanceDate OptDateTime  `json:"current_balance_date"`
	Iban               OptNilString `json:"iban"`
	Bic                OptNilString `json:"bic"`
	AccountNumber      OptNilString `json:"account_number"`
	// Represents the opening balance, the initial amount this account holds.
	OpeningBalance OptString `json:"opening_balance"`
	// Represents the current debt for liabilities.
	CurrentDebt OptNilString `json:"current_debt"`
	// Represents the date of the opening balance.
	OpeningBalanceDate OptNilDateTime `json:"opening_balance_date"`
	VirtualBalance     OptString      `json:"virtual_balance"`
	// If omitted, defaults to true.
	IncludeNetWorth OptBool              `json:"include_net_worth"`
	CreditCardType  OptNilCreditCardType `json:"credit_card_type"`
	// Mandatory when the account_role is ccAsset. Moment at which CC payment installments are asked for
	// by the bank.
	MonthlyPaymentDate OptNilDateTime           `json:"monthly_payment_date"`
	LiabilityType      OptNilLiabilityType      `json:"liability_type"`
	LiabilityDirection OptNilLiabilityDirection `json:"liability_direction"`
	// Mandatory when type is liability. Interest percentage.
	Interest       OptNilString         `json:"interest"`
	InterestPeriod OptNilInterestPeriod `json:"interest_period"`
	Notes          OptNilString         `json:"notes"`
	// Latitude of the accounts's location, if applicable. Can be used to draw a map.
	Latitude OptNilFloat64 `json:"latitude"`
	// Latitude of the accounts's location, if applicable. Can be used to draw a map.
	Longitude OptNilFloat64 `json:"longitude"`
	// Zoom level for the map, if drawn. This to set the box right. Unfortunately this is a proprietary
	// value because each map provider has different zoom levels.
	ZoomLevel OptNilInt32 `json:"zoom_level"`
}

Ref: #/components/schemas/Account

func (*Account) Decode

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

Decode decodes Account from json.

func (*Account) Encode

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

Encode implements json.Marshaler.

func (*Account) GetAccountNumber

func (s *Account) GetAccountNumber() OptNilString

GetAccountNumber returns the value of AccountNumber.

func (*Account) GetAccountRole

func (s *Account) GetAccountRole() OptNilAccountRoleProperty

GetAccountRole returns the value of AccountRole.

func (*Account) GetActive

func (s *Account) GetActive() OptBool

GetActive returns the value of Active.

func (*Account) GetBic

func (s *Account) GetBic() OptNilString

GetBic returns the value of Bic.

func (*Account) GetCreatedAt

func (s *Account) GetCreatedAt() OptDateTime

GetCreatedAt returns the value of CreatedAt.

func (*Account) GetCreditCardType

func (s *Account) GetCreditCardType() OptNilCreditCardType

GetCreditCardType returns the value of CreditCardType.

func (*Account) GetCurrencyCode

func (s *Account) GetCurrencyCode() OptString

GetCurrencyCode returns the value of CurrencyCode.

func (*Account) GetCurrencyDecimalPlaces

func (s *Account) GetCurrencyDecimalPlaces() OptInt32

GetCurrencyDecimalPlaces returns the value of CurrencyDecimalPlaces.

func (*Account) GetCurrencyID

func (s *Account) GetCurrencyID() OptString

GetCurrencyID returns the value of CurrencyID.

func (*Account) GetCurrencySymbol

func (s *Account) GetCurrencySymbol() OptString

GetCurrencySymbol returns the value of CurrencySymbol.

func (*Account) GetCurrentBalance

func (s *Account) GetCurrentBalance() OptString

GetCurrentBalance returns the value of CurrentBalance.

func (*Account) GetCurrentBalanceDate

func (s *Account) GetCurrentBalanceDate() OptDateTime

GetCurrentBalanceDate returns the value of CurrentBalanceDate.

func (*Account) GetCurrentDebt

func (s *Account) GetCurrentDebt() OptNilString

GetCurrentDebt returns the value of CurrentDebt.

func (*Account) GetIban

func (s *Account) GetIban() OptNilString

GetIban returns the value of Iban.

func (*Account) GetIncludeNetWorth

func (s *Account) GetIncludeNetWorth() OptBool

GetIncludeNetWorth returns the value of IncludeNetWorth.

func (*Account) GetInterest

func (s *Account) GetInterest() OptNilString

GetInterest returns the value of Interest.

func (*Account) GetInterestPeriod

func (s *Account) GetInterestPeriod() OptNilInterestPeriod

GetInterestPeriod returns the value of InterestPeriod.

func (*Account) GetLatitude

func (s *Account) GetLatitude() OptNilFloat64

GetLatitude returns the value of Latitude.

func (*Account) GetLiabilityDirection

func (s *Account) GetLiabilityDirection() OptNilLiabilityDirection

GetLiabilityDirection returns the value of LiabilityDirection.

func (*Account) GetLiabilityType

func (s *Account) GetLiabilityType() OptNilLiabilityType

GetLiabilityType returns the value of LiabilityType.

func (*Account) GetLongitude

func (s *Account) GetLongitude() OptNilFloat64

GetLongitude returns the value of Longitude.

func (*Account) GetMonthlyPaymentDate

func (s *Account) GetMonthlyPaymentDate() OptNilDateTime

GetMonthlyPaymentDate returns the value of MonthlyPaymentDate.

func (*Account) GetName

func (s *Account) GetName() string

GetName returns the value of Name.

func (*Account) GetNotes

func (s *Account) GetNotes() OptNilString

GetNotes returns the value of Notes.

func (*Account) GetOpeningBalance

func (s *Account) GetOpeningBalance() OptString

GetOpeningBalance returns the value of OpeningBalance.

func (*Account) GetOpeningBalanceDate

func (s *Account) GetOpeningBalanceDate() OptNilDateTime

GetOpeningBalanceDate returns the value of OpeningBalanceDate.

func (*Account) GetOrder

func (s *Account) GetOrder() OptNilInt32

GetOrder returns the value of Order.

func (*Account) GetType

func (s *Account) GetType() ShortAccountTypeProperty

GetType returns the value of Type.

func (*Account) GetUpdatedAt

func (s *Account) GetUpdatedAt() OptDateTime

GetUpdatedAt returns the value of UpdatedAt.

func (*Account) GetVirtualBalance

func (s *Account) GetVirtualBalance() OptString

GetVirtualBalance returns the value of VirtualBalance.

func (*Account) GetZoomLevel

func (s *Account) GetZoomLevel() OptNilInt32

GetZoomLevel returns the value of ZoomLevel.

func (*Account) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*Account) SetAccountNumber

func (s *Account) SetAccountNumber(val OptNilString)

SetAccountNumber sets the value of AccountNumber.

func (*Account) SetAccountRole

func (s *Account) SetAccountRole(val OptNilAccountRoleProperty)

SetAccountRole sets the value of AccountRole.

func (*Account) SetActive

func (s *Account) SetActive(val OptBool)

SetActive sets the value of Active.

func (*Account) SetBic

func (s *Account) SetBic(val OptNilString)

SetBic sets the value of Bic.

func (*Account) SetCreatedAt

func (s *Account) SetCreatedAt(val OptDateTime)

SetCreatedAt sets the value of CreatedAt.

func (*Account) SetCreditCardType

func (s *Account) SetCreditCardType(val OptNilCreditCardType)

SetCreditCardType sets the value of CreditCardType.

func (*Account) SetCurrencyCode

func (s *Account) SetCurrencyCode(val OptString)

SetCurrencyCode sets the value of CurrencyCode.

func (*Account) SetCurrencyDecimalPlaces

func (s *Account) SetCurrencyDecimalPlaces(val OptInt32)

SetCurrencyDecimalPlaces sets the value of CurrencyDecimalPlaces.

func (*Account) SetCurrencyID

func (s *Account) SetCurrencyID(val OptString)

SetCurrencyID sets the value of CurrencyID.

func (*Account) SetCurrencySymbol

func (s *Account) SetCurrencySymbol(val OptString)

SetCurrencySymbol sets the value of CurrencySymbol.

func (*Account) SetCurrentBalance

func (s *Account) SetCurrentBalance(val OptString)

SetCurrentBalance sets the value of CurrentBalance.

func (*Account) SetCurrentBalanceDate

func (s *Account) SetCurrentBalanceDate(val OptDateTime)

SetCurrentBalanceDate sets the value of CurrentBalanceDate.

func (*Account) SetCurrentDebt

func (s *Account) SetCurrentDebt(val OptNilString)

SetCurrentDebt sets the value of CurrentDebt.

func (*Account) SetIban

func (s *Account) SetIban(val OptNilString)

SetIban sets the value of Iban.

func (*Account) SetIncludeNetWorth

func (s *Account) SetIncludeNetWorth(val OptBool)

SetIncludeNetWorth sets the value of IncludeNetWorth.

func (*Account) SetInterest

func (s *Account) SetInterest(val OptNilString)

SetInterest sets the value of Interest.

func (*Account) SetInterestPeriod

func (s *Account) SetInterestPeriod(val OptNilInterestPeriod)

SetInterestPeriod sets the value of InterestPeriod.

func (*Account) SetLatitude

func (s *Account) SetLatitude(val OptNilFloat64)

SetLatitude sets the value of Latitude.

func (*Account) SetLiabilityDirection

func (s *Account) SetLiabilityDirection(val OptNilLiabilityDirection)

SetLiabilityDirection sets the value of LiabilityDirection.

func (*Account) SetLiabilityType

func (s *Account) SetLiabilityType(val OptNilLiabilityType)

SetLiabilityType sets the value of LiabilityType.

func (*Account) SetLongitude

func (s *Account) SetLongitude(val OptNilFloat64)

SetLongitude sets the value of Longitude.

func (*Account) SetMonthlyPaymentDate

func (s *Account) SetMonthlyPaymentDate(val OptNilDateTime)

SetMonthlyPaymentDate sets the value of MonthlyPaymentDate.

func (*Account) SetName

func (s *Account) SetName(val string)

SetName sets the value of Name.

func (*Account) SetNotes

func (s *Account) SetNotes(val OptNilString)

SetNotes sets the value of Notes.

func (*Account) SetOpeningBalance

func (s *Account) SetOpeningBalance(val OptString)

SetOpeningBalance sets the value of OpeningBalance.

func (*Account) SetOpeningBalanceDate

func (s *Account) SetOpeningBalanceDate(val OptNilDateTime)

SetOpeningBalanceDate sets the value of OpeningBalanceDate.

func (*Account) SetOrder

func (s *Account) SetOrder(val OptNilInt32)

SetOrder sets the value of Order.

func (*Account) SetType

func (s *Account) SetType(val ShortAccountTypeProperty)

SetType sets the value of Type.

func (*Account) SetUpdatedAt

func (s *Account) SetUpdatedAt(val OptDateTime)

SetUpdatedAt sets the value of UpdatedAt.

func (*Account) SetVirtualBalance

func (s *Account) SetVirtualBalance(val OptString)

SetVirtualBalance sets the value of VirtualBalance.

func (*Account) SetZoomLevel

func (s *Account) SetZoomLevel(val OptNilInt32)

SetZoomLevel sets the value of ZoomLevel.

func (*Account) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

func (*Account) Validate

func (s *Account) Validate() error

type AccountArray

type AccountArray struct {
	Data []AccountRead `json:"data"`
	Meta Meta          `json:"meta"`
}

Ref: #/components/schemas/AccountArray

func (*AccountArray) Decode

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

Decode decodes AccountArray from json.

func (*AccountArray) Encode

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

Encode implements json.Marshaler.

func (*AccountArray) GetData

func (s *AccountArray) GetData() []AccountRead

GetData returns the value of Data.

func (*AccountArray) GetMeta

func (s *AccountArray) GetMeta() Meta

GetMeta returns the value of Meta.

func (*AccountArray) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*AccountArray) SetData

func (s *AccountArray) SetData(val []AccountRead)

SetData sets the value of Data.

func (*AccountArray) SetMeta

func (s *AccountArray) SetMeta(val Meta)

SetMeta sets the value of Meta.

func (*AccountArray) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

func (*AccountArray) Validate

func (s *AccountArray) Validate() error

type AccountRead

type AccountRead struct {
	// Immutable value.
	Type       string  `json:"type"`
	ID         string  `json:"id"`
	Attributes Account `json:"attributes"`
}

Ref: #/components/schemas/AccountRead

func (*AccountRead) Decode

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

Decode decodes AccountRead from json.

func (*AccountRead) Encode

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

Encode implements json.Marshaler.

func (*AccountRead) GetAttributes

func (s *AccountRead) GetAttributes() Account

GetAttributes returns the value of Attributes.

func (*AccountRead) GetID

func (s *AccountRead) GetID() string

GetID returns the value of ID.

func (*AccountRead) GetType

func (s *AccountRead) GetType() string

GetType returns the value of Type.

func (*AccountRead) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*AccountRead) SetAttributes

func (s *AccountRead) SetAttributes(val Account)

SetAttributes sets the value of Attributes.

func (*AccountRead) SetID

func (s *AccountRead) SetID(val string)

SetID sets the value of ID.

func (*AccountRead) SetType

func (s *AccountRead) SetType(val string)

SetType sets the value of Type.

func (*AccountRead) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

func (*AccountRead) Validate

func (s *AccountRead) Validate() error

type AccountRoleProperty

type AccountRoleProperty string

Is only mandatory when the type is asset. Ref: #/components/schemas/AccountRoleProperty

const (
	AccountRolePropertyDefaultAsset    AccountRoleProperty = "defaultAsset"
	AccountRolePropertySharedAsset     AccountRoleProperty = "sharedAsset"
	AccountRolePropertySavingAsset     AccountRoleProperty = "savingAsset"
	AccountRolePropertyCcAsset         AccountRoleProperty = "ccAsset"
	AccountRolePropertyCashWalletAsset AccountRoleProperty = "cashWalletAsset"
)

func (AccountRoleProperty) AllValues

AllValues returns all AccountRoleProperty values.

func (*AccountRoleProperty) Decode

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

Decode decodes AccountRoleProperty from json.

func (AccountRoleProperty) Encode

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

Encode encodes AccountRoleProperty as json.

func (AccountRoleProperty) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (AccountRoleProperty) MarshalText

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

MarshalText implements encoding.TextMarshaler.

func (*AccountRoleProperty) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

func (*AccountRoleProperty) UnmarshalText

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

UnmarshalText implements encoding.TextUnmarshaler.

func (AccountRoleProperty) Validate

func (s AccountRoleProperty) Validate() error

type AccountSearchFieldFilter

type AccountSearchFieldFilter string

Ref: #/components/schemas/AccountSearchFieldFilter

const (
	AccountSearchFieldFilterAll    AccountSearchFieldFilter = "all"
	AccountSearchFieldFilterIban   AccountSearchFieldFilter = "iban"
	AccountSearchFieldFilterName   AccountSearchFieldFilter = "name"
	AccountSearchFieldFilterNumber AccountSearchFieldFilter = "number"
	AccountSearchFieldFilterID     AccountSearchFieldFilter = "id"
)

func (AccountSearchFieldFilter) AllValues

AllValues returns all AccountSearchFieldFilter values.

func (AccountSearchFieldFilter) MarshalText

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

MarshalText implements encoding.TextMarshaler.

func (*AccountSearchFieldFilter) UnmarshalText

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

UnmarshalText implements encoding.TextUnmarshaler.

func (AccountSearchFieldFilter) Validate

func (s AccountSearchFieldFilter) Validate() error

type AccountSingle

type AccountSingle struct {
	Data AccountRead `json:"data"`
}

Ref: #/components/schemas/AccountSingle

func (*AccountSingle) Decode

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

Decode decodes AccountSingle from json.

func (*AccountSingle) Encode

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

Encode implements json.Marshaler.

func (*AccountSingle) GetData

func (s *AccountSingle) GetData() AccountRead

GetData returns the value of Data.

func (*AccountSingle) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*AccountSingle) SetData

func (s *AccountSingle) SetData(val AccountRead)

SetData sets the value of Data.

func (*AccountSingle) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

func (*AccountSingle) Validate

func (s *AccountSingle) Validate() error

type AccountStore

type AccountStore struct {
	Name          string                   `json:"name"`
	Type          ShortAccountTypeProperty `json:"type"`
	Iban          OptNilString             `json:"iban"`
	Bic           OptNilString             `json:"bic"`
	AccountNumber OptNilString             `json:"account_number"`
	// Represents the opening balance, the initial amount this account holds.
	OpeningBalance OptString `json:"opening_balance"`
	// Represents the date of the opening balance.
	OpeningBalanceDate OptNilDateTime `json:"opening_balance_date"`
	VirtualBalance     OptString      `json:"virtual_balance"`
	// Use either currency_id or currency_code. Defaults to the user's default currency.
	CurrencyID OptString `json:"currency_id"`
	// Use either currency_id or currency_code. Defaults to the user's default currency.
	CurrencyCode OptString `json:"currency_code"`
	// If omitted, defaults to true.
	Active OptBool `json:"active"`
	// Order of the account.
	Order OptInt32 `json:"order"`
	// If omitted, defaults to true.
	IncludeNetWorth OptBool                   `json:"include_net_worth"`
	AccountRole     OptNilAccountRoleProperty `json:"account_role"`
	CreditCardType  OptNilCreditCardType      `json:"credit_card_type"`
	// Mandatory when the account_role is ccAsset. Moment at which CC payment installments are asked for
	// by the bank.
	MonthlyPaymentDate OptNilDateTime           `json:"monthly_payment_date"`
	LiabilityType      OptNilLiabilityType      `json:"liability_type"`
	LiabilityDirection OptNilLiabilityDirection `json:"liability_direction"`
	// Mandatory when type is liability. Interest percentage.
	Interest       OptNilString         `json:"interest"`
	InterestPeriod OptNilInterestPeriod `json:"interest_period"`
	Notes          OptNilString         `json:"notes"`
	// Latitude of the accounts's location, if applicable. Can be used to draw a map.
	Latitude OptNilFloat64 `json:"latitude"`
	// Latitude of the accounts's location, if applicable. Can be used to draw a map.
	Longitude OptNilFloat64 `json:"longitude"`
	// Zoom level for the map, if drawn. This to set the box right. Unfortunately this is a proprietary
	// value because each map provider has different zoom levels.
	ZoomLevel OptNilInt32 `json:"zoom_level"`
}

Ref: #/components/schemas/AccountStore

func (*AccountStore) Decode

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

Decode decodes AccountStore from json.

func (*AccountStore) Encode

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

Encode implements json.Marshaler.

func (*AccountStore) GetAccountNumber

func (s *AccountStore) GetAccountNumber() OptNilString

GetAccountNumber returns the value of AccountNumber.

func (*AccountStore) GetAccountRole

func (s *AccountStore) GetAccountRole() OptNilAccountRoleProperty

GetAccountRole returns the value of AccountRole.

func (*AccountStore) GetActive

func (s *AccountStore) GetActive() OptBool

GetActive returns the value of Active.

func (*AccountStore) GetBic

func (s *AccountStore) GetBic() OptNilString

GetBic returns the value of Bic.

func (*AccountStore) GetCreditCardType

func (s *AccountStore) GetCreditCardType() OptNilCreditCardType

GetCreditCardType returns the value of CreditCardType.

func (*AccountStore) GetCurrencyCode

func (s *AccountStore) GetCurrencyCode() OptString

GetCurrencyCode returns the value of CurrencyCode.

func (*AccountStore) GetCurrencyID

func (s *AccountStore) GetCurrencyID() OptString

GetCurrencyID returns the value of CurrencyID.

func (*AccountStore) GetIban

func (s *AccountStore) GetIban() OptNilString

GetIban returns the value of Iban.

func (*AccountStore) GetIncludeNetWorth

func (s *AccountStore) GetIncludeNetWorth() OptBool

GetIncludeNetWorth returns the value of IncludeNetWorth.

func (*AccountStore) GetInterest

func (s *AccountStore) GetInterest() OptNilString

GetInterest returns the value of Interest.

func (*AccountStore) GetInterestPeriod

func (s *AccountStore) GetInterestPeriod() OptNilInterestPeriod

GetInterestPeriod returns the value of InterestPeriod.

func (*AccountStore) GetLatitude

func (s *AccountStore) GetLatitude() OptNilFloat64

GetLatitude returns the value of Latitude.

func (*AccountStore) GetLiabilityDirection

func (s *AccountStore) GetLiabilityDirection() OptNilLiabilityDirection

GetLiabilityDirection returns the value of LiabilityDirection.

func (*AccountStore) GetLiabilityType

func (s *AccountStore) GetLiabilityType() OptNilLiabilityType

GetLiabilityType returns the value of LiabilityType.

func (*AccountStore) GetLongitude

func (s *AccountStore) GetLongitude() OptNilFloat64

GetLongitude returns the value of Longitude.

func (*AccountStore) GetMonthlyPaymentDate

func (s *AccountStore) GetMonthlyPaymentDate() OptNilDateTime

GetMonthlyPaymentDate returns the value of MonthlyPaymentDate.

func (*AccountStore) GetName

func (s *AccountStore) GetName() string

GetName returns the value of Name.

func (*AccountStore) GetNotes

func (s *AccountStore) GetNotes() OptNilString

GetNotes returns the value of Notes.

func (*AccountStore) GetOpeningBalance

func (s *AccountStore) GetOpeningBalance() OptString

GetOpeningBalance returns the value of OpeningBalance.

func (*AccountStore) GetOpeningBalanceDate

func (s *AccountStore) GetOpeningBalanceDate() OptNilDateTime

GetOpeningBalanceDate returns the value of OpeningBalanceDate.

func (*AccountStore) GetOrder

func (s *AccountStore) GetOrder() OptInt32

GetOrder returns the value of Order.

func (*AccountStore) GetType

GetType returns the value of Type.

func (*AccountStore) GetVirtualBalance

func (s *AccountStore) GetVirtualBalance() OptString

GetVirtualBalance returns the value of VirtualBalance.

func (*AccountStore) GetZoomLevel

func (s *AccountStore) GetZoomLevel() OptNilInt32

GetZoomLevel returns the value of ZoomLevel.

func (*AccountStore) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*AccountStore) SetAccountNumber

func (s *AccountStore) SetAccountNumber(val OptNilString)

SetAccountNumber sets the value of AccountNumber.

func (*AccountStore) SetAccountRole

func (s *AccountStore) SetAccountRole(val OptNilAccountRoleProperty)

SetAccountRole sets the value of AccountRole.

func (*AccountStore) SetActive

func (s *AccountStore) SetActive(val OptBool)

SetActive sets the value of Active.

func (*AccountStore) SetBic

func (s *AccountStore) SetBic(val OptNilString)

SetBic sets the value of Bic.

func (*AccountStore) SetCreditCardType

func (s *AccountStore) SetCreditCardType(val OptNilCreditCardType)

SetCreditCardType sets the value of CreditCardType.

func (*AccountStore) SetCurrencyCode

func (s *AccountStore) SetCurrencyCode(val OptString)

SetCurrencyCode sets the value of CurrencyCode.

func (*AccountStore) SetCurrencyID

func (s *AccountStore) SetCurrencyID(val OptString)

SetCurrencyID sets the value of CurrencyID.

func (*AccountStore) SetIban

func (s *AccountStore) SetIban(val OptNilString)

SetIban sets the value of Iban.

func (*AccountStore) SetIncludeNetWorth

func (s *AccountStore) SetIncludeNetWorth(val OptBool)

SetIncludeNetWorth sets the value of IncludeNetWorth.

func (*AccountStore) SetInterest

func (s *AccountStore) SetInterest(val OptNilString)

SetInterest sets the value of Interest.

func (*AccountStore) SetInterestPeriod

func (s *AccountStore) SetInterestPeriod(val OptNilInterestPeriod)

SetInterestPeriod sets the value of InterestPeriod.

func (*AccountStore) SetLatitude

func (s *AccountStore) SetLatitude(val OptNilFloat64)

SetLatitude sets the value of Latitude.

func (*AccountStore) SetLiabilityDirection

func (s *AccountStore) SetLiabilityDirection(val OptNilLiabilityDirection)

SetLiabilityDirection sets the value of LiabilityDirection.

func (*AccountStore) SetLiabilityType

func (s *AccountStore) SetLiabilityType(val OptNilLiabilityType)

SetLiabilityType sets the value of LiabilityType.

func (*AccountStore) SetLongitude

func (s *AccountStore) SetLongitude(val OptNilFloat64)

SetLongitude sets the value of Longitude.

func (*AccountStore) SetMonthlyPaymentDate

func (s *AccountStore) SetMonthlyPaymentDate(val OptNilDateTime)

SetMonthlyPaymentDate sets the value of MonthlyPaymentDate.

func (*AccountStore) SetName

func (s *AccountStore) SetName(val string)

SetName sets the value of Name.

func (*AccountStore) SetNotes

func (s *AccountStore) SetNotes(val OptNilString)

SetNotes sets the value of Notes.

func (*AccountStore) SetOpeningBalance

func (s *AccountStore) SetOpeningBalance(val OptString)

SetOpeningBalance sets the value of OpeningBalance.

func (*AccountStore) SetOpeningBalanceDate

func (s *AccountStore) SetOpeningBalanceDate(val OptNilDateTime)

SetOpeningBalanceDate sets the value of OpeningBalanceDate.

func (*AccountStore) SetOrder

func (s *AccountStore) SetOrder(val OptInt32)

SetOrder sets the value of Order.

func (*AccountStore) SetType

func (s *AccountStore) SetType(val ShortAccountTypeProperty)

SetType sets the value of Type.

func (*AccountStore) SetVirtualBalance

func (s *AccountStore) SetVirtualBalance(val OptString)

SetVirtualBalance sets the value of VirtualBalance.

func (*AccountStore) SetZoomLevel

func (s *AccountStore) SetZoomLevel(val OptNilInt32)

SetZoomLevel sets the value of ZoomLevel.

func (*AccountStore) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

func (*AccountStore) Validate

func (s *AccountStore) Validate() error

type AccountTypeFilter

type AccountTypeFilter string

Ref: #/components/schemas/AccountTypeFilter

const (
	AccountTypeFilterAll                   AccountTypeFilter = "all"
	AccountTypeFilterAsset                 AccountTypeFilter = "asset"
	AccountTypeFilterCash                  AccountTypeFilter = "cash"
	AccountTypeFilterExpense               AccountTypeFilter = "expense"
	AccountTypeFilterRevenue               AccountTypeFilter = "revenue"
	AccountTypeFilterSpecial               AccountTypeFilter = "special"
	AccountTypeFilterHidden                AccountTypeFilter = "hidden"
	AccountTypeFilterLiability             AccountTypeFilter = "liability"
	AccountTypeFilterLiabilities           AccountTypeFilter = "liabilities"
	AccountTypeFilterDefaultAccount        AccountTypeFilter = "Default account"
	AccountTypeFilterCashAccount           AccountTypeFilter = "Cash account"
	AccountTypeFilterAssetAccount          AccountTypeFilter = "Asset account"
	AccountTypeFilterExpenseAccount        AccountTypeFilter = "Expense account"
	AccountTypeFilterRevenueAccount        AccountTypeFilter = "Revenue account"
	AccountTypeFilterInitialBalanceAccount AccountTypeFilter = "Initial balance account"
	AccountTypeFilterBeneficiaryAccount    AccountTypeFilter = "Beneficiary account"
	AccountTypeFilterImportAccount         AccountTypeFilter = "Import account"
	AccountTypeFilterReconciliationAccount AccountTypeFilter = "Reconciliation account"
	AccountTypeFilterLoan                  AccountTypeFilter = "Loan"
	AccountTypeFilterDebt                  AccountTypeFilter = "Debt"
	AccountTypeFilterMortgage              AccountTypeFilter = "Mortgage"
)

func (AccountTypeFilter) AllValues

func (AccountTypeFilter) AllValues() []AccountTypeFilter

AllValues returns all AccountTypeFilter values.

func (AccountTypeFilter) MarshalText

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

MarshalText implements encoding.TextMarshaler.

func (*AccountTypeFilter) UnmarshalText

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

UnmarshalText implements encoding.TextUnmarshaler.

func (AccountTypeFilter) Validate

func (s AccountTypeFilter) Validate() error

type AccountTypeProperty

type AccountTypeProperty string

Ref: #/components/schemas/AccountTypeProperty

const (
	AccountTypePropertyDefaultAccount        AccountTypeProperty = "Default account"
	AccountTypePropertyCashAccount           AccountTypeProperty = "Cash account"
	AccountTypePropertyAssetAccount          AccountTypeProperty = "Asset account"
	AccountTypePropertyExpenseAccount        AccountTypeProperty = "Expense account"
	AccountTypePropertyRevenueAccount        AccountTypeProperty = "Revenue account"
	AccountTypePropertyInitialBalanceAccount AccountTypeProperty = "Initial balance account"
	AccountTypePropertyBeneficiaryAccount    AccountTypeProperty = "Beneficiary account"
	AccountTypePropertyImportAccount         AccountTypeProperty = "Import account"
	AccountTypePropertyReconciliationAccount AccountTypeProperty = "Reconciliation account"
	AccountTypePropertyLoan                  AccountTypeProperty = "Loan"
	AccountTypePropertyDebt                  AccountTypeProperty = "Debt"
	AccountTypePropertyMortgage              AccountTypeProperty = "Mortgage"
)

func (AccountTypeProperty) AllValues

AllValues returns all AccountTypeProperty values.

func (*AccountTypeProperty) Decode

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

Decode decodes AccountTypeProperty from json.

func (AccountTypeProperty) Encode

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

Encode encodes AccountTypeProperty as json.

func (AccountTypeProperty) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (AccountTypeProperty) MarshalText

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

MarshalText implements encoding.TextMarshaler.

func (*AccountTypeProperty) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

func (*AccountTypeProperty) UnmarshalText

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

UnmarshalText implements encoding.TextUnmarshaler.

func (AccountTypeProperty) Validate

func (s AccountTypeProperty) Validate() error

type AccountUpdate

type AccountUpdate struct {
	Name               string         `json:"name"`
	Iban               OptNilString   `json:"iban"`
	Bic                OptNilString   `json:"bic"`
	AccountNumber      OptNilString   `json:"account_number"`
	OpeningBalance     OptString      `json:"opening_balance"`
	OpeningBalanceDate OptNilDateTime `json:"opening_balance_date"`
	VirtualBalance     OptString      `json:"virtual_balance"`
	// Use either currency_id or currency_code. Defaults to the user's default currency.
	CurrencyID OptString `json:"currency_id"`
	// Use either currency_id or currency_code. Defaults to the user's default currency.
	CurrencyCode OptString `json:"currency_code"`
	// If omitted, defaults to true.
	Active OptBool `json:"active"`
	// Order of the account.
	Order OptInt32 `json:"order"`
	// If omitted, defaults to true.
	IncludeNetWorth OptBool                   `json:"include_net_worth"`
	AccountRole     OptNilAccountRoleProperty `json:"account_role"`
	CreditCardType  OptNilCreditCardType      `json:"credit_card_type"`
	// Mandatory when the account_role is ccAsset. Moment at which CC payment installments are asked for
	// by the bank.
	MonthlyPaymentDate OptNilDateTime      `json:"monthly_payment_date"`
	LiabilityType      OptNilLiabilityType `json:"liability_type"`
	// Mandatory when type is liability. Interest percentage.
	Interest       OptNilString         `json:"interest"`
	InterestPeriod OptNilInterestPeriod `json:"interest_period"`
	Notes          OptNilString         `json:"notes"`
	// Latitude of the account's location, if applicable. Can be used to draw a map. If omitted, the
	// existing location will be kept. If submitted as NULL, the current location will be removed.
	Latitude OptNilFloat64 `json:"latitude"`
	// Latitude of the account's location, if applicable. Can be used to draw a map. If omitted, the
	// existing location will be kept. If submitted as NULL, the current location will be removed.
	Longitude OptNilFloat64 `json:"longitude"`
	// Zoom level for the map, if drawn. This to set the box right. Unfortunately this is a proprietary
	// value because each map provider has different zoom levels. If omitted, the existing location will
	// be kept. If submitted as NULL, the current location will be removed.
	ZoomLevel OptNilInt32 `json:"zoom_level"`
}

Ref: #/components/schemas/AccountUpdate

func (*AccountUpdate) Decode

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

Decode decodes AccountUpdate from json.

func (*AccountUpdate) Encode

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

Encode implements json.Marshaler.

func (*AccountUpdate) GetAccountNumber

func (s *AccountUpdate) GetAccountNumber() OptNilString

GetAccountNumber returns the value of AccountNumber.

func (*AccountUpdate) GetAccountRole

func (s *AccountUpdate) GetAccountRole() OptNilAccountRoleProperty

GetAccountRole returns the value of AccountRole.

func (*AccountUpdate) GetActive

func (s *AccountUpdate) GetActive() OptBool

GetActive returns the value of Active.

func (*AccountUpdate) GetBic

func (s *AccountUpdate) GetBic() OptNilString

GetBic returns the value of Bic.

func (*AccountUpdate) GetCreditCardType

func (s *AccountUpdate) GetCreditCardType() OptNilCreditCardType

GetCreditCardType returns the value of CreditCardType.

func (*AccountUpdate) GetCurrencyCode

func (s *AccountUpdate) GetCurrencyCode() OptString

GetCurrencyCode returns the value of CurrencyCode.

func (*AccountUpdate) GetCurrencyID

func (s *AccountUpdate) GetCurrencyID() OptString

GetCurrencyID returns the value of CurrencyID.

func (*AccountUpdate) GetIban

func (s *AccountUpdate) GetIban() OptNilString

GetIban returns the value of Iban.

func (*AccountUpdate) GetIncludeNetWorth

func (s *AccountUpdate) GetIncludeNetWorth() OptBool

GetIncludeNetWorth returns the value of IncludeNetWorth.

func (*AccountUpdate) GetInterest

func (s *AccountUpdate) GetInterest() OptNilString

GetInterest returns the value of Interest.

func (*AccountUpdate) GetInterestPeriod

func (s *AccountUpdate) GetInterestPeriod() OptNilInterestPeriod

GetInterestPeriod returns the value of InterestPeriod.

func (*AccountUpdate) GetLatitude

func (s *AccountUpdate) GetLatitude() OptNilFloat64

GetLatitude returns the value of Latitude.

func (*AccountUpdate) GetLiabilityType

func (s *AccountUpdate) GetLiabilityType() OptNilLiabilityType

GetLiabilityType returns the value of LiabilityType.

func (*AccountUpdate) GetLongitude

func (s *AccountUpdate) GetLongitude() OptNilFloat64

GetLongitude returns the value of Longitude.

func (*AccountUpdate) GetMonthlyPaymentDate

func (s *AccountUpdate) GetMonthlyPaymentDate() OptNilDateTime

GetMonthlyPaymentDate returns the value of MonthlyPaymentDate.

func (*AccountUpdate) GetName

func (s *AccountUpdate) GetName() string

GetName returns the value of Name.

func (*AccountUpdate) GetNotes

func (s *AccountUpdate) GetNotes() OptNilString

GetNotes returns the value of Notes.

func (*AccountUpdate) GetOpeningBalance

func (s *AccountUpdate) GetOpeningBalance() OptString

GetOpeningBalance returns the value of OpeningBalance.

func (*AccountUpdate) GetOpeningBalanceDate

func (s *AccountUpdate) GetOpeningBalanceDate() OptNilDateTime

GetOpeningBalanceDate returns the value of OpeningBalanceDate.

func (*AccountUpdate) GetOrder

func (s *AccountUpdate) GetOrder() OptInt32

GetOrder returns the value of Order.

func (*AccountUpdate) GetVirtualBalance

func (s *AccountUpdate) GetVirtualBalance() OptString

GetVirtualBalance returns the value of VirtualBalance.

func (*AccountUpdate) GetZoomLevel

func (s *AccountUpdate) GetZoomLevel() OptNilInt32

GetZoomLevel returns the value of ZoomLevel.

func (*AccountUpdate) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*AccountUpdate) SetAccountNumber

func (s *AccountUpdate) SetAccountNumber(val OptNilString)

SetAccountNumber sets the value of AccountNumber.

func (*AccountUpdate) SetAccountRole

func (s *AccountUpdate) SetAccountRole(val OptNilAccountRoleProperty)

SetAccountRole sets the value of AccountRole.

func (*AccountUpdate) SetActive

func (s *AccountUpdate) SetActive(val OptBool)

SetActive sets the value of Active.

func (*AccountUpdate) SetBic

func (s *AccountUpdate) SetBic(val OptNilString)

SetBic sets the value of Bic.

func (*AccountUpdate) SetCreditCardType

func (s *AccountUpdate) SetCreditCardType(val OptNilCreditCardType)

SetCreditCardType sets the value of CreditCardType.

func (*AccountUpdate) SetCurrencyCode

func (s *AccountUpdate) SetCurrencyCode(val OptString)

SetCurrencyCode sets the value of CurrencyCode.

func (*AccountUpdate) SetCurrencyID

func (s *AccountUpdate) SetCurrencyID(val OptString)

SetCurrencyID sets the value of CurrencyID.

func (*AccountUpdate) SetIban

func (s *AccountUpdate) SetIban(val OptNilString)

SetIban sets the value of Iban.

func (*AccountUpdate) SetIncludeNetWorth

func (s *AccountUpdate) SetIncludeNetWorth(val OptBool)

SetIncludeNetWorth sets the value of IncludeNetWorth.

func (*AccountUpdate) SetInterest

func (s *AccountUpdate) SetInterest(val OptNilString)

SetInterest sets the value of Interest.

func (*AccountUpdate) SetInterestPeriod

func (s *AccountUpdate) SetInterestPeriod(val OptNilInterestPeriod)

SetInterestPeriod sets the value of InterestPeriod.

func (*AccountUpdate) SetLatitude

func (s *AccountUpdate) SetLatitude(val OptNilFloat64)

SetLatitude sets the value of Latitude.

func (*AccountUpdate) SetLiabilityType

func (s *AccountUpdate) SetLiabilityType(val OptNilLiabilityType)

SetLiabilityType sets the value of LiabilityType.

func (*AccountUpdate) SetLongitude

func (s *AccountUpdate) SetLongitude(val OptNilFloat64)

SetLongitude sets the value of Longitude.

func (*AccountUpdate) SetMonthlyPaymentDate

func (s *AccountUpdate) SetMonthlyPaymentDate(val OptNilDateTime)

SetMonthlyPaymentDate sets the value of MonthlyPaymentDate.

func (*AccountUpdate) SetName

func (s *AccountUpdate) SetName(val string)

SetName sets the value of Name.

func (*AccountUpdate) SetNotes

func (s *AccountUpdate) SetNotes(val OptNilString)

SetNotes sets the value of Notes.

func (*AccountUpdate) SetOpeningBalance

func (s *AccountUpdate) SetOpeningBalance(val OptString)

SetOpeningBalance sets the value of OpeningBalance.

func (*AccountUpdate) SetOpeningBalanceDate

func (s *AccountUpdate) SetOpeningBalanceDate(val OptNilDateTime)

SetOpeningBalanceDate sets the value of OpeningBalanceDate.

func (*AccountUpdate) SetOrder

func (s *AccountUpdate) SetOrder(val OptInt32)

SetOrder sets the value of Order.

func (*AccountUpdate) SetVirtualBalance

func (s *AccountUpdate) SetVirtualBalance(val OptString)

SetVirtualBalance sets the value of VirtualBalance.

func (*AccountUpdate) SetZoomLevel

func (s *AccountUpdate) SetZoomLevel(val OptNilInt32)

SetZoomLevel sets the value of ZoomLevel.

func (*AccountUpdate) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

func (*AccountUpdate) Validate

func (s *AccountUpdate) Validate() error

type AttachableType

type AttachableType string

The object class to which the attachment must be linked. Ref: #/components/schemas/AttachableType

const (
	AttachableTypeAccount            AttachableType = "Account"
	AttachableTypeBudget             AttachableType = "Budget"
	AttachableTypeBill               AttachableType = "Bill"
	AttachableTypeTransactionJournal AttachableType = "TransactionJournal"
	AttachableTypePiggyBank          AttachableType = "PiggyBank"
	AttachableTypeTag                AttachableType = "Tag"
)

func (AttachableType) AllValues

func (AttachableType) AllValues() []AttachableType

AllValues returns all AttachableType values.

func (*AttachableType) Decode

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

Decode decodes AttachableType from json.

func (AttachableType) Encode

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

Encode encodes AttachableType as json.

func (AttachableType) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (AttachableType) MarshalText

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

MarshalText implements encoding.TextMarshaler.

func (*AttachableType) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

func (*AttachableType) UnmarshalText

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

UnmarshalText implements encoding.TextUnmarshaler.

func (AttachableType) Validate

func (s AttachableType) Validate() error

type Attachment

type Attachment struct {
	CreatedAt      OptDateTime    `json:"created_at"`
	UpdatedAt      OptDateTime    `json:"updated_at"`
	AttachableType AttachableType `json:"attachable_type"`
	// ID of the model this attachment is linked to.
	AttachableID string `json:"attachable_id"`
	// MD5 hash of the file for basic duplicate detection.
	MD5         OptString    `json:"md5"`
	Filename    string       `json:"filename"`
	DownloadURL OptString    `json:"download_url"`
	UploadURL   OptString    `json:"upload_url"`
	Title       OptString    `json:"title"`
	Notes       OptNilString `json:"notes"`
	Mime        OptString    `json:"mime"`
	Size        OptInt32     `json:"size"`
}

Ref: #/components/schemas/Attachment

func (*Attachment) Decode

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

Decode decodes Attachment from json.

func (*Attachment) Encode

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

Encode implements json.Marshaler.

func (*Attachment) GetAttachableID

func (s *Attachment) GetAttachableID() string

GetAttachableID returns the value of AttachableID.

func (*Attachment) GetAttachableType

func (s *Attachment) GetAttachableType() AttachableType

GetAttachableType returns the value of AttachableType.

func (*Attachment) GetCreatedAt

func (s *Attachment) GetCreatedAt() OptDateTime

GetCreatedAt returns the value of CreatedAt.

func (*Attachment) GetDownloadURL

func (s *Attachment) GetDownloadURL() OptString

GetDownloadURL returns the value of DownloadURL.

func (*Attachment) GetFilename

func (s *Attachment) GetFilename() string

GetFilename returns the value of Filename.

func (*Attachment) GetMD5

func (s *Attachment) GetMD5() OptString

GetMD5 returns the value of MD5.

func (*Attachment) GetMime

func (s *Attachment) GetMime() OptString

GetMime returns the value of Mime.

func (*Attachment) GetNotes

func (s *Attachment) GetNotes() OptNilString

GetNotes returns the value of Notes.

func (*Attachment) GetSize

func (s *Attachment) GetSize() OptInt32

GetSize returns the value of Size.

func (*Attachment) GetTitle

func (s *Attachment) GetTitle() OptString

GetTitle returns the value of Title.

func (*Attachment) GetUpdatedAt

func (s *Attachment) GetUpdatedAt() OptDateTime

GetUpdatedAt returns the value of UpdatedAt.

func (*Attachment) GetUploadURL

func (s *Attachment) GetUploadURL() OptString

GetUploadURL returns the value of UploadURL.

func (*Attachment) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*Attachment) SetAttachableID

func (s *Attachment) SetAttachableID(val string)

SetAttachableID sets the value of AttachableID.

func (*Attachment) SetAttachableType

func (s *Attachment) SetAttachableType(val AttachableType)

SetAttachableType sets the value of AttachableType.

func (*Attachment) SetCreatedAt

func (s *Attachment) SetCreatedAt(val OptDateTime)

SetCreatedAt sets the value of CreatedAt.

func (*Attachment) SetDownloadURL

func (s *Attachment) SetDownloadURL(val OptString)

SetDownloadURL sets the value of DownloadURL.

func (*Attachment) SetFilename

func (s *Attachment) SetFilename(val string)

SetFilename sets the value of Filename.

func (*Attachment) SetMD5

func (s *Attachment) SetMD5(val OptString)

SetMD5 sets the value of MD5.

func (*Attachment) SetMime

func (s *Attachment) SetMime(val OptString)

SetMime sets the value of Mime.

func (*Attachment) SetNotes

func (s *Attachment) SetNotes(val OptNilString)

SetNotes sets the value of Notes.

func (*Attachment) SetSize

func (s *Attachment) SetSize(val OptInt32)

SetSize sets the value of Size.

func (*Attachment) SetTitle

func (s *Attachment) SetTitle(val OptString)

SetTitle sets the value of Title.

func (*Attachment) SetUpdatedAt

func (s *Attachment) SetUpdatedAt(val OptDateTime)

SetUpdatedAt sets the value of UpdatedAt.

func (*Attachment) SetUploadURL

func (s *Attachment) SetUploadURL(val OptString)

SetUploadURL sets the value of UploadURL.

func (*Attachment) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

func (*Attachment) Validate

func (s *Attachment) Validate() error

type AttachmentArray

type AttachmentArray struct {
	Data []AttachmentRead `json:"data"`
	Meta Meta             `json:"meta"`
}

Ref: #/components/schemas/AttachmentArray

func (*AttachmentArray) Decode

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

Decode decodes AttachmentArray from json.

func (*AttachmentArray) Encode

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

Encode implements json.Marshaler.

func (*AttachmentArray) GetData

func (s *AttachmentArray) GetData() []AttachmentRead

GetData returns the value of Data.

func (*AttachmentArray) GetMeta

func (s *AttachmentArray) GetMeta() Meta

GetMeta returns the value of Meta.

func (*AttachmentArray) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*AttachmentArray) SetData

func (s *AttachmentArray) SetData(val []AttachmentRead)

SetData sets the value of Data.

func (*AttachmentArray) SetMeta

func (s *AttachmentArray) SetMeta(val Meta)

SetMeta sets the value of Meta.

func (*AttachmentArray) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

func (*AttachmentArray) Validate

func (s *AttachmentArray) Validate() error

type AttachmentRead

type AttachmentRead struct {
	// Immutable value.
	Type       string     `json:"type"`
	ID         string     `json:"id"`
	Attributes Attachment `json:"attributes"`
	Links      ObjectLink `json:"links"`
}

Ref: #/components/schemas/AttachmentRead

func (*AttachmentRead) Decode

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

Decode decodes AttachmentRead from json.

func (*AttachmentRead) Encode

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

Encode implements json.Marshaler.

func (*AttachmentRead) GetAttributes

func (s *AttachmentRead) GetAttributes() Attachment

GetAttributes returns the value of Attributes.

func (*AttachmentRead) GetID

func (s *AttachmentRead) GetID() string

GetID returns the value of ID.

func (s *AttachmentRead) GetLinks() ObjectLink

GetLinks returns the value of Links.

func (*AttachmentRead) GetType

func (s *AttachmentRead) GetType() string

GetType returns the value of Type.

func (*AttachmentRead) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*AttachmentRead) SetAttributes

func (s *AttachmentRead) SetAttributes(val Attachment)

SetAttributes sets the value of Attributes.

func (*AttachmentRead) SetID

func (s *AttachmentRead) SetID(val string)

SetID sets the value of ID.

func (s *AttachmentRead) SetLinks(val ObjectLink)

SetLinks sets the value of Links.

func (*AttachmentRead) SetType

func (s *AttachmentRead) SetType(val string)

SetType sets the value of Type.

func (*AttachmentRead) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

func (*AttachmentRead) Validate

func (s *AttachmentRead) Validate() error

type AttachmentSingle

type AttachmentSingle struct {
	Data AttachmentRead `json:"data"`
}

Ref: #/components/schemas/AttachmentSingle

func (*AttachmentSingle) Decode

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

Decode decodes AttachmentSingle from json.

func (*AttachmentSingle) Encode

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

Encode implements json.Marshaler.

func (*AttachmentSingle) GetData

func (s *AttachmentSingle) GetData() AttachmentRead

GetData returns the value of Data.

func (*AttachmentSingle) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*AttachmentSingle) SetData

func (s *AttachmentSingle) SetData(val AttachmentRead)

SetData sets the value of Data.

func (*AttachmentSingle) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

func (*AttachmentSingle) Validate

func (s *AttachmentSingle) Validate() error

type AttachmentStore

type AttachmentStore struct {
	Filename       string         `json:"filename"`
	AttachableType AttachableType `json:"attachable_type"`
	// ID of the model this attachment is linked to.
	AttachableID string       `json:"attachable_id"`
	Title        OptString    `json:"title"`
	Notes        OptNilString `json:"notes"`
}

Ref: #/components/schemas/AttachmentStore

func (*AttachmentStore) Decode

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

Decode decodes AttachmentStore from json.

func (*AttachmentStore) Encode

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

Encode implements json.Marshaler.

func (*AttachmentStore) GetAttachableID

func (s *AttachmentStore) GetAttachableID() string

GetAttachableID returns the value of AttachableID.

func (*AttachmentStore) GetAttachableType

func (s *AttachmentStore) GetAttachableType() AttachableType

GetAttachableType returns the value of AttachableType.

func (*AttachmentStore) GetFilename

func (s *AttachmentStore) GetFilename() string

GetFilename returns the value of Filename.

func (*AttachmentStore) GetNotes

func (s *AttachmentStore) GetNotes() OptNilString

GetNotes returns the value of Notes.

func (*AttachmentStore) GetTitle

func (s *AttachmentStore) GetTitle() OptString

GetTitle returns the value of Title.

func (*AttachmentStore) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*AttachmentStore) SetAttachableID

func (s *AttachmentStore) SetAttachableID(val string)

SetAttachableID sets the value of AttachableID.

func (*AttachmentStore) SetAttachableType

func (s *AttachmentStore) SetAttachableType(val AttachableType)

SetAttachableType sets the value of AttachableType.

func (*AttachmentStore) SetFilename

func (s *AttachmentStore) SetFilename(val string)

SetFilename sets the value of Filename.

func (*AttachmentStore) SetNotes

func (s *AttachmentStore) SetNotes(val OptNilString)

SetNotes sets the value of Notes.

func (*AttachmentStore) SetTitle

func (s *AttachmentStore) SetTitle(val OptString)

SetTitle sets the value of Title.

func (*AttachmentStore) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

func (*AttachmentStore) Validate

func (s *AttachmentStore) Validate() error

type AttachmentUpdate

type AttachmentUpdate struct {
	Filename OptString    `json:"filename"`
	Title    OptString    `json:"title"`
	Notes    OptNilString `json:"notes"`
}

Ref: #/components/schemas/AttachmentUpdate

func (*AttachmentUpdate) Decode

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

Decode decodes AttachmentUpdate from json.

func (*AttachmentUpdate) Encode

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

Encode implements json.Marshaler.

func (*AttachmentUpdate) GetFilename

func (s *AttachmentUpdate) GetFilename() OptString

GetFilename returns the value of Filename.

func (*AttachmentUpdate) GetNotes

func (s *AttachmentUpdate) GetNotes() OptNilString

GetNotes returns the value of Notes.

func (*AttachmentUpdate) GetTitle

func (s *AttachmentUpdate) GetTitle() OptString

GetTitle returns the value of Title.

func (*AttachmentUpdate) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*AttachmentUpdate) SetFilename

func (s *AttachmentUpdate) SetFilename(val OptString)

SetFilename sets the value of Filename.

func (*AttachmentUpdate) SetNotes

func (s *AttachmentUpdate) SetNotes(val OptNilString)

SetNotes sets the value of Notes.

func (*AttachmentUpdate) SetTitle

func (s *AttachmentUpdate) SetTitle(val OptString)

SetTitle sets the value of Title.

func (*AttachmentUpdate) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

type AutoBudgetPeriod

type AutoBudgetPeriod string

Period for the auto budget. Ref: #/components/schemas/AutoBudgetPeriod

const (
	AutoBudgetPeriodDaily     AutoBudgetPeriod = "daily"
	AutoBudgetPeriodWeekly    AutoBudgetPeriod = "weekly"
	AutoBudgetPeriodMonthly   AutoBudgetPeriod = "monthly"
	AutoBudgetPeriodQuarterly AutoBudgetPeriod = "quarterly"
	AutoBudgetPeriodHalfYear  AutoBudgetPeriod = "half-year"
	AutoBudgetPeriodYearly    AutoBudgetPeriod = "yearly"
)

func (AutoBudgetPeriod) AllValues

func (AutoBudgetPeriod) AllValues() []AutoBudgetPeriod

AllValues returns all AutoBudgetPeriod values.

func (*AutoBudgetPeriod) Decode

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

Decode decodes AutoBudgetPeriod from json.

func (AutoBudgetPeriod) Encode

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

Encode encodes AutoBudgetPeriod as json.

func (AutoBudgetPeriod) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (AutoBudgetPeriod) MarshalText

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

MarshalText implements encoding.TextMarshaler.

func (*AutoBudgetPeriod) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

func (*AutoBudgetPeriod) UnmarshalText

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

UnmarshalText implements encoding.TextUnmarshaler.

func (AutoBudgetPeriod) Validate

func (s AutoBudgetPeriod) Validate() error

type AutoBudgetType

type AutoBudgetType string

The type of auto-budget that Firefly III must create. Ref: #/components/schemas/AutoBudgetType

const (
	AutoBudgetTypeReset    AutoBudgetType = "reset"
	AutoBudgetTypeRollover AutoBudgetType = "rollover"
	AutoBudgetTypeNone     AutoBudgetType = "none"
)

func (AutoBudgetType) AllValues

func (AutoBudgetType) AllValues() []AutoBudgetType

AllValues returns all AutoBudgetType values.

func (*AutoBudgetType) Decode

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

Decode decodes AutoBudgetType from json.

func (AutoBudgetType) Encode

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

Encode encodes AutoBudgetType as json.

func (AutoBudgetType) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (AutoBudgetType) MarshalText

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

MarshalText implements encoding.TextMarshaler.

func (*AutoBudgetType) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

func (*AutoBudgetType) UnmarshalText

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

UnmarshalText implements encoding.TextUnmarshaler.

func (AutoBudgetType) Validate

func (s AutoBudgetType) Validate() error

type AutocompleteAccount

type AutocompleteAccount struct {
	ID string `json:"id"`
	// Name of the account found by an auto-complete search.
	Name string `json:"name"`
	// Asset accounts and liabilities have a second field with the given date's account balance.
	NameWithBalance string `json:"name_with_balance"`
	// Account type of the account found by the auto-complete search.
	Type string `json:"type"`
	// ID for the currency used by this account.
	CurrencyID string `json:"currency_id"`
	// Currency name for the currency used by this account.
	CurrencyName string `json:"currency_name"`
	// Currency code for the currency used by this account.
	CurrencyCode string `json:"currency_code"`
	// Currency symbol for the currency used by this account.
	CurrencySymbol string `json:"currency_symbol"`
	// Number of decimal places for the currency used by this account.
	CurrencyDecimalPlaces int32 `json:"currency_decimal_places"`
}

Ref: #/components/schemas/AutocompleteAccount

func (*AutocompleteAccount) Decode

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

Decode decodes AutocompleteAccount from json.

func (*AutocompleteAccount) Encode

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

Encode implements json.Marshaler.

func (*AutocompleteAccount) GetCurrencyCode

func (s *AutocompleteAccount) GetCurrencyCode() string

GetCurrencyCode returns the value of CurrencyCode.

func (*AutocompleteAccount) GetCurrencyDecimalPlaces

func (s *AutocompleteAccount) GetCurrencyDecimalPlaces() int32

GetCurrencyDecimalPlaces returns the value of CurrencyDecimalPlaces.

func (*AutocompleteAccount) GetCurrencyID

func (s *AutocompleteAccount) GetCurrencyID() string

GetCurrencyID returns the value of CurrencyID.

func (*AutocompleteAccount) GetCurrencyName

func (s *AutocompleteAccount) GetCurrencyName() string

GetCurrencyName returns the value of CurrencyName.

func (*AutocompleteAccount) GetCurrencySymbol

func (s *AutocompleteAccount) GetCurrencySymbol() string

GetCurrencySymbol returns the value of CurrencySymbol.

func (*AutocompleteAccount) GetID

func (s *AutocompleteAccount) GetID() string

GetID returns the value of ID.

func (*AutocompleteAccount) GetName

func (s *AutocompleteAccount) GetName() string

GetName returns the value of Name.

func (*AutocompleteAccount) GetNameWithBalance

func (s *AutocompleteAccount) GetNameWithBalance() string

GetNameWithBalance returns the value of NameWithBalance.

func (*AutocompleteAccount) GetType

func (s *AutocompleteAccount) GetType() string

GetType returns the value of Type.

func (*AutocompleteAccount) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*AutocompleteAccount) SetCurrencyCode

func (s *AutocompleteAccount) SetCurrencyCode(val string)

SetCurrencyCode sets the value of CurrencyCode.

func (*AutocompleteAccount) SetCurrencyDecimalPlaces

func (s *AutocompleteAccount) SetCurrencyDecimalPlaces(val int32)

SetCurrencyDecimalPlaces sets the value of CurrencyDecimalPlaces.

func (*AutocompleteAccount) SetCurrencyID

func (s *AutocompleteAccount) SetCurrencyID(val string)

SetCurrencyID sets the value of CurrencyID.

func (*AutocompleteAccount) SetCurrencyName

func (s *AutocompleteAccount) SetCurrencyName(val string)

SetCurrencyName sets the value of CurrencyName.

func (*AutocompleteAccount) SetCurrencySymbol

func (s *AutocompleteAccount) SetCurrencySymbol(val string)

SetCurrencySymbol sets the value of CurrencySymbol.

func (*AutocompleteAccount) SetID

func (s *AutocompleteAccount) SetID(val string)

SetID sets the value of ID.

func (*AutocompleteAccount) SetName

func (s *AutocompleteAccount) SetName(val string)

SetName sets the value of Name.

func (*AutocompleteAccount) SetNameWithBalance

func (s *AutocompleteAccount) SetNameWithBalance(val string)

SetNameWithBalance sets the value of NameWithBalance.

func (*AutocompleteAccount) SetType

func (s *AutocompleteAccount) SetType(val string)

SetType sets the value of Type.

func (*AutocompleteAccount) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

type AutocompleteAccountArray

type AutocompleteAccountArray []AutocompleteAccount

func (*AutocompleteAccountArray) Decode

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

Decode decodes AutocompleteAccountArray from json.

func (AutocompleteAccountArray) Encode

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

Encode encodes AutocompleteAccountArray as json.

func (AutocompleteAccountArray) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*AutocompleteAccountArray) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

func (AutocompleteAccountArray) Validate

func (s AutocompleteAccountArray) Validate() error

type AutocompleteBill

type AutocompleteBill struct {
	ID string `json:"id"`
	// Name of the bill found by an auto-complete search.
	Name string `json:"name"`
	// Is the bill active or not?.
	Active OptBool `json:"active"`
}

Ref: #/components/schemas/AutocompleteBill

func (*AutocompleteBill) Decode

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

Decode decodes AutocompleteBill from json.

func (*AutocompleteBill) Encode

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

Encode implements json.Marshaler.

func (*AutocompleteBill) GetActive

func (s *AutocompleteBill) GetActive() OptBool

GetActive returns the value of Active.

func (*AutocompleteBill) GetID

func (s *AutocompleteBill) GetID() string

GetID returns the value of ID.

func (*AutocompleteBill) GetName

func (s *AutocompleteBill) GetName() string

GetName returns the value of Name.

func (*AutocompleteBill) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*AutocompleteBill) SetActive

func (s *AutocompleteBill) SetActive(val OptBool)

SetActive sets the value of Active.

func (*AutocompleteBill) SetID

func (s *AutocompleteBill) SetID(val string)

SetID sets the value of ID.

func (*AutocompleteBill) SetName

func (s *AutocompleteBill) SetName(val string)

SetName sets the value of Name.

func (*AutocompleteBill) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

type AutocompleteBillArray

type AutocompleteBillArray []AutocompleteBill

func (*AutocompleteBillArray) Decode

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

Decode decodes AutocompleteBillArray from json.

func (AutocompleteBillArray) Encode

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

Encode encodes AutocompleteBillArray as json.

func (AutocompleteBillArray) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*AutocompleteBillArray) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

func (AutocompleteBillArray) Validate

func (s AutocompleteBillArray) Validate() error

type AutocompleteBudget

type AutocompleteBudget struct {
	ID string `json:"id"`
	// Name of the budget found by an auto-complete search.
	Name string `json:"name"`
}

Ref: #/components/schemas/AutocompleteBudget

func (*AutocompleteBudget) Decode

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

Decode decodes AutocompleteBudget from json.

func (*AutocompleteBudget) Encode

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

Encode implements json.Marshaler.

func (*AutocompleteBudget) GetID

func (s *AutocompleteBudget) GetID() string

GetID returns the value of ID.

func (*AutocompleteBudget) GetName

func (s *AutocompleteBudget) GetName() string

GetName returns the value of Name.

func (*AutocompleteBudget) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*AutocompleteBudget) SetID

func (s *AutocompleteBudget) SetID(val string)

SetID sets the value of ID.

func (*AutocompleteBudget) SetName

func (s *AutocompleteBudget) SetName(val string)

SetName sets the value of Name.

func (*AutocompleteBudget) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

type AutocompleteBudgetArray

type AutocompleteBudgetArray []AutocompleteBudget

func (*AutocompleteBudgetArray) Decode

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

Decode decodes AutocompleteBudgetArray from json.

func (AutocompleteBudgetArray) Encode

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

Encode encodes AutocompleteBudgetArray as json.

func (AutocompleteBudgetArray) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*AutocompleteBudgetArray) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

func (AutocompleteBudgetArray) Validate

func (s AutocompleteBudgetArray) Validate() error

type AutocompleteCategory

type AutocompleteCategory struct {
	ID string `json:"id"`
	// Name of the category found by an auto-complete search.
	Name string `json:"name"`
}

Ref: #/components/schemas/AutocompleteCategory

func (*AutocompleteCategory) Decode

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

Decode decodes AutocompleteCategory from json.

func (*AutocompleteCategory) Encode

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

Encode implements json.Marshaler.

func (*AutocompleteCategory) GetID

func (s *AutocompleteCategory) GetID() string

GetID returns the value of ID.

func (*AutocompleteCategory) GetName

func (s *AutocompleteCategory) GetName() string

GetName returns the value of Name.

func (*AutocompleteCategory) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*AutocompleteCategory) SetID

func (s *AutocompleteCategory) SetID(val string)

SetID sets the value of ID.

func (*AutocompleteCategory) SetName

func (s *AutocompleteCategory) SetName(val string)

SetName sets the value of Name.

func (*AutocompleteCategory) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

type AutocompleteCategoryArray

type AutocompleteCategoryArray []AutocompleteCategory

func (*AutocompleteCategoryArray) Decode

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

Decode decodes AutocompleteCategoryArray from json.

func (AutocompleteCategoryArray) Encode

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

Encode encodes AutocompleteCategoryArray as json.

func (AutocompleteCategoryArray) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*AutocompleteCategoryArray) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

func (AutocompleteCategoryArray) Validate

func (s AutocompleteCategoryArray) Validate() error

type AutocompleteCurrency

type AutocompleteCurrency struct {
	ID string `json:"id"`
	// Currency name.
	Name string `json:"name"`
	// Currency code.
	Code          string `json:"code"`
	Symbol        string `json:"symbol"`
	DecimalPlaces int32  `json:"decimal_places"`
}

Ref: #/components/schemas/AutocompleteCurrency

func (*AutocompleteCurrency) Decode

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

Decode decodes AutocompleteCurrency from json.

func (*AutocompleteCurrency) Encode

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

Encode implements json.Marshaler.

func (*AutocompleteCurrency) GetCode

func (s *AutocompleteCurrency) GetCode() string

GetCode returns the value of Code.

func (*AutocompleteCurrency) GetDecimalPlaces

func (s *AutocompleteCurrency) GetDecimalPlaces() int32

GetDecimalPlaces returns the value of DecimalPlaces.

func (*AutocompleteCurrency) GetID

func (s *AutocompleteCurrency) GetID() string

GetID returns the value of ID.

func (*AutocompleteCurrency) GetName

func (s *AutocompleteCurrency) GetName() string

GetName returns the value of Name.

func (*AutocompleteCurrency) GetSymbol

func (s *AutocompleteCurrency) GetSymbol() string

GetSymbol returns the value of Symbol.

func (*AutocompleteCurrency) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*AutocompleteCurrency) SetCode

func (s *AutocompleteCurrency) SetCode(val string)

SetCode sets the value of Code.

func (*AutocompleteCurrency) SetDecimalPlaces

func (s *AutocompleteCurrency) SetDecimalPlaces(val int32)

SetDecimalPlaces sets the value of DecimalPlaces.

func (*AutocompleteCurrency) SetID

func (s *AutocompleteCurrency) SetID(val string)

SetID sets the value of ID.

func (*AutocompleteCurrency) SetName

func (s *AutocompleteCurrency) SetName(val string)

SetName sets the value of Name.

func (*AutocompleteCurrency) SetSymbol

func (s *AutocompleteCurrency) SetSymbol(val string)

SetSymbol sets the value of Symbol.

func (*AutocompleteCurrency) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

type AutocompleteCurrencyArray

type AutocompleteCurrencyArray []AutocompleteCurrency

func (*AutocompleteCurrencyArray) Decode

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

Decode decodes AutocompleteCurrencyArray from json.

func (AutocompleteCurrencyArray) Encode

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

Encode encodes AutocompleteCurrencyArray as json.

func (AutocompleteCurrencyArray) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*AutocompleteCurrencyArray) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

func (AutocompleteCurrencyArray) Validate

func (s AutocompleteCurrencyArray) Validate() error

type AutocompleteCurrencyCode

type AutocompleteCurrencyCode struct {
	ID string `json:"id"`
	// Currency name with the code between brackets.
	Name string `json:"name"`
	// Currency code.
	Code          string `json:"code"`
	Symbol        string `json:"symbol"`
	DecimalPlaces int32  `json:"decimal_places"`
}

Ref: #/components/schemas/AutocompleteCurrencyCode

func (*AutocompleteCurrencyCode) Decode

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

Decode decodes AutocompleteCurrencyCode from json.

func (*AutocompleteCurrencyCode) Encode

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

Encode implements json.Marshaler.

func (*AutocompleteCurrencyCode) GetCode

func (s *AutocompleteCurrencyCode) GetCode() string

GetCode returns the value of Code.

func (*AutocompleteCurrencyCode) GetDecimalPlaces

func (s *AutocompleteCurrencyCode) GetDecimalPlaces() int32

GetDecimalPlaces returns the value of DecimalPlaces.

func (*AutocompleteCurrencyCode) GetID

func (s *AutocompleteCurrencyCode) GetID() string

GetID returns the value of ID.

func (*AutocompleteCurrencyCode) GetName

func (s *AutocompleteCurrencyCode) GetName() string

GetName returns the value of Name.

func (*AutocompleteCurrencyCode) GetSymbol

func (s *AutocompleteCurrencyCode) GetSymbol() string

GetSymbol returns the value of Symbol.

func (*AutocompleteCurrencyCode) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*AutocompleteCurrencyCode) SetCode

func (s *AutocompleteCurrencyCode) SetCode(val string)

SetCode sets the value of Code.

func (*AutocompleteCurrencyCode) SetDecimalPlaces

func (s *AutocompleteCurrencyCode) SetDecimalPlaces(val int32)

SetDecimalPlaces sets the value of DecimalPlaces.

func (*AutocompleteCurrencyCode) SetID

func (s *AutocompleteCurrencyCode) SetID(val string)

SetID sets the value of ID.

func (*AutocompleteCurrencyCode) SetName

func (s *AutocompleteCurrencyCode) SetName(val string)

SetName sets the value of Name.

func (*AutocompleteCurrencyCode) SetSymbol

func (s *AutocompleteCurrencyCode) SetSymbol(val string)

SetSymbol sets the value of Symbol.

func (*AutocompleteCurrencyCode) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

type AutocompleteCurrencyCodeArray

type AutocompleteCurrencyCodeArray []AutocompleteCurrencyCode

func (*AutocompleteCurrencyCodeArray) Decode

Decode decodes AutocompleteCurrencyCodeArray from json.

func (AutocompleteCurrencyCodeArray) Encode

Encode encodes AutocompleteCurrencyCodeArray as json.

func (AutocompleteCurrencyCodeArray) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*AutocompleteCurrencyCodeArray) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

func (AutocompleteCurrencyCodeArray) Validate

func (s AutocompleteCurrencyCodeArray) Validate() error

type AutocompleteObjectGroup

type AutocompleteObjectGroup struct {
	ID string `json:"id"`
	// Title of the object group found by an auto-complete search.
	Title string `json:"title"`
	// Title of the object group found by an auto-complete search.
	Name string `json:"name"`
}

Ref: #/components/schemas/AutocompleteObjectGroup

func (*AutocompleteObjectGroup) Decode

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

Decode decodes AutocompleteObjectGroup from json.

func (*AutocompleteObjectGroup) Encode

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

Encode implements json.Marshaler.

func (*AutocompleteObjectGroup) GetID

func (s *AutocompleteObjectGroup) GetID() string

GetID returns the value of ID.

func (*AutocompleteObjectGroup) GetName

func (s *AutocompleteObjectGroup) GetName() string

GetName returns the value of Name.

func (*AutocompleteObjectGroup) GetTitle

func (s *AutocompleteObjectGroup) GetTitle() string

GetTitle returns the value of Title.

func (*AutocompleteObjectGroup) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*AutocompleteObjectGroup) SetID

func (s *AutocompleteObjectGroup) SetID(val string)

SetID sets the value of ID.

func (*AutocompleteObjectGroup) SetName

func (s *AutocompleteObjectGroup) SetName(val string)

SetName sets the value of Name.

func (*AutocompleteObjectGroup) SetTitle

func (s *AutocompleteObjectGroup) SetTitle(val string)

SetTitle sets the value of Title.

func (*AutocompleteObjectGroup) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

type AutocompleteObjectGroupArray

type AutocompleteObjectGroupArray []AutocompleteObjectGroup

func (*AutocompleteObjectGroupArray) Decode

Decode decodes AutocompleteObjectGroupArray from json.

func (AutocompleteObjectGroupArray) Encode

Encode encodes AutocompleteObjectGroupArray as json.

func (AutocompleteObjectGroupArray) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*AutocompleteObjectGroupArray) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

func (AutocompleteObjectGroupArray) Validate

func (s AutocompleteObjectGroupArray) Validate() error

type AutocompletePiggy

type AutocompletePiggy struct {
	ID string `json:"id"`
	// Name of the piggy bank found by an auto-complete search.
	Name string `json:"name"`
	// Currency ID for this piggy bank.
	CurrencyID OptString `json:"currency_id"`
	// Currency code for this piggy bank.
	CurrencyCode   OptString `json:"currency_code"`
	CurrencySymbol OptString `json:"currency_symbol"`
	// Currency name for the currency used by this account.
	CurrencyName          OptString `json:"currency_name"`
	CurrencyDecimalPlaces OptInt32  `json:"currency_decimal_places"`
	// The group ID of the group this object is part of. NULL if no group.
	ObjectGroupID OptNilString `json:"object_group_id"`
	// The name of the group. NULL if no group.
	ObjectGroupTitle OptNilString `json:"object_group_title"`
}

Ref: #/components/schemas/AutocompletePiggy

func (*AutocompletePiggy) Decode

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

Decode decodes AutocompletePiggy from json.

func (*AutocompletePiggy) Encode

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

Encode implements json.Marshaler.

func (*AutocompletePiggy) GetCurrencyCode

func (s *AutocompletePiggy) GetCurrencyCode() OptString

GetCurrencyCode returns the value of CurrencyCode.

func (*AutocompletePiggy) GetCurrencyDecimalPlaces

func (s *AutocompletePiggy) GetCurrencyDecimalPlaces() OptInt32

GetCurrencyDecimalPlaces returns the value of CurrencyDecimalPlaces.

func (*AutocompletePiggy) GetCurrencyID

func (s *AutocompletePiggy) GetCurrencyID() OptString

GetCurrencyID returns the value of CurrencyID.

func (*AutocompletePiggy) GetCurrencyName

func (s *AutocompletePiggy) GetCurrencyName() OptString

GetCurrencyName returns the value of CurrencyName.

func (*AutocompletePiggy) GetCurrencySymbol

func (s *AutocompletePiggy) GetCurrencySymbol() OptString

GetCurrencySymbol returns the value of CurrencySymbol.

func (*AutocompletePiggy) GetID

func (s *AutocompletePiggy) GetID() string

GetID returns the value of ID.

func (*AutocompletePiggy) GetName

func (s *AutocompletePiggy) GetName() string

GetName returns the value of Name.

func (*AutocompletePiggy) GetObjectGroupID

func (s *AutocompletePiggy) GetObjectGroupID() OptNilString

GetObjectGroupID returns the value of ObjectGroupID.

func (*AutocompletePiggy) GetObjectGroupTitle

func (s *AutocompletePiggy) GetObjectGroupTitle() OptNilString

GetObjectGroupTitle returns the value of ObjectGroupTitle.

func (*AutocompletePiggy) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*AutocompletePiggy) SetCurrencyCode

func (s *AutocompletePiggy) SetCurrencyCode(val OptString)

SetCurrencyCode sets the value of CurrencyCode.

func (*AutocompletePiggy) SetCurrencyDecimalPlaces

func (s *AutocompletePiggy) SetCurrencyDecimalPlaces(val OptInt32)

SetCurrencyDecimalPlaces sets the value of CurrencyDecimalPlaces.

func (*AutocompletePiggy) SetCurrencyID

func (s *AutocompletePiggy) SetCurrencyID(val OptString)

SetCurrencyID sets the value of CurrencyID.

func (*AutocompletePiggy) SetCurrencyName

func (s *AutocompletePiggy) SetCurrencyName(val OptString)

SetCurrencyName sets the value of CurrencyName.

func (*AutocompletePiggy) SetCurrencySymbol

func (s *AutocompletePiggy) SetCurrencySymbol(val OptString)

SetCurrencySymbol sets the value of CurrencySymbol.

func (*AutocompletePiggy) SetID

func (s *AutocompletePiggy) SetID(val string)

SetID sets the value of ID.

func (*AutocompletePiggy) SetName

func (s *AutocompletePiggy) SetName(val string)

SetName sets the value of Name.

func (*AutocompletePiggy) SetObjectGroupID

func (s *AutocompletePiggy) SetObjectGroupID(val OptNilString)

SetObjectGroupID sets the value of ObjectGroupID.

func (*AutocompletePiggy) SetObjectGroupTitle

func (s *AutocompletePiggy) SetObjectGroupTitle(val OptNilString)

SetObjectGroupTitle sets the value of ObjectGroupTitle.

func (*AutocompletePiggy) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

type AutocompletePiggyArray

type AutocompletePiggyArray []AutocompletePiggy

func (*AutocompletePiggyArray) Decode

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

Decode decodes AutocompletePiggyArray from json.

func (AutocompletePiggyArray) Encode

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

Encode encodes AutocompletePiggyArray as json.

func (AutocompletePiggyArray) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*AutocompletePiggyArray) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

func (AutocompletePiggyArray) Validate

func (s AutocompletePiggyArray) Validate() error

type AutocompletePiggyBalance

type AutocompletePiggyBalance struct {
	ID string `json:"id"`
	// Name of the piggy bank found by an auto-complete search.
	Name string `json:"name"`
	// Name of the piggy bank found by an auto-complete search with the current balance formatted nicely.
	NameWithBalance OptString `json:"name_with_balance"`
	// Currency ID for this piggy bank.
	CurrencyID OptString `json:"currency_id"`
	// Currency code for this piggy bank.
	CurrencyCode          OptString `json:"currency_code"`
	CurrencySymbol        OptString `json:"currency_symbol"`
	CurrencyDecimalPlaces OptInt32  `json:"currency_decimal_places"`
	// The group ID of the group this object is part of. NULL if no group.
	ObjectGroupID OptNilString `json:"object_group_id"`
	// The name of the group. NULL if no group.
	ObjectGroupTitle OptNilString `json:"object_group_title"`
}

Ref: #/components/schemas/AutocompletePiggyBalance

func (*AutocompletePiggyBalance) Decode

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

Decode decodes AutocompletePiggyBalance from json.

func (*AutocompletePiggyBalance) Encode

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

Encode implements json.Marshaler.

func (*AutocompletePiggyBalance) GetCurrencyCode

func (s *AutocompletePiggyBalance) GetCurrencyCode() OptString

GetCurrencyCode returns the value of CurrencyCode.

func (*AutocompletePiggyBalance) GetCurrencyDecimalPlaces

func (s *AutocompletePiggyBalance) GetCurrencyDecimalPlaces() OptInt32

GetCurrencyDecimalPlaces returns the value of CurrencyDecimalPlaces.

func (*AutocompletePiggyBalance) GetCurrencyID

func (s *AutocompletePiggyBalance) GetCurrencyID() OptString

GetCurrencyID returns the value of CurrencyID.

func (*AutocompletePiggyBalance) GetCurrencySymbol

func (s *AutocompletePiggyBalance) GetCurrencySymbol() OptString

GetCurrencySymbol returns the value of CurrencySymbol.

func (*AutocompletePiggyBalance) GetID

func (s *AutocompletePiggyBalance) GetID() string

GetID returns the value of ID.

func (*AutocompletePiggyBalance) GetName

func (s *AutocompletePiggyBalance) GetName() string

GetName returns the value of Name.

func (*AutocompletePiggyBalance) GetNameWithBalance

func (s *AutocompletePiggyBalance) GetNameWithBalance() OptString

GetNameWithBalance returns the value of NameWithBalance.

func (*AutocompletePiggyBalance) GetObjectGroupID

func (s *AutocompletePiggyBalance) GetObjectGroupID() OptNilString

GetObjectGroupID returns the value of ObjectGroupID.

func (*AutocompletePiggyBalance) GetObjectGroupTitle

func (s *AutocompletePiggyBalance) GetObjectGroupTitle() OptNilString

GetObjectGroupTitle returns the value of ObjectGroupTitle.

func (*AutocompletePiggyBalance) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*AutocompletePiggyBalance) SetCurrencyCode

func (s *AutocompletePiggyBalance) SetCurrencyCode(val OptString)

SetCurrencyCode sets the value of CurrencyCode.

func (*AutocompletePiggyBalance) SetCurrencyDecimalPlaces

func (s *AutocompletePiggyBalance) SetCurrencyDecimalPlaces(val OptInt32)

SetCurrencyDecimalPlaces sets the value of CurrencyDecimalPlaces.

func (*AutocompletePiggyBalance) SetCurrencyID

func (s *AutocompletePiggyBalance) SetCurrencyID(val OptString)

SetCurrencyID sets the value of CurrencyID.

func (*AutocompletePiggyBalance) SetCurrencySymbol

func (s *AutocompletePiggyBalance) SetCurrencySymbol(val OptString)

SetCurrencySymbol sets the value of CurrencySymbol.

func (*AutocompletePiggyBalance) SetID

func (s *AutocompletePiggyBalance) SetID(val string)

SetID sets the value of ID.

func (*AutocompletePiggyBalance) SetName

func (s *AutocompletePiggyBalance) SetName(val string)

SetName sets the value of Name.

func (*AutocompletePiggyBalance) SetNameWithBalance

func (s *AutocompletePiggyBalance) SetNameWithBalance(val OptString)

SetNameWithBalance sets the value of NameWithBalance.

func (*AutocompletePiggyBalance) SetObjectGroupID

func (s *AutocompletePiggyBalance) SetObjectGroupID(val OptNilString)

SetObjectGroupID sets the value of ObjectGroupID.

func (*AutocompletePiggyBalance) SetObjectGroupTitle

func (s *AutocompletePiggyBalance) SetObjectGroupTitle(val OptNilString)

SetObjectGroupTitle sets the value of ObjectGroupTitle.

func (*AutocompletePiggyBalance) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

type AutocompletePiggyBalanceArray

type AutocompletePiggyBalanceArray []AutocompletePiggyBalance

func (*AutocompletePiggyBalanceArray) Decode

Decode decodes AutocompletePiggyBalanceArray from json.

func (AutocompletePiggyBalanceArray) Encode

Encode encodes AutocompletePiggyBalanceArray as json.

func (AutocompletePiggyBalanceArray) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*AutocompletePiggyBalanceArray) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

func (AutocompletePiggyBalanceArray) Validate

func (s AutocompletePiggyBalanceArray) Validate() error

type AutocompleteRecurrence

type AutocompleteRecurrence struct {
	ID string `json:"id"`
	// Name of the recurrence found by an auto-complete search.
	Name string `json:"name"`
	// Description of the recurrence found by auto-complete.
	Description OptString `json:"description"`
}

Ref: #/components/schemas/AutocompleteRecurrence

func (*AutocompleteRecurrence) Decode

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

Decode decodes AutocompleteRecurrence from json.

func (*AutocompleteRecurrence) Encode

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

Encode implements json.Marshaler.

func (*AutocompleteRecurrence) GetDescription

func (s *AutocompleteRecurrence) GetDescription() OptString

GetDescription returns the value of Description.

func (*AutocompleteRecurrence) GetID

func (s *AutocompleteRecurrence) GetID() string

GetID returns the value of ID.

func (*AutocompleteRecurrence) GetName

func (s *AutocompleteRecurrence) GetName() string

GetName returns the value of Name.

func (*AutocompleteRecurrence) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*AutocompleteRecurrence) SetDescription

func (s *AutocompleteRecurrence) SetDescription(val OptString)

SetDescription sets the value of Description.

func (*AutocompleteRecurrence) SetID

func (s *AutocompleteRecurrence) SetID(val string)

SetID sets the value of ID.

func (*AutocompleteRecurrence) SetName

func (s *AutocompleteRecurrence) SetName(val string)

SetName sets the value of Name.

func (*AutocompleteRecurrence) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

type AutocompleteRecurrenceArray

type AutocompleteRecurrenceArray []AutocompleteRecurrence

func (*AutocompleteRecurrenceArray) Decode

Decode decodes AutocompleteRecurrenceArray from json.

func (AutocompleteRecurrenceArray) Encode

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

Encode encodes AutocompleteRecurrenceArray as json.

func (AutocompleteRecurrenceArray) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*AutocompleteRecurrenceArray) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

func (AutocompleteRecurrenceArray) Validate

func (s AutocompleteRecurrenceArray) Validate() error

type AutocompleteRule

type AutocompleteRule struct {
	ID string `json:"id"`
	// Name of the rule found by an auto-complete search.
	Name string `json:"name"`
	// Description of the rule found by auto-complete.
	Description OptString `json:"description"`
}

Ref: #/components/schemas/AutocompleteRule

func (*AutocompleteRule) Decode

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

Decode decodes AutocompleteRule from json.

func (*AutocompleteRule) Encode

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

Encode implements json.Marshaler.

func (*AutocompleteRule) GetDescription

func (s *AutocompleteRule) GetDescription() OptString

GetDescription returns the value of Description.

func (*AutocompleteRule) GetID

func (s *AutocompleteRule) GetID() string

GetID returns the value of ID.

func (*AutocompleteRule) GetName

func (s *AutocompleteRule) GetName() string

GetName returns the value of Name.

func (*AutocompleteRule) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*AutocompleteRule) SetDescription

func (s *AutocompleteRule) SetDescription(val OptString)

SetDescription sets the value of Description.

func (*AutocompleteRule) SetID

func (s *AutocompleteRule) SetID(val string)

SetID sets the value of ID.

func (*AutocompleteRule) SetName

func (s *AutocompleteRule) SetName(val string)

SetName sets the value of Name.

func (*AutocompleteRule) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

type AutocompleteRuleArray

type AutocompleteRuleArray []AutocompleteRule

func (*AutocompleteRuleArray) Decode

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

Decode decodes AutocompleteRuleArray from json.

func (AutocompleteRuleArray) Encode

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

Encode encodes AutocompleteRuleArray as json.

func (AutocompleteRuleArray) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*AutocompleteRuleArray) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

func (AutocompleteRuleArray) Validate

func (s AutocompleteRuleArray) Validate() error

type AutocompleteRuleGroup

type AutocompleteRuleGroup struct {
	ID string `json:"id"`
	// Name of the rule group found by an auto-complete search.
	Name string `json:"name"`
	// Description of the rule group found by auto-complete.
	Description OptString `json:"description"`
}

Ref: #/components/schemas/AutocompleteRuleGroup

func (*AutocompleteRuleGroup) Decode

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

Decode decodes AutocompleteRuleGroup from json.

func (*AutocompleteRuleGroup) Encode

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

Encode implements json.Marshaler.

func (*AutocompleteRuleGroup) GetDescription

func (s *AutocompleteRuleGroup) GetDescription() OptString

GetDescription returns the value of Description.

func (*AutocompleteRuleGroup) GetID

func (s *AutocompleteRuleGroup) GetID() string

GetID returns the value of ID.

func (*AutocompleteRuleGroup) GetName

func (s *AutocompleteRuleGroup) GetName() string

GetName returns the value of Name.

func (*AutocompleteRuleGroup) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*AutocompleteRuleGroup) SetDescription

func (s *AutocompleteRuleGroup) SetDescription(val OptString)

SetDescription sets the value of Description.

func (*AutocompleteRuleGroup) SetID

func (s *AutocompleteRuleGroup) SetID(val string)

SetID sets the value of ID.

func (*AutocompleteRuleGroup) SetName

func (s *AutocompleteRuleGroup) SetName(val string)

SetName sets the value of Name.

func (*AutocompleteRuleGroup) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

type AutocompleteRuleGroupArray

type AutocompleteRuleGroupArray []AutocompleteRuleGroup

func (*AutocompleteRuleGroupArray) Decode

Decode decodes AutocompleteRuleGroupArray from json.

func (AutocompleteRuleGroupArray) Encode

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

Encode encodes AutocompleteRuleGroupArray as json.

func (AutocompleteRuleGroupArray) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*AutocompleteRuleGroupArray) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

func (AutocompleteRuleGroupArray) Validate

func (s AutocompleteRuleGroupArray) Validate() error

type AutocompleteTag

type AutocompleteTag struct {
	ID string `json:"id"`
	// Name of the tag found by an auto-complete search.
	Name string `json:"name"`
	// Name of the tag found by an auto-complete search.
	Tag string `json:"tag"`
}

Ref: #/components/schemas/AutocompleteTag

func (*AutocompleteTag) Decode

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

Decode decodes AutocompleteTag from json.

func (*AutocompleteTag) Encode

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

Encode implements json.Marshaler.

func (*AutocompleteTag) GetID

func (s *AutocompleteTag) GetID() string

GetID returns the value of ID.

func (*AutocompleteTag) GetName

func (s *AutocompleteTag) GetName() string

GetName returns the value of Name.

func (*AutocompleteTag) GetTag

func (s *AutocompleteTag) GetTag() string

GetTag returns the value of Tag.

func (*AutocompleteTag) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*AutocompleteTag) SetID

func (s *AutocompleteTag) SetID(val string)

SetID sets the value of ID.

func (*AutocompleteTag) SetName

func (s *AutocompleteTag) SetName(val string)

SetName sets the value of Name.

func (*AutocompleteTag) SetTag

func (s *AutocompleteTag) SetTag(val string)

SetTag sets the value of Tag.

func (*AutocompleteTag) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

type AutocompleteTagArray

type AutocompleteTagArray []AutocompleteTag

func (*AutocompleteTagArray) Decode

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

Decode decodes AutocompleteTagArray from json.

func (AutocompleteTagArray) Encode

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

Encode encodes AutocompleteTagArray as json.

func (AutocompleteTagArray) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*AutocompleteTagArray) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

func (AutocompleteTagArray) Validate

func (s AutocompleteTagArray) Validate() error

type AutocompleteTransaction

type AutocompleteTransaction struct {
	// The ID of a transaction journal (basically a single split).
	ID string `json:"id"`
	// The ID of the underlying transaction group.
	TransactionGroupID OptString `json:"transaction_group_id"`
	// Transaction description.
	Name string `json:"name"`
	// Transaction description.
	Description string `json:"description"`
}

Ref: #/components/schemas/AutocompleteTransaction

func (*AutocompleteTransaction) Decode

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

Decode decodes AutocompleteTransaction from json.

func (*AutocompleteTransaction) Encode

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

Encode implements json.Marshaler.

func (*AutocompleteTransaction) GetDescription

func (s *AutocompleteTransaction) GetDescription() string

GetDescription returns the value of Description.

func (*AutocompleteTransaction) GetID

func (s *AutocompleteTransaction) GetID() string

GetID returns the value of ID.

func (*AutocompleteTransaction) GetName

func (s *AutocompleteTransaction) GetName() string

GetName returns the value of Name.

func (*AutocompleteTransaction) GetTransactionGroupID

func (s *AutocompleteTransaction) GetTransactionGroupID() OptString

GetTransactionGroupID returns the value of TransactionGroupID.

func (*AutocompleteTransaction) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*AutocompleteTransaction) SetDescription

func (s *AutocompleteTransaction) SetDescription(val string)

SetDescription sets the value of Description.

func (*AutocompleteTransaction) SetID

func (s *AutocompleteTransaction) SetID(val string)

SetID sets the value of ID.

func (*AutocompleteTransaction) SetName

func (s *AutocompleteTransaction) SetName(val string)

SetName sets the value of Name.

func (*AutocompleteTransaction) SetTransactionGroupID

func (s *AutocompleteTransaction) SetTransactionGroupID(val OptString)

SetTransactionGroupID sets the value of TransactionGroupID.

func (*AutocompleteTransaction) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

type AutocompleteTransactionArray

type AutocompleteTransactionArray []AutocompleteTransaction

func (*AutocompleteTransactionArray) Decode

Decode decodes AutocompleteTransactionArray from json.

func (AutocompleteTransactionArray) Encode

Encode encodes AutocompleteTransactionArray as json.

func (AutocompleteTransactionArray) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*AutocompleteTransactionArray) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

func (AutocompleteTransactionArray) Validate

func (s AutocompleteTransactionArray) Validate() error

type AutocompleteTransactionID

type AutocompleteTransactionID struct {
	// The ID of a transaction journal (basically a single split).
	ID string `json:"id"`
	// The ID of the underlying transaction group.
	TransactionGroupID OptString `json:"transaction_group_id"`
	// Transaction description with ID in the name.
	Name string `json:"name"`
	// Transaction description with ID in the name.
	Description string `json:"description"`
}

Ref: #/components/schemas/AutocompleteTransactionID

func (*AutocompleteTransactionID) Decode

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

Decode decodes AutocompleteTransactionID from json.

func (*AutocompleteTransactionID) Encode

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

Encode implements json.Marshaler.

func (*AutocompleteTransactionID) GetDescription

func (s *AutocompleteTransactionID) GetDescription() string

GetDescription returns the value of Description.

func (*AutocompleteTransactionID) GetID

func (s *AutocompleteTransactionID) GetID() string

GetID returns the value of ID.

func (*AutocompleteTransactionID) GetName

func (s *AutocompleteTransactionID) GetName() string

GetName returns the value of Name.

func (*AutocompleteTransactionID) GetTransactionGroupID

func (s *AutocompleteTransactionID) GetTransactionGroupID() OptString

GetTransactionGroupID returns the value of TransactionGroupID.

func (*AutocompleteTransactionID) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*AutocompleteTransactionID) SetDescription

func (s *AutocompleteTransactionID) SetDescription(val string)

SetDescription sets the value of Description.

func (*AutocompleteTransactionID) SetID

func (s *AutocompleteTransactionID) SetID(val string)

SetID sets the value of ID.

func (*AutocompleteTransactionID) SetName

func (s *AutocompleteTransactionID) SetName(val string)

SetName sets the value of Name.

func (*AutocompleteTransactionID) SetTransactionGroupID

func (s *AutocompleteTransactionID) SetTransactionGroupID(val OptString)

SetTransactionGroupID sets the value of TransactionGroupID.

func (*AutocompleteTransactionID) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

type AutocompleteTransactionIDArray

type AutocompleteTransactionIDArray []AutocompleteTransactionID

func (*AutocompleteTransactionIDArray) Decode

Decode decodes AutocompleteTransactionIDArray from json.

func (AutocompleteTransactionIDArray) Encode

Encode encodes AutocompleteTransactionIDArray as json.

func (AutocompleteTransactionIDArray) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*AutocompleteTransactionIDArray) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

func (AutocompleteTransactionIDArray) Validate

type AutocompleteTransactionType

type AutocompleteTransactionType struct {
	ID string `json:"id"`
	// Type of the object found by an auto-complete search.
	Name string `json:"name"`
	// Name of the object found by an auto-complete search.
	Type string `json:"type"`
}

Ref: #/components/schemas/AutocompleteTransactionType

func (*AutocompleteTransactionType) Decode

Decode decodes AutocompleteTransactionType from json.

func (*AutocompleteTransactionType) Encode

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

Encode implements json.Marshaler.

func (*AutocompleteTransactionType) GetID

GetID returns the value of ID.

func (*AutocompleteTransactionType) GetName

func (s *AutocompleteTransactionType) GetName() string

GetName returns the value of Name.

func (*AutocompleteTransactionType) GetType

func (s *AutocompleteTransactionType) GetType() string

GetType returns the value of Type.

func (*AutocompleteTransactionType) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*AutocompleteTransactionType) SetID

func (s *AutocompleteTransactionType) SetID(val string)

SetID sets the value of ID.

func (*AutocompleteTransactionType) SetName

func (s *AutocompleteTransactionType) SetName(val string)

SetName sets the value of Name.

func (*AutocompleteTransactionType) SetType

func (s *AutocompleteTransactionType) SetType(val string)

SetType sets the value of Type.

func (*AutocompleteTransactionType) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

type AutocompleteTransactionTypeArray

type AutocompleteTransactionTypeArray []AutocompleteTransactionType

func (*AutocompleteTransactionTypeArray) Decode

Decode decodes AutocompleteTransactionTypeArray from json.

func (AutocompleteTransactionTypeArray) Encode

Encode encodes AutocompleteTransactionTypeArray as json.

func (AutocompleteTransactionTypeArray) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*AutocompleteTransactionTypeArray) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

func (AutocompleteTransactionTypeArray) Validate

type AvailableBudget

type AvailableBudget struct {
	CreatedAt OptDateTime `json:"created_at"`
	UpdatedAt OptDateTime `json:"updated_at"`
	// Use either currency_id or currency_code.
	CurrencyID OptString `json:"currency_id"`
	// Use either currency_id or currency_code.
	CurrencyCode          OptString `json:"currency_code"`
	CurrencySymbol        OptString `json:"currency_symbol"`
	CurrencyDecimalPlaces OptInt32  `json:"currency_decimal_places"`
	Amount                string    `json:"amount"`
	// Start date of the available budget.
	Start time.Time `json:"start"`
	// End date of the available budget.
	End                time.Time     `json:"end"`
	SpentInBudgets     []BudgetSpent `json:"spent_in_budgets"`
	SpentOutsideBudget []BudgetSpent `json:"spent_outside_budget"`
}

Ref: #/components/schemas/AvailableBudget

func (*AvailableBudget) Decode

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

Decode decodes AvailableBudget from json.

func (*AvailableBudget) Encode

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

Encode implements json.Marshaler.

func (*AvailableBudget) GetAmount

func (s *AvailableBudget) GetAmount() string

GetAmount returns the value of Amount.

func (*AvailableBudget) GetCreatedAt

func (s *AvailableBudget) GetCreatedAt() OptDateTime

GetCreatedAt returns the value of CreatedAt.

func (*AvailableBudget) GetCurrencyCode

func (s *AvailableBudget) GetCurrencyCode() OptString

GetCurrencyCode returns the value of CurrencyCode.

func (*AvailableBudget) GetCurrencyDecimalPlaces

func (s *AvailableBudget) GetCurrencyDecimalPlaces() OptInt32

GetCurrencyDecimalPlaces returns the value of CurrencyDecimalPlaces.

func (*AvailableBudget) GetCurrencyID

func (s *AvailableBudget) GetCurrencyID() OptString

GetCurrencyID returns the value of CurrencyID.

func (*AvailableBudget) GetCurrencySymbol

func (s *AvailableBudget) GetCurrencySymbol() OptString

GetCurrencySymbol returns the value of CurrencySymbol.

func (*AvailableBudget) GetEnd

func (s *AvailableBudget) GetEnd() time.Time

GetEnd returns the value of End.

func (*AvailableBudget) GetSpentInBudgets

func (s *AvailableBudget) GetSpentInBudgets() []BudgetSpent

GetSpentInBudgets returns the value of SpentInBudgets.

func (*AvailableBudget) GetSpentOutsideBudget

func (s *AvailableBudget) GetSpentOutsideBudget() []BudgetSpent

GetSpentOutsideBudget returns the value of SpentOutsideBudget.

func (*AvailableBudget) GetStart

func (s *AvailableBudget) GetStart() time.Time

GetStart returns the value of Start.

func (*AvailableBudget) GetUpdatedAt

func (s *AvailableBudget) GetUpdatedAt() OptDateTime

GetUpdatedAt returns the value of UpdatedAt.

func (*AvailableBudget) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*AvailableBudget) SetAmount

func (s *AvailableBudget) SetAmount(val string)

SetAmount sets the value of Amount.

func (*AvailableBudget) SetCreatedAt

func (s *AvailableBudget) SetCreatedAt(val OptDateTime)

SetCreatedAt sets the value of CreatedAt.

func (*AvailableBudget) SetCurrencyCode

func (s *AvailableBudget) SetCurrencyCode(val OptString)

SetCurrencyCode sets the value of CurrencyCode.

func (*AvailableBudget) SetCurrencyDecimalPlaces

func (s *AvailableBudget) SetCurrencyDecimalPlaces(val OptInt32)

SetCurrencyDecimalPlaces sets the value of CurrencyDecimalPlaces.

func (*AvailableBudget) SetCurrencyID

func (s *AvailableBudget) SetCurrencyID(val OptString)

SetCurrencyID sets the value of CurrencyID.

func (*AvailableBudget) SetCurrencySymbol

func (s *AvailableBudget) SetCurrencySymbol(val OptString)

SetCurrencySymbol sets the value of CurrencySymbol.

func (*AvailableBudget) SetEnd

func (s *AvailableBudget) SetEnd(val time.Time)

SetEnd sets the value of End.

func (*AvailableBudget) SetSpentInBudgets

func (s *AvailableBudget) SetSpentInBudgets(val []BudgetSpent)

SetSpentInBudgets sets the value of SpentInBudgets.

func (*AvailableBudget) SetSpentOutsideBudget

func (s *AvailableBudget) SetSpentOutsideBudget(val []BudgetSpent)

SetSpentOutsideBudget sets the value of SpentOutsideBudget.

func (*AvailableBudget) SetStart

func (s *AvailableBudget) SetStart(val time.Time)

SetStart sets the value of Start.

func (*AvailableBudget) SetUpdatedAt

func (s *AvailableBudget) SetUpdatedAt(val OptDateTime)

SetUpdatedAt sets the value of UpdatedAt.

func (*AvailableBudget) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

type AvailableBudgetArray

type AvailableBudgetArray struct {
	Data []AvailableBudgetRead `json:"data"`
	Meta Meta                  `json:"meta"`
}

Ref: #/components/schemas/AvailableBudgetArray

func (*AvailableBudgetArray) Decode

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

Decode decodes AvailableBudgetArray from json.

func (*AvailableBudgetArray) Encode

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

Encode implements json.Marshaler.

func (*AvailableBudgetArray) GetData

GetData returns the value of Data.

func (*AvailableBudgetArray) GetMeta

func (s *AvailableBudgetArray) GetMeta() Meta

GetMeta returns the value of Meta.

func (*AvailableBudgetArray) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*AvailableBudgetArray) SetData

func (s *AvailableBudgetArray) SetData(val []AvailableBudgetRead)

SetData sets the value of Data.

func (*AvailableBudgetArray) SetMeta

func (s *AvailableBudgetArray) SetMeta(val Meta)

SetMeta sets the value of Meta.

func (*AvailableBudgetArray) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

func (*AvailableBudgetArray) Validate

func (s *AvailableBudgetArray) Validate() error

type AvailableBudgetRead

type AvailableBudgetRead struct {
	// Immutable value.
	Type       string          `json:"type"`
	ID         string          `json:"id"`
	Attributes AvailableBudget `json:"attributes"`
}

Ref: #/components/schemas/AvailableBudgetRead

func (*AvailableBudgetRead) Decode

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

Decode decodes AvailableBudgetRead from json.

func (*AvailableBudgetRead) Encode

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

Encode implements json.Marshaler.

func (*AvailableBudgetRead) GetAttributes

func (s *AvailableBudgetRead) GetAttributes() AvailableBudget

GetAttributes returns the value of Attributes.

func (*AvailableBudgetRead) GetID

func (s *AvailableBudgetRead) GetID() string

GetID returns the value of ID.

func (*AvailableBudgetRead) GetType

func (s *AvailableBudgetRead) GetType() string

GetType returns the value of Type.

func (*AvailableBudgetRead) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*AvailableBudgetRead) SetAttributes

func (s *AvailableBudgetRead) SetAttributes(val AvailableBudget)

SetAttributes sets the value of Attributes.

func (*AvailableBudgetRead) SetID

func (s *AvailableBudgetRead) SetID(val string)

SetID sets the value of ID.

func (*AvailableBudgetRead) SetType

func (s *AvailableBudgetRead) SetType(val string)

SetType sets the value of Type.

func (*AvailableBudgetRead) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

type AvailableBudgetSingle

type AvailableBudgetSingle struct {
	Data AvailableBudgetRead `json:"data"`
}

Ref: #/components/schemas/AvailableBudgetSingle

func (*AvailableBudgetSingle) Decode

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

Decode decodes AvailableBudgetSingle from json.

func (*AvailableBudgetSingle) Encode

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

Encode implements json.Marshaler.

func (*AvailableBudgetSingle) GetData

GetData returns the value of Data.

func (*AvailableBudgetSingle) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*AvailableBudgetSingle) SetData

SetData sets the value of Data.

func (*AvailableBudgetSingle) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

type BadRequest

type BadRequest struct {
	Message   OptString `json:"message"`
	Exception OptString `json:"exception"`
}

Ref: #/components/schemas/BadRequest

func (*BadRequest) Decode

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

Decode decodes BadRequest from json.

func (*BadRequest) Encode

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

Encode implements json.Marshaler.

func (*BadRequest) GetException

func (s *BadRequest) GetException() OptString

GetException returns the value of Exception.

func (*BadRequest) GetMessage

func (s *BadRequest) GetMessage() OptString

GetMessage returns the value of Message.

func (*BadRequest) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*BadRequest) SetException

func (s *BadRequest) SetException(val OptString)

SetException sets the value of Exception.

func (*BadRequest) SetMessage

func (s *BadRequest) SetMessage(val OptString)

SetMessage sets the value of Message.

func (*BadRequest) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

type BasicSummary

type BasicSummary map[string]BasicSummaryEntry

Ref: #/components/schemas/BasicSummary

func (*BasicSummary) Decode

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

Decode decodes BasicSummary from json.

func (BasicSummary) Encode

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

Encode implements json.Marshaler.

func (BasicSummary) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*BasicSummary) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

func (BasicSummary) Validate

func (s BasicSummary) Validate() error

type BasicSummaryEntry

type BasicSummaryEntry struct {
	// This is a reference to the type of info shared, not influenced by translations or user preferences.
	//  The EUR value is a reference to the currency code. Possibilities are: balance-in-ABC,
	// spent-in-ABC, earned-in-ABC, bills-paid-in-ABC, bills-unpaid-in-ABC, left-to-spend-in-ABC and
	// net-worth-in-ABC.
	Key OptString `json:"key"`
	// A translated title for the information shared.
	Title OptString `json:"title"`
	// The amount as a float.
	MonetaryValue OptFloat64 `json:"monetary_value"`
	// The currency ID of the associated currency.
	CurrencyID     OptString `json:"currency_id"`
	CurrencyCode   OptString `json:"currency_code"`
	CurrencySymbol OptString `json:"currency_symbol"`
	// Number of decimals for the associated currency.
	CurrencyDecimalPlaces OptInt32 `json:"currency_decimal_places"`
	// The amount formatted according to the users locale.
	ValueParsed OptString `json:"value_parsed"`
	// Reference to a font-awesome icon without the fa- part.
	LocalIcon OptString `json:"local_icon"`
	// A short explanation of the amounts origin. Already formatted according to the locale of the user
	// or translated, if relevant.
	SubTitle OptString `json:"sub_title"`
}

Ref: #/components/schemas/BasicSummaryEntry

func (*BasicSummaryEntry) Decode

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

Decode decodes BasicSummaryEntry from json.

func (*BasicSummaryEntry) Encode

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

Encode implements json.Marshaler.

func (*BasicSummaryEntry) GetCurrencyCode

func (s *BasicSummaryEntry) GetCurrencyCode() OptString

GetCurrencyCode returns the value of CurrencyCode.

func (*BasicSummaryEntry) GetCurrencyDecimalPlaces

func (s *BasicSummaryEntry) GetCurrencyDecimalPlaces() OptInt32

GetCurrencyDecimalPlaces returns the value of CurrencyDecimalPlaces.

func (*BasicSummaryEntry) GetCurrencyID

func (s *BasicSummaryEntry) GetCurrencyID() OptString

GetCurrencyID returns the value of CurrencyID.

func (*BasicSummaryEntry) GetCurrencySymbol

func (s *BasicSummaryEntry) GetCurrencySymbol() OptString

GetCurrencySymbol returns the value of CurrencySymbol.

func (*BasicSummaryEntry) GetKey

func (s *BasicSummaryEntry) GetKey() OptString

GetKey returns the value of Key.

func (*BasicSummaryEntry) GetLocalIcon

func (s *BasicSummaryEntry) GetLocalIcon() OptString

GetLocalIcon returns the value of LocalIcon.

func (*BasicSummaryEntry) GetMonetaryValue

func (s *BasicSummaryEntry) GetMonetaryValue() OptFloat64

GetMonetaryValue returns the value of MonetaryValue.

func (*BasicSummaryEntry) GetSubTitle

func (s *BasicSummaryEntry) GetSubTitle() OptString

GetSubTitle returns the value of SubTitle.

func (*BasicSummaryEntry) GetTitle

func (s *BasicSummaryEntry) GetTitle() OptString

GetTitle returns the value of Title.

func (*BasicSummaryEntry) GetValueParsed

func (s *BasicSummaryEntry) GetValueParsed() OptString

GetValueParsed returns the value of ValueParsed.

func (*BasicSummaryEntry) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*BasicSummaryEntry) SetCurrencyCode

func (s *BasicSummaryEntry) SetCurrencyCode(val OptString)

SetCurrencyCode sets the value of CurrencyCode.

func (*BasicSummaryEntry) SetCurrencyDecimalPlaces

func (s *BasicSummaryEntry) SetCurrencyDecimalPlaces(val OptInt32)

SetCurrencyDecimalPlaces sets the value of CurrencyDecimalPlaces.

func (*BasicSummaryEntry) SetCurrencyID

func (s *BasicSummaryEntry) SetCurrencyID(val OptString)

SetCurrencyID sets the value of CurrencyID.

func (*BasicSummaryEntry) SetCurrencySymbol

func (s *BasicSummaryEntry) SetCurrencySymbol(val OptString)

SetCurrencySymbol sets the value of CurrencySymbol.

func (*BasicSummaryEntry) SetKey

func (s *BasicSummaryEntry) SetKey(val OptString)

SetKey sets the value of Key.

func (*BasicSummaryEntry) SetLocalIcon

func (s *BasicSummaryEntry) SetLocalIcon(val OptString)

SetLocalIcon sets the value of LocalIcon.

func (*BasicSummaryEntry) SetMonetaryValue

func (s *BasicSummaryEntry) SetMonetaryValue(val OptFloat64)

SetMonetaryValue sets the value of MonetaryValue.

func (*BasicSummaryEntry) SetSubTitle

func (s *BasicSummaryEntry) SetSubTitle(val OptString)

SetSubTitle sets the value of SubTitle.

func (*BasicSummaryEntry) SetTitle

func (s *BasicSummaryEntry) SetTitle(val OptString)

SetTitle sets the value of Title.

func (*BasicSummaryEntry) SetValueParsed

func (s *BasicSummaryEntry) SetValueParsed(val OptString)

SetValueParsed sets the value of ValueParsed.

func (*BasicSummaryEntry) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

func (*BasicSummaryEntry) Validate

func (s *BasicSummaryEntry) Validate() error

type Bill

type Bill struct {
	CreatedAt OptDateTime `json:"created_at"`
	UpdatedAt OptDateTime `json:"updated_at"`
	// Use either currency_id or currency_code.
	CurrencyID OptString `json:"currency_id"`
	// Use either currency_id or currency_code.
	CurrencyCode          OptString `json:"currency_code"`
	CurrencySymbol        OptString `json:"currency_symbol"`
	CurrencyDecimalPlaces OptInt32  `json:"currency_decimal_places"`
	Name                  string    `json:"name"`
	AmountMin             string    `json:"amount_min"`
	AmountMax             string    `json:"amount_max"`
	Date                  time.Time `json:"date"`
	// The date after which this bill is no longer valid or applicable.
	EndDate OptDateTime `json:"end_date"`
	// The date before which the bill must be renewed (or cancelled).
	ExtensionDate OptDateTime         `json:"extension_date"`
	RepeatFreq    BillRepeatFrequency `json:"repeat_freq"`
	// How often the bill must be skipped. 1 means a bi-monthly bill.
	Skip OptInt32 `json:"skip"`
	// If the bill is active.
	Active OptBool `json:"active"`
	// Order of the bill.
	Order OptInt32     `json:"order"`
	Notes OptNilString `json:"notes"`
	// When the bill is expected to be due.
	NextExpectedMatch OptNilDateTime `json:"next_expected_match"`
	// Formatted (locally) when the bill is due.
	NextExpectedMatchDiff OptNilString `json:"next_expected_match_diff"`
	// The group ID of the group this object is part of. NULL if no group.
	ObjectGroupID OptNilString `json:"object_group_id"`
	// The order of the group. At least 1, for the highest sorting.
	ObjectGroupOrder OptNilInt32 `json:"object_group_order"`
	// The name of the group. NULL if no group.
	ObjectGroupTitle OptNilString `json:"object_group_title"`
	// Array of future dates when the bill is expected to be paid. Autogenerated.
	PayDates []time.Time `json:"pay_dates"`
	// Array of past transactions when the bill was paid.
	PaidDates []BillPaidDatesItem `json:"paid_dates"`
}

Ref: #/components/schemas/Bill

func (*Bill) Decode

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

Decode decodes Bill from json.

func (*Bill) Encode

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

Encode implements json.Marshaler.

func (*Bill) GetActive

func (s *Bill) GetActive() OptBool

GetActive returns the value of Active.

func (*Bill) GetAmountMax

func (s *Bill) GetAmountMax() string

GetAmountMax returns the value of AmountMax.

func (*Bill) GetAmountMin

func (s *Bill) GetAmountMin() string

GetAmountMin returns the value of AmountMin.

func (*Bill) GetCreatedAt

func (s *Bill) GetCreatedAt() OptDateTime

GetCreatedAt returns the value of CreatedAt.

func (*Bill) GetCurrencyCode

func (s *Bill) GetCurrencyCode() OptString

GetCurrencyCode returns the value of CurrencyCode.

func (*Bill) GetCurrencyDecimalPlaces

func (s *Bill) GetCurrencyDecimalPlaces() OptInt32

GetCurrencyDecimalPlaces returns the value of CurrencyDecimalPlaces.

func (*Bill) GetCurrencyID

func (s *Bill) GetCurrencyID() OptString

GetCurrencyID returns the value of CurrencyID.

func (*Bill) GetCurrencySymbol

func (s *Bill) GetCurrencySymbol() OptString

GetCurrencySymbol returns the value of CurrencySymbol.

func (*Bill) GetDate

func (s *Bill) GetDate() time.Time

GetDate returns the value of Date.

func (*Bill) GetEndDate

func (s *Bill) GetEndDate() OptDateTime

GetEndDate returns the value of EndDate.

func (*Bill) GetExtensionDate

func (s *Bill) GetExtensionDate() OptDateTime

GetExtensionDate returns the value of ExtensionDate.

func (*Bill) GetName

func (s *Bill) GetName() string

GetName returns the value of Name.

func (*Bill) GetNextExpectedMatch

func (s *Bill) GetNextExpectedMatch() OptNilDateTime

GetNextExpectedMatch returns the value of NextExpectedMatch.

func (*Bill) GetNextExpectedMatchDiff

func (s *Bill) GetNextExpectedMatchDiff() OptNilString

GetNextExpectedMatchDiff returns the value of NextExpectedMatchDiff.

func (*Bill) GetNotes

func (s *Bill) GetNotes() OptNilString

GetNotes returns the value of Notes.

func (*Bill) GetObjectGroupID

func (s *Bill) GetObjectGroupID() OptNilString

GetObjectGroupID returns the value of ObjectGroupID.

func (*Bill) GetObjectGroupOrder

func (s *Bill) GetObjectGroupOrder() OptNilInt32

GetObjectGroupOrder returns the value of ObjectGroupOrder.

func (*Bill) GetObjectGroupTitle

func (s *Bill) GetObjectGroupTitle() OptNilString

GetObjectGroupTitle returns the value of ObjectGroupTitle.

func (*Bill) GetOrder

func (s *Bill) GetOrder() OptInt32

GetOrder returns the value of Order.

func (*Bill) GetPaidDates

func (s *Bill) GetPaidDates() []BillPaidDatesItem

GetPaidDates returns the value of PaidDates.

func (*Bill) GetPayDates

func (s *Bill) GetPayDates() []time.Time

GetPayDates returns the value of PayDates.

func (*Bill) GetRepeatFreq

func (s *Bill) GetRepeatFreq() BillRepeatFrequency

GetRepeatFreq returns the value of RepeatFreq.

func (*Bill) GetSkip

func (s *Bill) GetSkip() OptInt32

GetSkip returns the value of Skip.

func (*Bill) GetUpdatedAt

func (s *Bill) GetUpdatedAt() OptDateTime

GetUpdatedAt returns the value of UpdatedAt.

func (*Bill) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*Bill) SetActive

func (s *Bill) SetActive(val OptBool)

SetActive sets the value of Active.

func (*Bill) SetAmountMax

func (s *Bill) SetAmountMax(val string)

SetAmountMax sets the value of AmountMax.

func (*Bill) SetAmountMin

func (s *Bill) SetAmountMin(val string)

SetAmountMin sets the value of AmountMin.

func (*Bill) SetCreatedAt

func (s *Bill) SetCreatedAt(val OptDateTime)

SetCreatedAt sets the value of CreatedAt.

func (*Bill) SetCurrencyCode

func (s *Bill) SetCurrencyCode(val OptString)

SetCurrencyCode sets the value of CurrencyCode.

func (*Bill) SetCurrencyDecimalPlaces

func (s *Bill) SetCurrencyDecimalPlaces(val OptInt32)

SetCurrencyDecimalPlaces sets the value of CurrencyDecimalPlaces.

func (*Bill) SetCurrencyID

func (s *Bill) SetCurrencyID(val OptString)

SetCurrencyID sets the value of CurrencyID.

func (*Bill) SetCurrencySymbol

func (s *Bill) SetCurrencySymbol(val OptString)

SetCurrencySymbol sets the value of CurrencySymbol.

func (*Bill) SetDate

func (s *Bill) SetDate(val time.Time)

SetDate sets the value of Date.

func (*Bill) SetEndDate

func (s *Bill) SetEndDate(val OptDateTime)

SetEndDate sets the value of EndDate.

func (*Bill) SetExtensionDate

func (s *Bill) SetExtensionDate(val OptDateTime)

SetExtensionDate sets the value of ExtensionDate.

func (*Bill) SetName

func (s *Bill) SetName(val string)

SetName sets the value of Name.

func (*Bill) SetNextExpectedMatch

func (s *Bill) SetNextExpectedMatch(val OptNilDateTime)

SetNextExpectedMatch sets the value of NextExpectedMatch.

func (*Bill) SetNextExpectedMatchDiff

func (s *Bill) SetNextExpectedMatchDiff(val OptNilString)

SetNextExpectedMatchDiff sets the value of NextExpectedMatchDiff.

func (*Bill) SetNotes

func (s *Bill) SetNotes(val OptNilString)

SetNotes sets the value of Notes.

func (*Bill) SetObjectGroupID

func (s *Bill) SetObjectGroupID(val OptNilString)

SetObjectGroupID sets the value of ObjectGroupID.

func (*Bill) SetObjectGroupOrder

func (s *Bill) SetObjectGroupOrder(val OptNilInt32)

SetObjectGroupOrder sets the value of ObjectGroupOrder.

func (*Bill) SetObjectGroupTitle

func (s *Bill) SetObjectGroupTitle(val OptNilString)

SetObjectGroupTitle sets the value of ObjectGroupTitle.

func (*Bill) SetOrder

func (s *Bill) SetOrder(val OptInt32)

SetOrder sets the value of Order.

func (*Bill) SetPaidDates

func (s *Bill) SetPaidDates(val []BillPaidDatesItem)

SetPaidDates sets the value of PaidDates.

func (*Bill) SetPayDates

func (s *Bill) SetPayDates(val []time.Time)

SetPayDates sets the value of PayDates.

func (*Bill) SetRepeatFreq

func (s *Bill) SetRepeatFreq(val BillRepeatFrequency)

SetRepeatFreq sets the value of RepeatFreq.

func (*Bill) SetSkip

func (s *Bill) SetSkip(val OptInt32)

SetSkip sets the value of Skip.

func (*Bill) SetUpdatedAt

func (s *Bill) SetUpdatedAt(val OptDateTime)

SetUpdatedAt sets the value of UpdatedAt.

func (*Bill) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

func (*Bill) Validate

func (s *Bill) Validate() error

type BillArray

type BillArray struct {
	Data []BillRead `json:"data"`
	Meta Meta       `json:"meta"`
}

Ref: #/components/schemas/BillArray

func (*BillArray) Decode

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

Decode decodes BillArray from json.

func (*BillArray) Encode

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

Encode implements json.Marshaler.

func (*BillArray) GetData

func (s *BillArray) GetData() []BillRead

GetData returns the value of Data.

func (*BillArray) GetMeta

func (s *BillArray) GetMeta() Meta

GetMeta returns the value of Meta.

func (*BillArray) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*BillArray) SetData

func (s *BillArray) SetData(val []BillRead)

SetData sets the value of Data.

func (*BillArray) SetMeta

func (s *BillArray) SetMeta(val Meta)

SetMeta sets the value of Meta.

func (*BillArray) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

func (*BillArray) Validate

func (s *BillArray) Validate() error

type BillPaidDatesItem

type BillPaidDatesItem struct {
	// Transaction group ID of the paid bill.
	TransactionGroupID OptString `json:"transaction_group_id"`
	// Transaction journal ID of the paid bill.
	TransactionJournalID OptString `json:"transaction_journal_id"`
	// Date the bill was paid.
	Date OptDateTime `json:"date"`
}

func (*BillPaidDatesItem) Decode

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

Decode decodes BillPaidDatesItem from json.

func (*BillPaidDatesItem) Encode

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

Encode implements json.Marshaler.

func (*BillPaidDatesItem) GetDate

func (s *BillPaidDatesItem) GetDate() OptDateTime

GetDate returns the value of Date.

func (*BillPaidDatesItem) GetTransactionGroupID

func (s *BillPaidDatesItem) GetTransactionGroupID() OptString

GetTransactionGroupID returns the value of TransactionGroupID.

func (*BillPaidDatesItem) GetTransactionJournalID

func (s *BillPaidDatesItem) GetTransactionJournalID() OptString

GetTransactionJournalID returns the value of TransactionJournalID.

func (*BillPaidDatesItem) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*BillPaidDatesItem) SetDate

func (s *BillPaidDatesItem) SetDate(val OptDateTime)

SetDate sets the value of Date.

func (*BillPaidDatesItem) SetTransactionGroupID

func (s *BillPaidDatesItem) SetTransactionGroupID(val OptString)

SetTransactionGroupID sets the value of TransactionGroupID.

func (*BillPaidDatesItem) SetTransactionJournalID

func (s *BillPaidDatesItem) SetTransactionJournalID(val OptString)

SetTransactionJournalID sets the value of TransactionJournalID.

func (*BillPaidDatesItem) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

type BillRead

type BillRead struct {
	// Immutable value.
	Type       string `json:"type"`
	ID         string `json:"id"`
	Attributes Bill   `json:"attributes"`
}

Ref: #/components/schemas/BillRead

func (*BillRead) Decode

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

Decode decodes BillRead from json.

func (*BillRead) Encode

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

Encode implements json.Marshaler.

func (*BillRead) GetAttributes

func (s *BillRead) GetAttributes() Bill

GetAttributes returns the value of Attributes.

func (*BillRead) GetID

func (s *BillRead) GetID() string

GetID returns the value of ID.

func (*BillRead) GetType

func (s *BillRead) GetType() string

GetType returns the value of Type.

func (*BillRead) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*BillRead) SetAttributes

func (s *BillRead) SetAttributes(val Bill)

SetAttributes sets the value of Attributes.

func (*BillRead) SetID

func (s *BillRead) SetID(val string)

SetID sets the value of ID.

func (*BillRead) SetType

func (s *BillRead) SetType(val string)

SetType sets the value of Type.

func (*BillRead) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

func (*BillRead) Validate

func (s *BillRead) Validate() error

type BillRepeatFrequency

type BillRepeatFrequency string

How often the bill must be paid. Ref: #/components/schemas/BillRepeatFrequency

const (
	BillRepeatFrequencyWeekly    BillRepeatFrequency = "weekly"
	BillRepeatFrequencyMonthly   BillRepeatFrequency = "monthly"
	BillRepeatFrequencyQuarterly BillRepeatFrequency = "quarterly"
	BillRepeatFrequencyHalfYear  BillRepeatFrequency = "half-year"
	BillRepeatFrequencyYearly    BillRepeatFrequency = "yearly"
)

func (BillRepeatFrequency) AllValues

AllValues returns all BillRepeatFrequency values.

func (*BillRepeatFrequency) Decode

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

Decode decodes BillRepeatFrequency from json.

func (BillRepeatFrequency) Encode

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

Encode encodes BillRepeatFrequency as json.

func (BillRepeatFrequency) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (BillRepeatFrequency) MarshalText

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

MarshalText implements encoding.TextMarshaler.

func (*BillRepeatFrequency) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

func (*BillRepeatFrequency) UnmarshalText

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

UnmarshalText implements encoding.TextUnmarshaler.

func (BillRepeatFrequency) Validate

func (s BillRepeatFrequency) Validate() error

type BillSingle

type BillSingle struct {
	Data BillRead `json:"data"`
}

Ref: #/components/schemas/BillSingle

func (*BillSingle) Decode

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

Decode decodes BillSingle from json.

func (*BillSingle) Encode

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

Encode implements json.Marshaler.

func (*BillSingle) GetData

func (s *BillSingle) GetData() BillRead

GetData returns the value of Data.

func (*BillSingle) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*BillSingle) SetData

func (s *BillSingle) SetData(val BillRead)

SetData sets the value of Data.

func (*BillSingle) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

func (*BillSingle) Validate

func (s *BillSingle) Validate() error

type BillStore

type BillStore struct {
	// Use either currency_id or currency_code.
	CurrencyID OptString `json:"currency_id"`
	// Use either currency_id or currency_code.
	CurrencyCode OptString `json:"currency_code"`
	Name         string    `json:"name"`
	AmountMin    string    `json:"amount_min"`
	AmountMax    string    `json:"amount_max"`
	Date         time.Time `json:"date"`
	// The date after which this bill is no longer valid or applicable.
	EndDate OptDateTime `json:"end_date"`
	// The date before which the bill must be renewed (or cancelled).
	ExtensionDate OptDateTime         `json:"extension_date"`
	RepeatFreq    BillRepeatFrequency `json:"repeat_freq"`
	// How often the bill must be skipped. 1 means a bi-monthly bill.
	Skip OptInt32 `json:"skip"`
	// If the bill is active.
	Active OptBool      `json:"active"`
	Notes  OptNilString `json:"notes"`
	// The group ID of the group this object is part of. NULL if no group.
	ObjectGroupID OptNilString `json:"object_group_id"`
	// The name of the group. NULL if no group.
	ObjectGroupTitle OptNilString `json:"object_group_title"`
}

Ref: #/components/schemas/BillStore

func (*BillStore) Decode

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

Decode decodes BillStore from json.

func (*BillStore) Encode

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

Encode implements json.Marshaler.

func (*BillStore) GetActive

func (s *BillStore) GetActive() OptBool

GetActive returns the value of Active.

func (*BillStore) GetAmountMax

func (s *BillStore) GetAmountMax() string

GetAmountMax returns the value of AmountMax.

func (*BillStore) GetAmountMin

func (s *BillStore) GetAmountMin() string

GetAmountMin returns the value of AmountMin.

func (*BillStore) GetCurrencyCode

func (s *BillStore) GetCurrencyCode() OptString

GetCurrencyCode returns the value of CurrencyCode.

func (*BillStore) GetCurrencyID

func (s *BillStore) GetCurrencyID() OptString

GetCurrencyID returns the value of CurrencyID.

func (*BillStore) GetDate

func (s *BillStore) GetDate() time.Time

GetDate returns the value of Date.

func (*BillStore) GetEndDate

func (s *BillStore) GetEndDate() OptDateTime

GetEndDate returns the value of EndDate.

func (*BillStore) GetExtensionDate

func (s *BillStore) GetExtensionDate() OptDateTime

GetExtensionDate returns the value of ExtensionDate.

func (*BillStore) GetName

func (s *BillStore) GetName() string

GetName returns the value of Name.

func (*BillStore) GetNotes

func (s *BillStore) GetNotes() OptNilString

GetNotes returns the value of Notes.

func (*BillStore) GetObjectGroupID

func (s *BillStore) GetObjectGroupID() OptNilString

GetObjectGroupID returns the value of ObjectGroupID.

func (*BillStore) GetObjectGroupTitle

func (s *BillStore) GetObjectGroupTitle() OptNilString

GetObjectGroupTitle returns the value of ObjectGroupTitle.

func (*BillStore) GetRepeatFreq

func (s *BillStore) GetRepeatFreq() BillRepeatFrequency

GetRepeatFreq returns the value of RepeatFreq.

func (*BillStore) GetSkip

func (s *BillStore) GetSkip() OptInt32

GetSkip returns the value of Skip.

func (*BillStore) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*BillStore) SetActive

func (s *BillStore) SetActive(val OptBool)

SetActive sets the value of Active.

func (*BillStore) SetAmountMax

func (s *BillStore) SetAmountMax(val string)

SetAmountMax sets the value of AmountMax.

func (*BillStore) SetAmountMin

func (s *BillStore) SetAmountMin(val string)

SetAmountMin sets the value of AmountMin.

func (*BillStore) SetCurrencyCode

func (s *BillStore) SetCurrencyCode(val OptString)

SetCurrencyCode sets the value of CurrencyCode.

func (*BillStore) SetCurrencyID

func (s *BillStore) SetCurrencyID(val OptString)

SetCurrencyID sets the value of CurrencyID.

func (*BillStore) SetDate

func (s *BillStore) SetDate(val time.Time)

SetDate sets the value of Date.

func (*BillStore) SetEndDate

func (s *BillStore) SetEndDate(val OptDateTime)

SetEndDate sets the value of EndDate.

func (*BillStore) SetExtensionDate

func (s *BillStore) SetExtensionDate(val OptDateTime)

SetExtensionDate sets the value of ExtensionDate.

func (*BillStore) SetName

func (s *BillStore) SetName(val string)

SetName sets the value of Name.

func (*BillStore) SetNotes

func (s *BillStore) SetNotes(val OptNilString)

SetNotes sets the value of Notes.

func (*BillStore) SetObjectGroupID

func (s *BillStore) SetObjectGroupID(val OptNilString)

SetObjectGroupID sets the value of ObjectGroupID.

func (*BillStore) SetObjectGroupTitle

func (s *BillStore) SetObjectGroupTitle(val OptNilString)

SetObjectGroupTitle sets the value of ObjectGroupTitle.

func (*BillStore) SetRepeatFreq

func (s *BillStore) SetRepeatFreq(val BillRepeatFrequency)

SetRepeatFreq sets the value of RepeatFreq.

func (*BillStore) SetSkip

func (s *BillStore) SetSkip(val OptInt32)

SetSkip sets the value of Skip.

func (*BillStore) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

func (*BillStore) Validate

func (s *BillStore) Validate() error

type BillUpdate

type BillUpdate struct {
	// Use either currency_id or currency_code.
	CurrencyID OptString `json:"currency_id"`
	// Use either currency_id or currency_code.
	CurrencyCode OptString   `json:"currency_code"`
	Name         string      `json:"name"`
	AmountMin    OptString   `json:"amount_min"`
	AmountMax    OptString   `json:"amount_max"`
	Date         OptDateTime `json:"date"`
	// The date after which this bill is no longer valid or applicable.
	EndDate OptDateTime `json:"end_date"`
	// The date before which the bill must be renewed (or cancelled).
	ExtensionDate OptDateTime            `json:"extension_date"`
	RepeatFreq    OptBillRepeatFrequency `json:"repeat_freq"`
	// How often the bill must be skipped. 1 means a bi-monthly bill.
	Skip OptInt32 `json:"skip"`
	// If the bill is active.
	Active OptBool      `json:"active"`
	Notes  OptNilString `json:"notes"`
	// The group ID of the group this object is part of. NULL if no group.
	ObjectGroupID OptNilString `json:"object_group_id"`
	// The name of the group. NULL if no group.
	ObjectGroupTitle OptNilString `json:"object_group_title"`
}

Ref: #/components/schemas/BillUpdate

func (*BillUpdate) Decode

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

Decode decodes BillUpdate from json.

func (*BillUpdate) Encode

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

Encode implements json.Marshaler.

func (*BillUpdate) GetActive

func (s *BillUpdate) GetActive() OptBool

GetActive returns the value of Active.

func (*BillUpdate) GetAmountMax

func (s *BillUpdate) GetAmountMax() OptString

GetAmountMax returns the value of AmountMax.

func (*BillUpdate) GetAmountMin

func (s *BillUpdate) GetAmountMin() OptString

GetAmountMin returns the value of AmountMin.

func (*BillUpdate) GetCurrencyCode

func (s *BillUpdate) GetCurrencyCode() OptString

GetCurrencyCode returns the value of CurrencyCode.

func (*BillUpdate) GetCurrencyID

func (s *BillUpdate) GetCurrencyID() OptString

GetCurrencyID returns the value of CurrencyID.

func (*BillUpdate) GetDate

func (s *BillUpdate) GetDate() OptDateTime

GetDate returns the value of Date.

func (*BillUpdate) GetEndDate

func (s *BillUpdate) GetEndDate() OptDateTime

GetEndDate returns the value of EndDate.

func (*BillUpdate) GetExtensionDate

func (s *BillUpdate) GetExtensionDate() OptDateTime

GetExtensionDate returns the value of ExtensionDate.

func (*BillUpdate) GetName

func (s *BillUpdate) GetName() string

GetName returns the value of Name.

func (*BillUpdate) GetNotes

func (s *BillUpdate) GetNotes() OptNilString

GetNotes returns the value of Notes.

func (*BillUpdate) GetObjectGroupID

func (s *BillUpdate) GetObjectGroupID() OptNilString

GetObjectGroupID returns the value of ObjectGroupID.

func (*BillUpdate) GetObjectGroupTitle

func (s *BillUpdate) GetObjectGroupTitle() OptNilString

GetObjectGroupTitle returns the value of ObjectGroupTitle.

func (*BillUpdate) GetRepeatFreq

func (s *BillUpdate) GetRepeatFreq() OptBillRepeatFrequency

GetRepeatFreq returns the value of RepeatFreq.

func (*BillUpdate) GetSkip

func (s *BillUpdate) GetSkip() OptInt32

GetSkip returns the value of Skip.

func (*BillUpdate) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*BillUpdate) SetActive

func (s *BillUpdate) SetActive(val OptBool)

SetActive sets the value of Active.

func (*BillUpdate) SetAmountMax

func (s *BillUpdate) SetAmountMax(val OptString)

SetAmountMax sets the value of AmountMax.

func (*BillUpdate) SetAmountMin

func (s *BillUpdate) SetAmountMin(val OptString)

SetAmountMin sets the value of AmountMin.

func (*BillUpdate) SetCurrencyCode

func (s *BillUpdate) SetCurrencyCode(val OptString)

SetCurrencyCode sets the value of CurrencyCode.

func (*BillUpdate) SetCurrencyID

func (s *BillUpdate) SetCurrencyID(val OptString)

SetCurrencyID sets the value of CurrencyID.

func (*BillUpdate) SetDate

func (s *BillUpdate) SetDate(val OptDateTime)

SetDate sets the value of Date.

func (*BillUpdate) SetEndDate

func (s *BillUpdate) SetEndDate(val OptDateTime)

SetEndDate sets the value of EndDate.

func (*BillUpdate) SetExtensionDate

func (s *BillUpdate) SetExtensionDate(val OptDateTime)

SetExtensionDate sets the value of ExtensionDate.

func (*BillUpdate) SetName

func (s *BillUpdate) SetName(val string)

SetName sets the value of Name.

func (*BillUpdate) SetNotes

func (s *BillUpdate) SetNotes(val OptNilString)

SetNotes sets the value of Notes.

func (*BillUpdate) SetObjectGroupID

func (s *BillUpdate) SetObjectGroupID(val OptNilString)

SetObjectGroupID sets the value of ObjectGroupID.

func (*BillUpdate) SetObjectGroupTitle

func (s *BillUpdate) SetObjectGroupTitle(val OptNilString)

SetObjectGroupTitle sets the value of ObjectGroupTitle.

func (*BillUpdate) SetRepeatFreq

func (s *BillUpdate) SetRepeatFreq(val OptBillRepeatFrequency)

SetRepeatFreq sets the value of RepeatFreq.

func (*BillUpdate) SetSkip

func (s *BillUpdate) SetSkip(val OptInt32)

SetSkip sets the value of Skip.

func (*BillUpdate) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

func (*BillUpdate) Validate

func (s *BillUpdate) Validate() error

type Budget

type Budget struct {
	CreatedAt      OptDateTime          `json:"created_at"`
	UpdatedAt      OptDateTime          `json:"updated_at"`
	Name           string               `json:"name"`
	Active         OptBool              `json:"active"`
	Notes          OptNilString         `json:"notes"`
	Order          OptInt32             `json:"order"`
	AutoBudgetType OptNilAutoBudgetType `json:"auto_budget_type"`
	// Use either currency_id or currency_code. Defaults to the user's default currency.
	AutoBudgetCurrencyID OptNilString `json:"auto_budget_currency_id"`
	// Use either currency_id or currency_code. Defaults to the user's default currency.
	AutoBudgetCurrencyCode OptNilString           `json:"auto_budget_currency_code"`
	AutoBudgetAmount       OptNilString           `json:"auto_budget_amount"`
	AutoBudgetPeriod       OptNilAutoBudgetPeriod `json:"auto_budget_period"`
	// Information on how much was spent in this budget. Is only filled in when the start and end date
	// are submitted.
	Spent []BudgetSpent `json:"spent"`
}

Ref: #/components/schemas/Budget

func (*Budget) Decode

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

Decode decodes Budget from json.

func (*Budget) Encode

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

Encode implements json.Marshaler.

func (*Budget) GetActive

func (s *Budget) GetActive() OptBool

GetActive returns the value of Active.

func (*Budget) GetAutoBudgetAmount

func (s *Budget) GetAutoBudgetAmount() OptNilString

GetAutoBudgetAmount returns the value of AutoBudgetAmount.

func (*Budget) GetAutoBudgetCurrencyCode

func (s *Budget) GetAutoBudgetCurrencyCode() OptNilString

GetAutoBudgetCurrencyCode returns the value of AutoBudgetCurrencyCode.

func (*Budget) GetAutoBudgetCurrencyID

func (s *Budget) GetAutoBudgetCurrencyID() OptNilString

GetAutoBudgetCurrencyID returns the value of AutoBudgetCurrencyID.

func (*Budget) GetAutoBudgetPeriod

func (s *Budget) GetAutoBudgetPeriod() OptNilAutoBudgetPeriod

GetAutoBudgetPeriod returns the value of AutoBudgetPeriod.

func (*Budget) GetAutoBudgetType

func (s *Budget) GetAutoBudgetType() OptNilAutoBudgetType

GetAutoBudgetType returns the value of AutoBudgetType.

func (*Budget) GetCreatedAt

func (s *Budget) GetCreatedAt() OptDateTime

GetCreatedAt returns the value of CreatedAt.

func (*Budget) GetName

func (s *Budget) GetName() string

GetName returns the value of Name.

func (*Budget) GetNotes

func (s *Budget) GetNotes() OptNilString

GetNotes returns the value of Notes.

func (*Budget) GetOrder

func (s *Budget) GetOrder() OptInt32

GetOrder returns the value of Order.

func (*Budget) GetSpent

func (s *Budget) GetSpent() []BudgetSpent

GetSpent returns the value of Spent.

func (*Budget) GetUpdatedAt

func (s *Budget) GetUpdatedAt() OptDateTime

GetUpdatedAt returns the value of UpdatedAt.

func (*Budget) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*Budget) SetActive

func (s *Budget) SetActive(val OptBool)

SetActive sets the value of Active.

func (*Budget) SetAutoBudgetAmount

func (s *Budget) SetAutoBudgetAmount(val OptNilString)

SetAutoBudgetAmount sets the value of AutoBudgetAmount.

func (*Budget) SetAutoBudgetCurrencyCode

func (s *Budget) SetAutoBudgetCurrencyCode(val OptNilString)

SetAutoBudgetCurrencyCode sets the value of AutoBudgetCurrencyCode.

func (*Budget) SetAutoBudgetCurrencyID

func (s *Budget) SetAutoBudgetCurrencyID(val OptNilString)

SetAutoBudgetCurrencyID sets the value of AutoBudgetCurrencyID.

func (*Budget) SetAutoBudgetPeriod

func (s *Budget) SetAutoBudgetPeriod(val OptNilAutoBudgetPeriod)

SetAutoBudgetPeriod sets the value of AutoBudgetPeriod.

func (*Budget) SetAutoBudgetType

func (s *Budget) SetAutoBudgetType(val OptNilAutoBudgetType)

SetAutoBudgetType sets the value of AutoBudgetType.

func (*Budget) SetCreatedAt

func (s *Budget) SetCreatedAt(val OptDateTime)

SetCreatedAt sets the value of CreatedAt.

func (*Budget) SetName

func (s *Budget) SetName(val string)

SetName sets the value of Name.

func (*Budget) SetNotes

func (s *Budget) SetNotes(val OptNilString)

SetNotes sets the value of Notes.

func (*Budget) SetOrder

func (s *Budget) SetOrder(val OptInt32)

SetOrder sets the value of Order.

func (*Budget) SetSpent

func (s *Budget) SetSpent(val []BudgetSpent)

SetSpent sets the value of Spent.

func (*Budget) SetUpdatedAt

func (s *Budget) SetUpdatedAt(val OptDateTime)

SetUpdatedAt sets the value of UpdatedAt.

func (*Budget) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

func (*Budget) Validate

func (s *Budget) Validate() error

type BudgetArray

type BudgetArray struct {
	Data []BudgetRead `json:"data"`
	Meta Meta         `json:"meta"`
}

Ref: #/components/schemas/BudgetArray

func (*BudgetArray) Decode

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

Decode decodes BudgetArray from json.

func (*BudgetArray) Encode

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

Encode implements json.Marshaler.

func (*BudgetArray) GetData

func (s *BudgetArray) GetData() []BudgetRead

GetData returns the value of Data.

func (*BudgetArray) GetMeta

func (s *BudgetArray) GetMeta() Meta

GetMeta returns the value of Meta.

func (*BudgetArray) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*BudgetArray) SetData

func (s *BudgetArray) SetData(val []BudgetRead)

SetData sets the value of Data.

func (*BudgetArray) SetMeta

func (s *BudgetArray) SetMeta(val Meta)

SetMeta sets the value of Meta.

func (*BudgetArray) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

func (*BudgetArray) Validate

func (s *BudgetArray) Validate() error

type BudgetLimit

type BudgetLimit struct {
	CreatedAt OptDateTime `json:"created_at"`
	UpdatedAt OptDateTime `json:"updated_at"`
	// Start date of the budget limit.
	Start time.Time `json:"start"`
	// End date of the budget limit.
	End time.Time `json:"end"`
	// Use either currency_id or currency_code. Defaults to the user's default currency.
	CurrencyID OptString `json:"currency_id"`
	// Use either currency_id or currency_code. Defaults to the user's default currency.
	CurrencyCode          OptString `json:"currency_code"`
	CurrencyName          OptString `json:"currency_name"`
	CurrencySymbol        OptString `json:"currency_symbol"`
	CurrencyDecimalPlaces OptInt32  `json:"currency_decimal_places"`
	// The budget ID of the associated budget.
	BudgetID string `json:"budget_id"`
	// Period of the budget limit. Only used when auto-generated by auto-budget.
	Period OptNilString `json:"period"`
	Amount string       `json:"amount"`
	Spent  OptNilString `json:"spent"`
}

Ref: #/components/schemas/BudgetLimit

func (*BudgetLimit) Decode

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

Decode decodes BudgetLimit from json.

func (*BudgetLimit) Encode

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

Encode implements json.Marshaler.

func (*BudgetLimit) GetAmount

func (s *BudgetLimit) GetAmount() string

GetAmount returns the value of Amount.

func (*BudgetLimit) GetBudgetID

func (s *BudgetLimit) GetBudgetID() string

GetBudgetID returns the value of BudgetID.

func (*BudgetLimit) GetCreatedAt

func (s *BudgetLimit) GetCreatedAt() OptDateTime

GetCreatedAt returns the value of CreatedAt.

func (*BudgetLimit) GetCurrencyCode

func (s *BudgetLimit) GetCurrencyCode() OptString

GetCurrencyCode returns the value of CurrencyCode.

func (*BudgetLimit) GetCurrencyDecimalPlaces

func (s *BudgetLimit) GetCurrencyDecimalPlaces() OptInt32

GetCurrencyDecimalPlaces returns the value of CurrencyDecimalPlaces.

func (*BudgetLimit) GetCurrencyID

func (s *BudgetLimit) GetCurrencyID() OptString

GetCurrencyID returns the value of CurrencyID.

func (*BudgetLimit) GetCurrencyName

func (s *BudgetLimit) GetCurrencyName() OptString

GetCurrencyName returns the value of CurrencyName.

func (*BudgetLimit) GetCurrencySymbol

func (s *BudgetLimit) GetCurrencySymbol() OptString

GetCurrencySymbol returns the value of CurrencySymbol.

func (*BudgetLimit) GetEnd

func (s *BudgetLimit) GetEnd() time.Time

GetEnd returns the value of End.

func (*BudgetLimit) GetPeriod

func (s *BudgetLimit) GetPeriod() OptNilString

GetPeriod returns the value of Period.

func (*BudgetLimit) GetSpent

func (s *BudgetLimit) GetSpent() OptNilString

GetSpent returns the value of Spent.

func (*BudgetLimit) GetStart

func (s *BudgetLimit) GetStart() time.Time

GetStart returns the value of Start.

func (*BudgetLimit) GetUpdatedAt

func (s *BudgetLimit) GetUpdatedAt() OptDateTime

GetUpdatedAt returns the value of UpdatedAt.

func (*BudgetLimit) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*BudgetLimit) SetAmount

func (s *BudgetLimit) SetAmount(val string)

SetAmount sets the value of Amount.

func (*BudgetLimit) SetBudgetID

func (s *BudgetLimit) SetBudgetID(val string)

SetBudgetID sets the value of BudgetID.

func (*BudgetLimit) SetCreatedAt

func (s *BudgetLimit) SetCreatedAt(val OptDateTime)

SetCreatedAt sets the value of CreatedAt.

func (*BudgetLimit) SetCurrencyCode

func (s *BudgetLimit) SetCurrencyCode(val OptString)

SetCurrencyCode sets the value of CurrencyCode.

func (*BudgetLimit) SetCurrencyDecimalPlaces

func (s *BudgetLimit) SetCurrencyDecimalPlaces(val OptInt32)

SetCurrencyDecimalPlaces sets the value of CurrencyDecimalPlaces.

func (*BudgetLimit) SetCurrencyID

func (s *BudgetLimit) SetCurrencyID(val OptString)

SetCurrencyID sets the value of CurrencyID.

func (*BudgetLimit) SetCurrencyName

func (s *BudgetLimit) SetCurrencyName(val OptString)

SetCurrencyName sets the value of CurrencyName.

func (*BudgetLimit) SetCurrencySymbol

func (s *BudgetLimit) SetCurrencySymbol(val OptString)

SetCurrencySymbol sets the value of CurrencySymbol.

func (*BudgetLimit) SetEnd

func (s *BudgetLimit) SetEnd(val time.Time)

SetEnd sets the value of End.

func (*BudgetLimit) SetPeriod

func (s *BudgetLimit) SetPeriod(val OptNilString)

SetPeriod sets the value of Period.

func (*BudgetLimit) SetSpent

func (s *BudgetLimit) SetSpent(val OptNilString)

SetSpent sets the value of Spent.

func (*BudgetLimit) SetStart

func (s *BudgetLimit) SetStart(val time.Time)

SetStart sets the value of Start.

func (*BudgetLimit) SetUpdatedAt

func (s *BudgetLimit) SetUpdatedAt(val OptDateTime)

SetUpdatedAt sets the value of UpdatedAt.

func (*BudgetLimit) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

type BudgetLimitArray

type BudgetLimitArray struct {
	Data []BudgetLimitRead `json:"data"`
	Meta Meta              `json:"meta"`
}

Ref: #/components/schemas/BudgetLimitArray

func (*BudgetLimitArray) Decode

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

Decode decodes BudgetLimitArray from json.

func (*BudgetLimitArray) Encode

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

Encode implements json.Marshaler.

func (*BudgetLimitArray) GetData

func (s *BudgetLimitArray) GetData() []BudgetLimitRead

GetData returns the value of Data.

func (*BudgetLimitArray) GetMeta

func (s *BudgetLimitArray) GetMeta() Meta

GetMeta returns the value of Meta.

func (*BudgetLimitArray) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*BudgetLimitArray) SetData

func (s *BudgetLimitArray) SetData(val []BudgetLimitRead)

SetData sets the value of Data.

func (*BudgetLimitArray) SetMeta

func (s *BudgetLimitArray) SetMeta(val Meta)

SetMeta sets the value of Meta.

func (*BudgetLimitArray) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

func (*BudgetLimitArray) Validate

func (s *BudgetLimitArray) Validate() error

type BudgetLimitRead

type BudgetLimitRead struct {
	// Immutable value.
	Type       string      `json:"type"`
	ID         string      `json:"id"`
	Attributes BudgetLimit `json:"attributes"`
}

Ref: #/components/schemas/BudgetLimitRead

func (*BudgetLimitRead) Decode

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

Decode decodes BudgetLimitRead from json.

func (*BudgetLimitRead) Encode

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

Encode implements json.Marshaler.

func (*BudgetLimitRead) GetAttributes

func (s *BudgetLimitRead) GetAttributes() BudgetLimit

GetAttributes returns the value of Attributes.

func (*BudgetLimitRead) GetID

func (s *BudgetLimitRead) GetID() string

GetID returns the value of ID.

func (*BudgetLimitRead) GetType

func (s *BudgetLimitRead) GetType() string

GetType returns the value of Type.

func (*BudgetLimitRead) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*BudgetLimitRead) SetAttributes

func (s *BudgetLimitRead) SetAttributes(val BudgetLimit)

SetAttributes sets the value of Attributes.

func (*BudgetLimitRead) SetID

func (s *BudgetLimitRead) SetID(val string)

SetID sets the value of ID.

func (*BudgetLimitRead) SetType

func (s *BudgetLimitRead) SetType(val string)

SetType sets the value of Type.

func (*BudgetLimitRead) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

type BudgetLimitSingle

type BudgetLimitSingle struct {
	Data BudgetLimitRead `json:"data"`
}

Ref: #/components/schemas/BudgetLimitSingle

func (*BudgetLimitSingle) Decode

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

Decode decodes BudgetLimitSingle from json.

func (*BudgetLimitSingle) Encode

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

Encode implements json.Marshaler.

func (*BudgetLimitSingle) GetData

func (s *BudgetLimitSingle) GetData() BudgetLimitRead

GetData returns the value of Data.

func (*BudgetLimitSingle) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*BudgetLimitSingle) SetData

func (s *BudgetLimitSingle) SetData(val BudgetLimitRead)

SetData sets the value of Data.

func (*BudgetLimitSingle) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

type BudgetLimitStore

type BudgetLimitStore struct {
	// Use either currency_id or currency_code. Defaults to the user's default currency.
	CurrencyID OptString `json:"currency_id"`
	// Use either currency_id or currency_code. Defaults to the user's default currency.
	CurrencyCode OptString `json:"currency_code"`
	// The budget ID of the associated budget.
	BudgetID string `json:"budget_id"`
	// Start date of the budget limit.
	Start time.Time `json:"start"`
	// Period of the budget limit. Only used when auto-generated by auto-budget.
	Period OptNilString `json:"period"`
	// End date of the budget limit.
	End    time.Time `json:"end"`
	Amount string    `json:"amount"`
}

Ref: #/components/schemas/BudgetLimitStore

func (*BudgetLimitStore) Decode

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

Decode decodes BudgetLimitStore from json.

func (*BudgetLimitStore) Encode

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

Encode implements json.Marshaler.

func (*BudgetLimitStore) GetAmount

func (s *BudgetLimitStore) GetAmount() string

GetAmount returns the value of Amount.

func (*BudgetLimitStore) GetBudgetID

func (s *BudgetLimitStore) GetBudgetID() string

GetBudgetID returns the value of BudgetID.

func (*BudgetLimitStore) GetCurrencyCode

func (s *BudgetLimitStore) GetCurrencyCode() OptString

GetCurrencyCode returns the value of CurrencyCode.

func (*BudgetLimitStore) GetCurrencyID

func (s *BudgetLimitStore) GetCurrencyID() OptString

GetCurrencyID returns the value of CurrencyID.

func (*BudgetLimitStore) GetEnd

func (s *BudgetLimitStore) GetEnd() time.Time

GetEnd returns the value of End.

func (*BudgetLimitStore) GetPeriod

func (s *BudgetLimitStore) GetPeriod() OptNilString

GetPeriod returns the value of Period.

func (*BudgetLimitStore) GetStart

func (s *BudgetLimitStore) GetStart() time.Time

GetStart returns the value of Start.

func (*BudgetLimitStore) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*BudgetLimitStore) SetAmount

func (s *BudgetLimitStore) SetAmount(val string)

SetAmount sets the value of Amount.

func (*BudgetLimitStore) SetBudgetID

func (s *BudgetLimitStore) SetBudgetID(val string)

SetBudgetID sets the value of BudgetID.

func (*BudgetLimitStore) SetCurrencyCode

func (s *BudgetLimitStore) SetCurrencyCode(val OptString)

SetCurrencyCode sets the value of CurrencyCode.

func (*BudgetLimitStore) SetCurrencyID

func (s *BudgetLimitStore) SetCurrencyID(val OptString)

SetCurrencyID sets the value of CurrencyID.

func (*BudgetLimitStore) SetEnd

func (s *BudgetLimitStore) SetEnd(val time.Time)

SetEnd sets the value of End.

func (*BudgetLimitStore) SetPeriod

func (s *BudgetLimitStore) SetPeriod(val OptNilString)

SetPeriod sets the value of Period.

func (*BudgetLimitStore) SetStart

func (s *BudgetLimitStore) SetStart(val time.Time)

SetStart sets the value of Start.

func (*BudgetLimitStore) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

type BudgetRead

type BudgetRead struct {
	// Immutable value.
	Type       string `json:"type"`
	ID         string `json:"id"`
	Attributes Budget `json:"attributes"`
}

Ref: #/components/schemas/BudgetRead

func (*BudgetRead) Decode

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

Decode decodes BudgetRead from json.

func (*BudgetRead) Encode

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

Encode implements json.Marshaler.

func (*BudgetRead) GetAttributes

func (s *BudgetRead) GetAttributes() Budget

GetAttributes returns the value of Attributes.

func (*BudgetRead) GetID

func (s *BudgetRead) GetID() string

GetID returns the value of ID.

func (*BudgetRead) GetType

func (s *BudgetRead) GetType() string

GetType returns the value of Type.

func (*BudgetRead) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*BudgetRead) SetAttributes

func (s *BudgetRead) SetAttributes(val Budget)

SetAttributes sets the value of Attributes.

func (*BudgetRead) SetID

func (s *BudgetRead) SetID(val string)

SetID sets the value of ID.

func (*BudgetRead) SetType

func (s *BudgetRead) SetType(val string)

SetType sets the value of Type.

func (*BudgetRead) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

func (*BudgetRead) Validate

func (s *BudgetRead) Validate() error

type BudgetSingle

type BudgetSingle struct {
	Data BudgetRead `json:"data"`
}

Ref: #/components/schemas/BudgetSingle

func (*BudgetSingle) Decode

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

Decode decodes BudgetSingle from json.

func (*BudgetSingle) Encode

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

Encode implements json.Marshaler.

func (*BudgetSingle) GetData

func (s *BudgetSingle) GetData() BudgetRead

GetData returns the value of Data.

func (*BudgetSingle) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*BudgetSingle) SetData

func (s *BudgetSingle) SetData(val BudgetRead)

SetData sets the value of Data.

func (*BudgetSingle) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

func (*BudgetSingle) Validate

func (s *BudgetSingle) Validate() error

type BudgetSpent

type BudgetSpent struct {
	// The amount spent.
	Sum            OptString `json:"sum"`
	CurrencyID     OptString `json:"currency_id"`
	CurrencyCode   OptString `json:"currency_code"`
	CurrencySymbol OptString `json:"currency_symbol"`
	// Number of decimals supported by the currency.
	CurrencyDecimalPlaces OptInt32 `json:"currency_decimal_places"`
}

Ref: #/components/schemas/BudgetSpent

func (*BudgetSpent) Decode

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

Decode decodes BudgetSpent from json.

func (*BudgetSpent) Encode

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

Encode implements json.Marshaler.

func (*BudgetSpent) GetCurrencyCode

func (s *BudgetSpent) GetCurrencyCode() OptString

GetCurrencyCode returns the value of CurrencyCode.

func (*BudgetSpent) GetCurrencyDecimalPlaces

func (s *BudgetSpent) GetCurrencyDecimalPlaces() OptInt32

GetCurrencyDecimalPlaces returns the value of CurrencyDecimalPlaces.

func (*BudgetSpent) GetCurrencyID

func (s *BudgetSpent) GetCurrencyID() OptString

GetCurrencyID returns the value of CurrencyID.

func (*BudgetSpent) GetCurrencySymbol

func (s *BudgetSpent) GetCurrencySymbol() OptString

GetCurrencySymbol returns the value of CurrencySymbol.

func (*BudgetSpent) GetSum

func (s *BudgetSpent) GetSum() OptString

GetSum returns the value of Sum.

func (*BudgetSpent) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*BudgetSpent) SetCurrencyCode

func (s *BudgetSpent) SetCurrencyCode(val OptString)

SetCurrencyCode sets the value of CurrencyCode.

func (*BudgetSpent) SetCurrencyDecimalPlaces

func (s *BudgetSpent) SetCurrencyDecimalPlaces(val OptInt32)

SetCurrencyDecimalPlaces sets the value of CurrencyDecimalPlaces.

func (*BudgetSpent) SetCurrencyID

func (s *BudgetSpent) SetCurrencyID(val OptString)

SetCurrencyID sets the value of CurrencyID.

func (*BudgetSpent) SetCurrencySymbol

func (s *BudgetSpent) SetCurrencySymbol(val OptString)

SetCurrencySymbol sets the value of CurrencySymbol.

func (*BudgetSpent) SetSum

func (s *BudgetSpent) SetSum(val OptString)

SetSum sets the value of Sum.

func (*BudgetSpent) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

type BudgetStore

type BudgetStore struct {
	Name           string               `json:"name"`
	Active         OptBool              `json:"active"`
	Order          OptInt32             `json:"order"`
	Notes          OptNilString         `json:"notes"`
	AutoBudgetType OptNilAutoBudgetType `json:"auto_budget_type"`
	// Use either currency_id or currency_code. Defaults to the user's default currency.
	AutoBudgetCurrencyID OptNilString `json:"auto_budget_currency_id"`
	// Use either currency_id or currency_code. Defaults to the user's default currency.
	AutoBudgetCurrencyCode OptNilString           `json:"auto_budget_currency_code"`
	AutoBudgetAmount       OptNilString           `json:"auto_budget_amount"`
	AutoBudgetPeriod       OptNilAutoBudgetPeriod `json:"auto_budget_period"`
}

Ref: #/components/schemas/BudgetStore

func (*BudgetStore) Decode

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

Decode decodes BudgetStore from json.

func (*BudgetStore) Encode

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

Encode implements json.Marshaler.

func (*BudgetStore) GetActive

func (s *BudgetStore) GetActive() OptBool

GetActive returns the value of Active.

func (*BudgetStore) GetAutoBudgetAmount

func (s *BudgetStore) GetAutoBudgetAmount() OptNilString

GetAutoBudgetAmount returns the value of AutoBudgetAmount.

func (*BudgetStore) GetAutoBudgetCurrencyCode

func (s *BudgetStore) GetAutoBudgetCurrencyCode() OptNilString

GetAutoBudgetCurrencyCode returns the value of AutoBudgetCurrencyCode.

func (*BudgetStore) GetAutoBudgetCurrencyID

func (s *BudgetStore) GetAutoBudgetCurrencyID() OptNilString

GetAutoBudgetCurrencyID returns the value of AutoBudgetCurrencyID.

func (*BudgetStore) GetAutoBudgetPeriod

func (s *BudgetStore) GetAutoBudgetPeriod() OptNilAutoBudgetPeriod

GetAutoBudgetPeriod returns the value of AutoBudgetPeriod.

func (*BudgetStore) GetAutoBudgetType

func (s *BudgetStore) GetAutoBudgetType() OptNilAutoBudgetType

GetAutoBudgetType returns the value of AutoBudgetType.

func (*BudgetStore) GetName

func (s *BudgetStore) GetName() string

GetName returns the value of Name.

func (*BudgetStore) GetNotes

func (s *BudgetStore) GetNotes() OptNilString

GetNotes returns the value of Notes.

func (*BudgetStore) GetOrder

func (s *BudgetStore) GetOrder() OptInt32

GetOrder returns the value of Order.

func (*BudgetStore) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*BudgetStore) SetActive

func (s *BudgetStore) SetActive(val OptBool)

SetActive sets the value of Active.

func (*BudgetStore) SetAutoBudgetAmount

func (s *BudgetStore) SetAutoBudgetAmount(val OptNilString)

SetAutoBudgetAmount sets the value of AutoBudgetAmount.

func (*BudgetStore) SetAutoBudgetCurrencyCode

func (s *BudgetStore) SetAutoBudgetCurrencyCode(val OptNilString)

SetAutoBudgetCurrencyCode sets the value of AutoBudgetCurrencyCode.

func (*BudgetStore) SetAutoBudgetCurrencyID

func (s *BudgetStore) SetAutoBudgetCurrencyID(val OptNilString)

SetAutoBudgetCurrencyID sets the value of AutoBudgetCurrencyID.

func (*BudgetStore) SetAutoBudgetPeriod

func (s *BudgetStore) SetAutoBudgetPeriod(val OptNilAutoBudgetPeriod)

SetAutoBudgetPeriod sets the value of AutoBudgetPeriod.

func (*BudgetStore) SetAutoBudgetType

func (s *BudgetStore) SetAutoBudgetType(val OptNilAutoBudgetType)

SetAutoBudgetType sets the value of AutoBudgetType.

func (*BudgetStore) SetName

func (s *BudgetStore) SetName(val string)

SetName sets the value of Name.

func (*BudgetStore) SetNotes

func (s *BudgetStore) SetNotes(val OptNilString)

SetNotes sets the value of Notes.

func (*BudgetStore) SetOrder

func (s *BudgetStore) SetOrder(val OptInt32)

SetOrder sets the value of Order.

func (*BudgetStore) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

func (*BudgetStore) Validate

func (s *BudgetStore) Validate() error

type BudgetUpdate

type BudgetUpdate struct {
	Name           string               `json:"name"`
	Active         OptBool              `json:"active"`
	Order          OptInt32             `json:"order"`
	Notes          OptNilString         `json:"notes"`
	AutoBudgetType OptNilAutoBudgetType `json:"auto_budget_type"`
	// Use either currency_id or currency_code. Defaults to the user's default currency.
	AutoBudgetCurrencyID OptNilString `json:"auto_budget_currency_id"`
	// Use either currency_id or currency_code. Defaults to the user's default currency.
	AutoBudgetCurrencyCode OptNilString           `json:"auto_budget_currency_code"`
	AutoBudgetAmount       OptNilString           `json:"auto_budget_amount"`
	AutoBudgetPeriod       OptNilAutoBudgetPeriod `json:"auto_budget_period"`
}

Ref: #/components/schemas/BudgetUpdate

func (*BudgetUpdate) Decode

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

Decode decodes BudgetUpdate from json.

func (*BudgetUpdate) Encode

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

Encode implements json.Marshaler.

func (*BudgetUpdate) GetActive

func (s *BudgetUpdate) GetActive() OptBool

GetActive returns the value of Active.

func (*BudgetUpdate) GetAutoBudgetAmount

func (s *BudgetUpdate) GetAutoBudgetAmount() OptNilString

GetAutoBudgetAmount returns the value of AutoBudgetAmount.

func (*BudgetUpdate) GetAutoBudgetCurrencyCode

func (s *BudgetUpdate) GetAutoBudgetCurrencyCode() OptNilString

GetAutoBudgetCurrencyCode returns the value of AutoBudgetCurrencyCode.

func (*BudgetUpdate) GetAutoBudgetCurrencyID

func (s *BudgetUpdate) GetAutoBudgetCurrencyID() OptNilString

GetAutoBudgetCurrencyID returns the value of AutoBudgetCurrencyID.

func (*BudgetUpdate) GetAutoBudgetPeriod

func (s *BudgetUpdate) GetAutoBudgetPeriod() OptNilAutoBudgetPeriod

GetAutoBudgetPeriod returns the value of AutoBudgetPeriod.

func (*BudgetUpdate) GetAutoBudgetType

func (s *BudgetUpdate) GetAutoBudgetType() OptNilAutoBudgetType

GetAutoBudgetType returns the value of AutoBudgetType.

func (*BudgetUpdate) GetName

func (s *BudgetUpdate) GetName() string

GetName returns the value of Name.

func (*BudgetUpdate) GetNotes

func (s *BudgetUpdate) GetNotes() OptNilString

GetNotes returns the value of Notes.

func (*BudgetUpdate) GetOrder

func (s *BudgetUpdate) GetOrder() OptInt32

GetOrder returns the value of Order.

func (*BudgetUpdate) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*BudgetUpdate) SetActive

func (s *BudgetUpdate) SetActive(val OptBool)

SetActive sets the value of Active.

func (*BudgetUpdate) SetAutoBudgetAmount

func (s *BudgetUpdate) SetAutoBudgetAmount(val OptNilString)

SetAutoBudgetAmount sets the value of AutoBudgetAmount.

func (*BudgetUpdate) SetAutoBudgetCurrencyCode

func (s *BudgetUpdate) SetAutoBudgetCurrencyCode(val OptNilString)

SetAutoBudgetCurrencyCode sets the value of AutoBudgetCurrencyCode.

func (*BudgetUpdate) SetAutoBudgetCurrencyID

func (s *BudgetUpdate) SetAutoBudgetCurrencyID(val OptNilString)

SetAutoBudgetCurrencyID sets the value of AutoBudgetCurrencyID.

func (*BudgetUpdate) SetAutoBudgetPeriod

func (s *BudgetUpdate) SetAutoBudgetPeriod(val OptNilAutoBudgetPeriod)

SetAutoBudgetPeriod sets the value of AutoBudgetPeriod.

func (*BudgetUpdate) SetAutoBudgetType

func (s *BudgetUpdate) SetAutoBudgetType(val OptNilAutoBudgetType)

SetAutoBudgetType sets the value of AutoBudgetType.

func (*BudgetUpdate) SetName

func (s *BudgetUpdate) SetName(val string)

SetName sets the value of Name.

func (*BudgetUpdate) SetNotes

func (s *BudgetUpdate) SetNotes(val OptNilString)

SetNotes sets the value of Notes.

func (*BudgetUpdate) SetOrder

func (s *BudgetUpdate) SetOrder(val OptInt32)

SetOrder sets the value of Order.

func (*BudgetUpdate) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

func (*BudgetUpdate) Validate

func (s *BudgetUpdate) Validate() error

type BulkUpdateTransactionsNoContent

type BulkUpdateTransactionsNoContent struct{}

BulkUpdateTransactionsNoContent is response for BulkUpdateTransactions operation.

type BulkUpdateTransactionsParams

type BulkUpdateTransactionsParams struct {
	// The JSON query.
	Query string
}

BulkUpdateTransactionsParams is parameters of bulkUpdateTransactions operation.

type BulkUpdateTransactionsRes

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

type Category

type Category struct {
	CreatedAt OptDateTime      `json:"created_at"`
	UpdatedAt OptDateTime      `json:"updated_at"`
	Name      string           `json:"name"`
	Notes     OptNilString     `json:"notes"`
	Spent     []CategorySpent  `json:"spent"`
	Earned    []CategoryEarned `json:"earned"`
}

Ref: #/components/schemas/Category

func (*Category) Decode

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

Decode decodes Category from json.

func (*Category) Encode

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

Encode implements json.Marshaler.

func (*Category) GetCreatedAt

func (s *Category) GetCreatedAt() OptDateTime

GetCreatedAt returns the value of CreatedAt.

func (*Category) GetEarned

func (s *Category) GetEarned() []CategoryEarned

GetEarned returns the value of Earned.

func (*Category) GetName

func (s *Category) GetName() string

GetName returns the value of Name.

func (*Category) GetNotes

func (s *Category) GetNotes() OptNilString

GetNotes returns the value of Notes.

func (*Category) GetSpent

func (s *Category) GetSpent() []CategorySpent

GetSpent returns the value of Spent.

func (*Category) GetUpdatedAt

func (s *Category) GetUpdatedAt() OptDateTime

GetUpdatedAt returns the value of UpdatedAt.

func (*Category) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*Category) SetCreatedAt

func (s *Category) SetCreatedAt(val OptDateTime)

SetCreatedAt sets the value of CreatedAt.

func (*Category) SetEarned

func (s *Category) SetEarned(val []CategoryEarned)

SetEarned sets the value of Earned.

func (*Category) SetName

func (s *Category) SetName(val string)

SetName sets the value of Name.

func (*Category) SetNotes

func (s *Category) SetNotes(val OptNilString)

SetNotes sets the value of Notes.

func (*Category) SetSpent

func (s *Category) SetSpent(val []CategorySpent)

SetSpent sets the value of Spent.

func (*Category) SetUpdatedAt

func (s *Category) SetUpdatedAt(val OptDateTime)

SetUpdatedAt sets the value of UpdatedAt.

func (*Category) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

type CategoryArray

type CategoryArray struct {
	Data []CategoryRead `json:"data"`
	Meta Meta           `json:"meta"`
}

Ref: #/components/schemas/CategoryArray

func (*CategoryArray) Decode

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

Decode decodes CategoryArray from json.

func (*CategoryArray) Encode

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

Encode implements json.Marshaler.

func (*CategoryArray) GetData

func (s *CategoryArray) GetData() []CategoryRead

GetData returns the value of Data.

func (*CategoryArray) GetMeta

func (s *CategoryArray) GetMeta() Meta

GetMeta returns the value of Meta.

func (*CategoryArray) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*CategoryArray) SetData

func (s *CategoryArray) SetData(val []CategoryRead)

SetData sets the value of Data.

func (*CategoryArray) SetMeta

func (s *CategoryArray) SetMeta(val Meta)

SetMeta sets the value of Meta.

func (*CategoryArray) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

func (*CategoryArray) Validate

func (s *CategoryArray) Validate() error

type CategoryEarned

type CategoryEarned struct {
	CurrencyID     OptString `json:"currency_id"`
	CurrencyCode   OptString `json:"currency_code"`
	CurrencySymbol OptString `json:"currency_symbol"`
	// Number of decimals supported by the currency.
	CurrencyDecimalPlaces OptInt32 `json:"currency_decimal_places"`
	// The amount earned.
	Sum OptString `json:"sum"`
}

Ref: #/components/schemas/CategoryEarned

func (*CategoryEarned) Decode

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

Decode decodes CategoryEarned from json.

func (*CategoryEarned) Encode

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

Encode implements json.Marshaler.

func (*CategoryEarned) GetCurrencyCode

func (s *CategoryEarned) GetCurrencyCode() OptString

GetCurrencyCode returns the value of CurrencyCode.

func (*CategoryEarned) GetCurrencyDecimalPlaces

func (s *CategoryEarned) GetCurrencyDecimalPlaces() OptInt32

GetCurrencyDecimalPlaces returns the value of CurrencyDecimalPlaces.

func (*CategoryEarned) GetCurrencyID

func (s *CategoryEarned) GetCurrencyID() OptString

GetCurrencyID returns the value of CurrencyID.

func (*CategoryEarned) GetCurrencySymbol

func (s *CategoryEarned) GetCurrencySymbol() OptString

GetCurrencySymbol returns the value of CurrencySymbol.

func (*CategoryEarned) GetSum

func (s *CategoryEarned) GetSum() OptString

GetSum returns the value of Sum.

func (*CategoryEarned) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*CategoryEarned) SetCurrencyCode

func (s *CategoryEarned) SetCurrencyCode(val OptString)

SetCurrencyCode sets the value of CurrencyCode.

func (*CategoryEarned) SetCurrencyDecimalPlaces

func (s *CategoryEarned) SetCurrencyDecimalPlaces(val OptInt32)

SetCurrencyDecimalPlaces sets the value of CurrencyDecimalPlaces.

func (*CategoryEarned) SetCurrencyID

func (s *CategoryEarned) SetCurrencyID(val OptString)

SetCurrencyID sets the value of CurrencyID.

func (*CategoryEarned) SetCurrencySymbol

func (s *CategoryEarned) SetCurrencySymbol(val OptString)

SetCurrencySymbol sets the value of CurrencySymbol.

func (*CategoryEarned) SetSum

func (s *CategoryEarned) SetSum(val OptString)

SetSum sets the value of Sum.

func (*CategoryEarned) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

type CategoryRead

type CategoryRead struct {
	// Immutable value.
	Type       string   `json:"type"`
	ID         string   `json:"id"`
	Attributes Category `json:"attributes"`
}

Ref: #/components/schemas/CategoryRead

func (*CategoryRead) Decode

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

Decode decodes CategoryRead from json.

func (*CategoryRead) Encode

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

Encode implements json.Marshaler.

func (*CategoryRead) GetAttributes

func (s *CategoryRead) GetAttributes() Category

GetAttributes returns the value of Attributes.

func (*CategoryRead) GetID

func (s *CategoryRead) GetID() string

GetID returns the value of ID.

func (*CategoryRead) GetType

func (s *CategoryRead) GetType() string

GetType returns the value of Type.

func (*CategoryRead) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*CategoryRead) SetAttributes

func (s *CategoryRead) SetAttributes(val Category)

SetAttributes sets the value of Attributes.

func (*CategoryRead) SetID

func (s *CategoryRead) SetID(val string)

SetID sets the value of ID.

func (*CategoryRead) SetType

func (s *CategoryRead) SetType(val string)

SetType sets the value of Type.

func (*CategoryRead) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

type CategorySingle

type CategorySingle struct {
	Data CategoryRead `json:"data"`
}

Ref: #/components/schemas/CategorySingle

func (*CategorySingle) Decode

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

Decode decodes CategorySingle from json.

func (*CategorySingle) Encode

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

Encode implements json.Marshaler.

func (*CategorySingle) GetData

func (s *CategorySingle) GetData() CategoryRead

GetData returns the value of Data.

func (*CategorySingle) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*CategorySingle) SetData

func (s *CategorySingle) SetData(val CategoryRead)

SetData sets the value of Data.

func (*CategorySingle) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

type CategorySpent

type CategorySpent struct {
	CurrencyID     OptString `json:"currency_id"`
	CurrencyCode   OptString `json:"currency_code"`
	CurrencySymbol OptString `json:"currency_symbol"`
	// Number of decimals supported by the currency.
	CurrencyDecimalPlaces OptInt32 `json:"currency_decimal_places"`
	// The amount spent.
	Sum OptString `json:"sum"`
}

Ref: #/components/schemas/CategorySpent

func (*CategorySpent) Decode

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

Decode decodes CategorySpent from json.

func (*CategorySpent) Encode

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

Encode implements json.Marshaler.

func (*CategorySpent) GetCurrencyCode

func (s *CategorySpent) GetCurrencyCode() OptString

GetCurrencyCode returns the value of CurrencyCode.

func (*CategorySpent) GetCurrencyDecimalPlaces

func (s *CategorySpent) GetCurrencyDecimalPlaces() OptInt32

GetCurrencyDecimalPlaces returns the value of CurrencyDecimalPlaces.

func (*CategorySpent) GetCurrencyID

func (s *CategorySpent) GetCurrencyID() OptString

GetCurrencyID returns the value of CurrencyID.

func (*CategorySpent) GetCurrencySymbol

func (s *CategorySpent) GetCurrencySymbol() OptString

GetCurrencySymbol returns the value of CurrencySymbol.

func (*CategorySpent) GetSum

func (s *CategorySpent) GetSum() OptString

GetSum returns the value of Sum.

func (*CategorySpent) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*CategorySpent) SetCurrencyCode

func (s *CategorySpent) SetCurrencyCode(val OptString)

SetCurrencyCode sets the value of CurrencyCode.

func (*CategorySpent) SetCurrencyDecimalPlaces

func (s *CategorySpent) SetCurrencyDecimalPlaces(val OptInt32)

SetCurrencyDecimalPlaces sets the value of CurrencyDecimalPlaces.

func (*CategorySpent) SetCurrencyID

func (s *CategorySpent) SetCurrencyID(val OptString)

SetCurrencyID sets the value of CurrencyID.

func (*CategorySpent) SetCurrencySymbol

func (s *CategorySpent) SetCurrencySymbol(val OptString)

SetCurrencySymbol sets the value of CurrencySymbol.

func (*CategorySpent) SetSum

func (s *CategorySpent) SetSum(val OptString)

SetSum sets the value of Sum.

func (*CategorySpent) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

type CategoryUpdate

type CategoryUpdate struct {
	Name  string       `json:"name"`
	Notes OptNilString `json:"notes"`
}

Ref: #/components/schemas/CategoryUpdate

func (*CategoryUpdate) Decode

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

Decode decodes CategoryUpdate from json.

func (*CategoryUpdate) Encode

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

Encode implements json.Marshaler.

func (*CategoryUpdate) GetName

func (s *CategoryUpdate) GetName() string

GetName returns the value of Name.

func (*CategoryUpdate) GetNotes

func (s *CategoryUpdate) GetNotes() OptNilString

GetNotes returns the value of Notes.

func (*CategoryUpdate) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*CategoryUpdate) SetName

func (s *CategoryUpdate) SetName(val string)

SetName sets the value of Name.

func (*CategoryUpdate) SetNotes

func (s *CategoryUpdate) SetNotes(val OptNilString)

SetNotes sets the value of Notes.

func (*CategoryUpdate) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

type ChartDataPoint

type ChartDataPoint struct {
	// The key is the label of the value, so for example: '2018-01-01' => 13 or 'Groceries' => -123.
	Key OptString `json:"key"`
}

Ref: #/components/schemas/ChartDataPoint

func (*ChartDataPoint) Decode

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

Decode decodes ChartDataPoint from json.

func (*ChartDataPoint) Encode

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

Encode implements json.Marshaler.

func (*ChartDataPoint) GetKey

func (s *ChartDataPoint) GetKey() OptString

GetKey returns the value of Key.

func (*ChartDataPoint) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*ChartDataPoint) SetKey

func (s *ChartDataPoint) SetKey(val OptString)

SetKey sets the value of Key.

func (*ChartDataPoint) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

type ChartDataSet

type ChartDataSet struct {
	// This is the title of the current set. It can refer to an account, a budget or another object (by
	// name).
	Label OptString `json:"label"`
	// The currency ID of the currency associated to the data in the entries.
	CurrencyID     OptString `json:"currency_id"`
	CurrencyCode   OptString `json:"currency_code"`
	CurrencySymbol OptString `json:"currency_symbol"`
	// Number of decimals for the currency associated to the data in the entries.
	CurrencyDecimalPlaces OptInt32    `json:"currency_decimal_places"`
	StartDate             OptDateTime `json:"start_date"`
	EndDate               OptDateTime `json:"end_date"`
	// Indicated the type of chart that is expected to be rendered. You can safely ignore this if you
	// want.
	Type OptString `json:"type"`
	// Used to indicate the Y axis for this data set. Is usually between 0 and 1 (left and right side of
	// the chart).
	YAxisID OptInt32 `json:"yAxisID"`
	// The actual entries for this data set. They 'key' value is the label for the data point. The value
	// is the actual (numerical) value.
	Entries OptChartDataSetEntries `json:"entries"`
}

Ref: #/components/schemas/ChartDataSet

func (*ChartDataSet) Decode

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

Decode decodes ChartDataSet from json.

func (*ChartDataSet) Encode

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

Encode implements json.Marshaler.

func (*ChartDataSet) GetCurrencyCode

func (s *ChartDataSet) GetCurrencyCode() OptString

GetCurrencyCode returns the value of CurrencyCode.

func (*ChartDataSet) GetCurrencyDecimalPlaces

func (s *ChartDataSet) GetCurrencyDecimalPlaces() OptInt32

GetCurrencyDecimalPlaces returns the value of CurrencyDecimalPlaces.

func (*ChartDataSet) GetCurrencyID

func (s *ChartDataSet) GetCurrencyID() OptString

GetCurrencyID returns the value of CurrencyID.

func (*ChartDataSet) GetCurrencySymbol

func (s *ChartDataSet) GetCurrencySymbol() OptString

GetCurrencySymbol returns the value of CurrencySymbol.

func (*ChartDataSet) GetEndDate

func (s *ChartDataSet) GetEndDate() OptDateTime

GetEndDate returns the value of EndDate.

func (*ChartDataSet) GetEntries

func (s *ChartDataSet) GetEntries() OptChartDataSetEntries

GetEntries returns the value of Entries.

func (*ChartDataSet) GetLabel

func (s *ChartDataSet) GetLabel() OptString

GetLabel returns the value of Label.

func (*ChartDataSet) GetStartDate

func (s *ChartDataSet) GetStartDate() OptDateTime

GetStartDate returns the value of StartDate.

func (*ChartDataSet) GetType

func (s *ChartDataSet) GetType() OptString

GetType returns the value of Type.

func (*ChartDataSet) GetYAxisID

func (s *ChartDataSet) GetYAxisID() OptInt32

GetYAxisID returns the value of YAxisID.

func (*ChartDataSet) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*ChartDataSet) SetCurrencyCode

func (s *ChartDataSet) SetCurrencyCode(val OptString)

SetCurrencyCode sets the value of CurrencyCode.

func (*ChartDataSet) SetCurrencyDecimalPlaces

func (s *ChartDataSet) SetCurrencyDecimalPlaces(val OptInt32)

SetCurrencyDecimalPlaces sets the value of CurrencyDecimalPlaces.

func (*ChartDataSet) SetCurrencyID

func (s *ChartDataSet) SetCurrencyID(val OptString)

SetCurrencyID sets the value of CurrencyID.

func (*ChartDataSet) SetCurrencySymbol

func (s *ChartDataSet) SetCurrencySymbol(val OptString)

SetCurrencySymbol sets the value of CurrencySymbol.

func (*ChartDataSet) SetEndDate

func (s *ChartDataSet) SetEndDate(val OptDateTime)

SetEndDate sets the value of EndDate.

func (*ChartDataSet) SetEntries

func (s *ChartDataSet) SetEntries(val OptChartDataSetEntries)

SetEntries sets the value of Entries.

func (*ChartDataSet) SetLabel

func (s *ChartDataSet) SetLabel(val OptString)

SetLabel sets the value of Label.

func (*ChartDataSet) SetStartDate

func (s *ChartDataSet) SetStartDate(val OptDateTime)

SetStartDate sets the value of StartDate.

func (*ChartDataSet) SetType

func (s *ChartDataSet) SetType(val OptString)

SetType sets the value of Type.

func (*ChartDataSet) SetYAxisID

func (s *ChartDataSet) SetYAxisID(val OptInt32)

SetYAxisID sets the value of YAxisID.

func (*ChartDataSet) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

type ChartDataSetEntries

type ChartDataSetEntries map[string]ChartDataPoint

The actual entries for this data set. They 'key' value is the label for the data point. The value is the actual (numerical) value.

func (*ChartDataSetEntries) Decode

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

Decode decodes ChartDataSetEntries from json.

func (ChartDataSetEntries) Encode

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

Encode implements json.Marshaler.

func (ChartDataSetEntries) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*ChartDataSetEntries) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

type ChartLine

type ChartLine []ChartDataSet

func (*ChartLine) Decode

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

Decode decodes ChartLine from json.

func (ChartLine) Encode

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

Encode encodes ChartLine as json.

func (ChartLine) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*ChartLine) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

func (ChartLine) Validate

func (s ChartLine) Validate() error

type Client

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

Client implements OAS client.

func NewClient

func NewClient(serverURL string, sec SecuritySource, opts ...ClientOption) (*Client, error)

NewClient initializes new Client defined by OAS.

func (*Client) BulkUpdateTransactions

func (c *Client) BulkUpdateTransactions(ctx context.Context, params BulkUpdateTransactionsParams) (BulkUpdateTransactionsRes, error)

BulkUpdateTransactions invokes bulkUpdateTransactions operation.

Allows you to update transactions in bulk.

POST /v1/data/bulk/transactions

func (*Client) DefaultCurrency

func (c *Client) DefaultCurrency(ctx context.Context, params DefaultCurrencyParams) (DefaultCurrencyRes, error)

DefaultCurrency invokes defaultCurrency operation.

Make this currency the default currency for the user. If the currency is not enabled, it will be enabled as well.

POST /v1/currencies/{code}/default

func (*Client) DeleteAccount

func (c *Client) DeleteAccount(ctx context.Context, params DeleteAccountParams) (DeleteAccountRes, error)

DeleteAccount invokes deleteAccount operation.

Will permanently delete an account. Any associated transactions and piggy banks are ALSO deleted. Cannot be recovered from.

DELETE /v1/accounts/{id}

func (*Client) DeleteAttachment

func (c *Client) DeleteAttachment(ctx context.Context, params DeleteAttachmentParams) (DeleteAttachmentRes, error)

DeleteAttachment invokes deleteAttachment operation.

With this endpoint you delete an attachment, including any stored file data.

DELETE /v1/attachments/{id}

func (*Client) DeleteBill

func (c *Client) DeleteBill(ctx context.Context, params DeleteBillParams) (DeleteBillRes, error)

DeleteBill invokes deleteBill operation.

Delete a bill. This will not delete any associated rules. Will not remove associated transactions. WILL remove all associated attachments.

DELETE /v1/bills/{id}

func (*Client) DeleteBudget

func (c *Client) DeleteBudget(ctx context.Context, params DeleteBudgetParams) (DeleteBudgetRes, error)

DeleteBudget invokes deleteBudget operation.

Delete a budget. Transactions will not be deleted.

DELETE /v1/budgets/{id}

func (*Client) DeleteBudgetLimit

func (c *Client) DeleteBudgetLimit(ctx context.Context, params DeleteBudgetLimitParams) (DeleteBudgetLimitRes, error)

DeleteBudgetLimit invokes deleteBudgetLimit operation.

Delete a budget limit.

DELETE /v1/budgets/{id}/limits/{limitId}

func (*Client) DeleteCategory

func (c *Client) DeleteCategory(ctx context.Context, params DeleteCategoryParams) (DeleteCategoryRes, error)

DeleteCategory invokes deleteCategory operation.

Delete a category. Transactions will not be removed.

DELETE /v1/categories/{id}

func (*Client) DeleteCurrency

func (c *Client) DeleteCurrency(ctx context.Context, params DeleteCurrencyParams) (DeleteCurrencyRes, error)

DeleteCurrency invokes deleteCurrency operation.

Delete a currency.

DELETE /v1/currencies/{code}

func (*Client) DeleteLinkType

func (c *Client) DeleteLinkType(ctx context.Context, params DeleteLinkTypeParams) (DeleteLinkTypeRes, error)

DeleteLinkType invokes deleteLinkType operation.

Will permanently delete a link type. The links between transactions will be removed. The transactions themselves remain. You cannot delete some of the system provided link types, indicated by the editable=false flag when you list it.

DELETE /v1/link-types/{id}

func (*Client) DeleteObjectGroup

func (c *Client) DeleteObjectGroup(ctx context.Context, params DeleteObjectGroupParams) (DeleteObjectGroupRes, error)

DeleteObjectGroup invokes deleteObjectGroup operation.

Delete a object group.

DELETE /v1/object-groups/{id}

func (*Client) DeletePiggyBank

func (c *Client) DeletePiggyBank(ctx context.Context, params DeletePiggyBankParams) (DeletePiggyBankRes, error)

DeletePiggyBank invokes deletePiggyBank operation.

Delete a piggy bank.

DELETE /v1/piggy-banks/{id}

func (*Client) DeleteRecurrence

func (c *Client) DeleteRecurrence(ctx context.Context, params DeleteRecurrenceParams) (DeleteRecurrenceRes, error)

DeleteRecurrence invokes deleteRecurrence operation.

Delete a recurring transaction. Transactions created by the recurring transaction will not be deleted.

DELETE /v1/recurrences/{id}

func (*Client) DeleteRule

func (c *Client) DeleteRule(ctx context.Context, params DeleteRuleParams) (DeleteRuleRes, error)

DeleteRule invokes deleteRule operation.

Delete an rule.

DELETE /v1/rules/{id}

func (*Client) DeleteRuleGroup

func (c *Client) DeleteRuleGroup(ctx context.Context, params DeleteRuleGroupParams) (DeleteRuleGroupRes, error)

DeleteRuleGroup invokes deleteRuleGroup operation.

Delete a rule group.

DELETE /v1/rule-groups/{id}

func (*Client) DeleteTag

func (c *Client) DeleteTag(ctx context.Context, params DeleteTagParams) (DeleteTagRes, error)

DeleteTag invokes deleteTag operation.

Delete an tag.

DELETE /v1/tags/{tag}

func (*Client) DeleteTransaction

func (c *Client) DeleteTransaction(ctx context.Context, params DeleteTransactionParams) (DeleteTransactionRes, error)

DeleteTransaction invokes deleteTransaction operation.

Delete a transaction.

DELETE /v1/transactions/{id}

func (*Client) DeleteTransactionJournal

func (c *Client) DeleteTransactionJournal(ctx context.Context, params DeleteTransactionJournalParams) (DeleteTransactionJournalRes, error)

DeleteTransactionJournal invokes deleteTransactionJournal operation.

Delete an individual journal (split) from a transaction.

DELETE /v1/transaction-journals/{id}

func (c *Client) DeleteTransactionLink(ctx context.Context, params DeleteTransactionLinkParams) (DeleteTransactionLinkRes, error)

DeleteTransactionLink invokes deleteTransactionLink operation.

Will permanently delete link. Transactions remain.

DELETE /v1/transaction-links/{id}

func (*Client) DeleteUser

func (c *Client) DeleteUser(ctx context.Context, params DeleteUserParams) (DeleteUserRes, error)

DeleteUser invokes deleteUser operation.

Delete a user. You cannot delete the user you're authenticated with. This cannot be undone. Be careful!.

DELETE /v1/users/{id}

func (*Client) DeleteWebhook

func (c *Client) DeleteWebhook(ctx context.Context, params DeleteWebhookParams) (DeleteWebhookRes, error)

DeleteWebhook invokes deleteWebhook operation.

Delete a webhook.

DELETE /v1/webhooks/{id}

func (*Client) DeleteWebhookMessage

func (c *Client) DeleteWebhookMessage(ctx context.Context, params DeleteWebhookMessageParams) (DeleteWebhookMessageRes, error)

DeleteWebhookMessage invokes deleteWebhookMessage operation.

Delete a webhook message. Any time a webhook is triggered the message is stored before it's sent. You can delete them before or after sending.

DELETE /v1/webhooks/{id}/messages/{messageId}

func (*Client) DeleteWebhookMessageAttempt

func (c *Client) DeleteWebhookMessageAttempt(ctx context.Context, params DeleteWebhookMessageAttemptParams) (DeleteWebhookMessageAttemptRes, error)

DeleteWebhookMessageAttempt invokes deleteWebhookMessageAttempt operation.

Delete a webhook message attempt. If you delete all attempts for a webhook message, Firefly III will (once again) assume all is well with the webhook message and will try to send it again.

DELETE /v1/webhooks/{id}/messages/{messageId}/attempts/{attemptId}

func (*Client) DestroyData

func (c *Client) DestroyData(ctx context.Context, params DestroyDataParams) (DestroyDataRes, error)

DestroyData invokes destroyData operation.

A call to this endpoint deletes the requested data type. Use it with care and always with user permission. The demo user is incapable of using this endpoint.

DELETE /v1/data/destroy

func (*Client) DisableCurrency

func (c *Client) DisableCurrency(ctx context.Context, params DisableCurrencyParams) (DisableCurrencyRes, error)

DisableCurrency invokes disableCurrency operation.

Disable a currency.

POST /v1/currencies/{code}/disable

func (*Client) DownloadAttachment

func (c *Client) DownloadAttachment(ctx context.Context, params DownloadAttachmentParams) (DownloadAttachmentRes, error)

DownloadAttachment invokes downloadAttachment operation.

This endpoint allows you to download the binary content of a transaction. It will be sent to you as a download, using the content type "application/octet-stream" and content disposition "attachment; filename=example.pdf".

GET /v1/attachments/{id}/download

func (*Client) EnableCurrency

func (c *Client) EnableCurrency(ctx context.Context, params EnableCurrencyParams) (EnableCurrencyRes, error)

EnableCurrency invokes enableCurrency operation.

Enable a single currency.

POST /v1/currencies/{code}/enable

func (*Client) ExportAccounts

func (c *Client) ExportAccounts(ctx context.Context, params ExportAccountsParams) (ExportAccountsRes, error)

ExportAccounts invokes exportAccounts operation.

This endpoint allows you to export your accounts from Firefly III into a file. Currently supports CSV exports only.

GET /v1/data/export/accounts

func (*Client) ExportBills

func (c *Client) ExportBills(ctx context.Context, params ExportBillsParams) (ExportBillsRes, error)

ExportBills invokes exportBills operation.

This endpoint allows you to export your bills from Firefly III into a file. Currently supports CSV exports only.

GET /v1/data/export/bills

func (*Client) ExportBudgets

func (c *Client) ExportBudgets(ctx context.Context, params ExportBudgetsParams) (ExportBudgetsRes, error)

ExportBudgets invokes exportBudgets operation.

This endpoint allows you to export your budgets and associated budget data from Firefly III into a file. Currently supports CSV exports only.

GET /v1/data/export/budgets

func (*Client) ExportCategories

func (c *Client) ExportCategories(ctx context.Context, params ExportCategoriesParams) (ExportCategoriesRes, error)

ExportCategories invokes exportCategories operation.

This endpoint allows you to export your categories from Firefly III into a file. Currently supports CSV exports only.

GET /v1/data/export/categories

func (*Client) ExportPiggies

func (c *Client) ExportPiggies(ctx context.Context, params ExportPiggiesParams) (ExportPiggiesRes, error)

ExportPiggies invokes exportPiggies operation.

This endpoint allows you to export your piggy banks from Firefly III into a file. Currently supports CSV exports only.

GET /v1/data/export/piggy-banks

func (*Client) ExportRecurring

func (c *Client) ExportRecurring(ctx context.Context, params ExportRecurringParams) (ExportRecurringRes, error)

ExportRecurring invokes exportRecurring operation.

This endpoint allows you to export your recurring transactions from Firefly III into a file. Currently supports CSV exports only.

GET /v1/data/export/recurring

func (*Client) ExportRules

func (c *Client) ExportRules(ctx context.Context, params ExportRulesParams) (ExportRulesRes, error)

ExportRules invokes exportRules operation.

This endpoint allows you to export your rules and rule groups from Firefly III into a file. Currently supports CSV exports only.

GET /v1/data/export/rules

func (*Client) ExportTags

func (c *Client) ExportTags(ctx context.Context, params ExportTagsParams) (ExportTagsRes, error)

ExportTags invokes exportTags operation.

This endpoint allows you to export your tags from Firefly III into a file. Currently supports CSV exports only.

GET /v1/data/export/tags

func (*Client) ExportTransactions

func (c *Client) ExportTransactions(ctx context.Context, params ExportTransactionsParams) (ExportTransactionsRes, error)

ExportTransactions invokes exportTransactions operation.

This endpoint allows you to export transactions from Firefly III into a file. Currently supports CSV exports only.

GET /v1/data/export/transactions

func (*Client) FireRule

func (c *Client) FireRule(ctx context.Context, params FireRuleParams) (FireRuleRes, error)

FireRule invokes fireRule operation.

Fire the rule group on your transactions. Changes will be made by the rules in the group! Limit the result if you want to.

POST /v1/rules/{id}/trigger

func (*Client) FireRuleGroup

func (c *Client) FireRuleGroup(ctx context.Context, params FireRuleGroupParams) (FireRuleGroupRes, error)

FireRuleGroup invokes fireRuleGroup operation.

Fire the rule group on your transactions. Changes will be made by the rules in the rule group! Limit the result if you want to.

POST /v1/rule-groups/{id}/trigger

func (*Client) GetAbout

func (c *Client) GetAbout(ctx context.Context, params GetAboutParams) (GetAboutRes, error)

GetAbout invokes getAbout operation.

Returns general system information and versions of the (supporting) software.

GET /v1/about

func (*Client) GetAccount

func (c *Client) GetAccount(ctx context.Context, params GetAccountParams) (GetAccountRes, error)

GetAccount invokes getAccount operation.

Returns a single account by its ID.

GET /v1/accounts/{id}

func (*Client) GetAccountsAC

func (c *Client) GetAccountsAC(ctx context.Context, params GetAccountsACParams) (GetAccountsACRes, error)

GetAccountsAC invokes getAccountsAC operation.

Returns all accounts of the user returned in a basic auto-complete array.

GET /v1/autocomplete/accounts

func (*Client) GetAttachment

func (c *Client) GetAttachment(ctx context.Context, params GetAttachmentParams) (GetAttachmentRes, error)

GetAttachment invokes getAttachment operation.

Get a single attachment. This endpoint only returns the available metadata for the attachment. Actual file data is handled in two other endpoints (see below).

GET /v1/attachments/{id}

func (*Client) GetAvailableBudget

func (c *Client) GetAvailableBudget(ctx context.Context, params GetAvailableBudgetParams) (GetAvailableBudgetRes, error)

GetAvailableBudget invokes getAvailableBudget operation.

Get a single available budget, by ID.

GET /v1/available-budgets/{id}

func (*Client) GetBasicSummary

func (c *Client) GetBasicSummary(ctx context.Context, params GetBasicSummaryParams) (GetBasicSummaryRes, error)

GetBasicSummary invokes getBasicSummary operation.

Returns basic sums of the users data, like the net worth, spent and earned amounts. It is multi-currency, and is used in Firefly III to populate the dashboard.

GET /v1/summary/basic

func (*Client) GetBill

func (c *Client) GetBill(ctx context.Context, params GetBillParams) (GetBillRes, error)

GetBill invokes getBill operation.

Get a single bill.

GET /v1/bills/{id}

func (*Client) GetBillsAC

func (c *Client) GetBillsAC(ctx context.Context, params GetBillsACParams) (GetBillsACRes, error)

GetBillsAC invokes getBillsAC operation.

Returns all bills of the user returned in a basic auto-complete array.

GET /v1/autocomplete/bills

func (*Client) GetBudget

func (c *Client) GetBudget(ctx context.Context, params GetBudgetParams) (GetBudgetRes, error)

GetBudget invokes getBudget operation.

Get a single budget. If the start date and end date are submitted as well, the "spent" array will be updated accordingly.

GET /v1/budgets/{id}

func (*Client) GetBudgetLimit

func (c *Client) GetBudgetLimit(ctx context.Context, params GetBudgetLimitParams) (GetBudgetLimitRes, error)

GetBudgetLimit invokes getBudgetLimit operation.

Get single budget limit.

GET /v1/budgets/{id}/limits/{limitId}

func (*Client) GetBudgetsAC

func (c *Client) GetBudgetsAC(ctx context.Context, params GetBudgetsACParams) (GetBudgetsACRes, error)

GetBudgetsAC invokes getBudgetsAC operation.

Returns all budgets of the user returned in a basic auto-complete array.

GET /v1/autocomplete/budgets

func (*Client) GetCategoriesAC

func (c *Client) GetCategoriesAC(ctx context.Context, params GetCategoriesACParams) (GetCategoriesACRes, error)

GetCategoriesAC invokes getCategoriesAC operation.

Returns all categories of the user returned in a basic auto-complete array.

GET /v1/autocomplete/categories

func (*Client) GetCategory

func (c *Client) GetCategory(ctx context.Context, params GetCategoryParams) (GetCategoryRes, error)

GetCategory invokes getCategory operation.

Get a single category.

GET /v1/categories/{id}

func (*Client) GetChartAccountOverview

func (c *Client) GetChartAccountOverview(ctx context.Context, params GetChartAccountOverviewParams) (GetChartAccountOverviewRes, error)

GetChartAccountOverview invokes getChartAccountOverview operation.

This endpoint returns the data required to generate a chart with basic asset account balance information.

GET /v1/chart/account/overview

func (*Client) GetConfiguration

func (c *Client) GetConfiguration(ctx context.Context, params GetConfigurationParams) (GetConfigurationRes, error)

GetConfiguration invokes getConfiguration operation.

Returns all editable and not-editable configuration values for this Firefly III installation.

GET /v1/configuration

func (*Client) GetCron

func (c *Client) GetCron(ctx context.Context, params GetCronParams) (GetCronRes, error)

GetCron invokes getCron operation.

Firefly III has one endpoint for its various cron related tasks. Send a GET to this endpoint to run the cron. The cron requires the CLI token to be present. The cron job will fire for all users.

GET /v1/cron/{cliToken}

func (*Client) GetCurrenciesAC

func (c *Client) GetCurrenciesAC(ctx context.Context, params GetCurrenciesACParams) (GetCurrenciesACRes, error)

GetCurrenciesAC invokes getCurrenciesAC operation.

Returns all currencies of the user returned in a basic auto-complete array.

GET /v1/autocomplete/currencies

func (*Client) GetCurrenciesCodeAC

func (c *Client) GetCurrenciesCodeAC(ctx context.Context, params GetCurrenciesCodeACParams) (GetCurrenciesCodeACRes, error)

GetCurrenciesCodeAC invokes getCurrenciesCodeAC operation.

Returns all currencies of the user returned in a basic auto-complete array. This endpoint is DEPRECATED and I suggest you DO NOT use it.

GET /v1/autocomplete/currencies-with-code

func (*Client) GetCurrency

func (c *Client) GetCurrency(ctx context.Context, params GetCurrencyParams) (GetCurrencyRes, error)

GetCurrency invokes getCurrency operation.

Get a single currency.

GET /v1/currencies/{code}

func (*Client) GetCurrentUser

func (c *Client) GetCurrentUser(ctx context.Context, params GetCurrentUserParams) (GetCurrentUserRes, error)

GetCurrentUser invokes getCurrentUser operation.

Returns the currently authenticated user.

GET /v1/about/user

func (*Client) GetDefaultCurrency

func (c *Client) GetDefaultCurrency(ctx context.Context, params GetDefaultCurrencyParams) (GetDefaultCurrencyRes, error)

GetDefaultCurrency invokes getDefaultCurrency operation.

Get the user's default currency.

GET /v1/currencies/default

func (*Client) GetLinkType

func (c *Client) GetLinkType(ctx context.Context, params GetLinkTypeParams) (GetLinkTypeRes, error)

GetLinkType invokes getLinkType operation.

Returns a single link type by its ID.

GET /v1/link-types/{id}

func (*Client) GetObjectGroup

func (c *Client) GetObjectGroup(ctx context.Context, params GetObjectGroupParams) (GetObjectGroupRes, error)

GetObjectGroup invokes getObjectGroup operation.

Get a single object group.

GET /v1/object-groups/{id}

func (*Client) GetObjectGroupsAC

func (c *Client) GetObjectGroupsAC(ctx context.Context, params GetObjectGroupsACParams) (GetObjectGroupsACRes, error)

GetObjectGroupsAC invokes getObjectGroupsAC operation.

Returns all object groups of the user returned in a basic auto-complete array.

GET /v1/autocomplete/object-groups

func (*Client) GetPiggiesAC

func (c *Client) GetPiggiesAC(ctx context.Context, params GetPiggiesACParams) (GetPiggiesACRes, error)

GetPiggiesAC invokes getPiggiesAC operation.

Returns all piggy banks of the user returned in a basic auto-complete array.

GET /v1/autocomplete/piggy-banks

func (*Client) GetPiggiesBalanceAC

func (c *Client) GetPiggiesBalanceAC(ctx context.Context, params GetPiggiesBalanceACParams) (GetPiggiesBalanceACRes, error)

GetPiggiesBalanceAC invokes getPiggiesBalanceAC operation.

Returns all piggy banks of the user returned in a basic auto-complete array complemented with balance information.

GET /v1/autocomplete/piggy-banks-with-balance

func (*Client) GetPiggyBank

func (c *Client) GetPiggyBank(ctx context.Context, params GetPiggyBankParams) (GetPiggyBankRes, error)

GetPiggyBank invokes getPiggyBank operation.

Get a single piggy bank.

GET /v1/piggy-banks/{id}

func (*Client) GetPreference

func (c *Client) GetPreference(ctx context.Context, params GetPreferenceParams) (GetPreferenceRes, error)

GetPreference invokes getPreference operation.

Return a single preference and the value.

GET /v1/preferences/{name}

func (*Client) GetRecurrence

func (c *Client) GetRecurrence(ctx context.Context, params GetRecurrenceParams) (GetRecurrenceRes, error)

GetRecurrence invokes getRecurrence operation.

Get a single recurring transaction.

GET /v1/recurrences/{id}

func (*Client) GetRecurringAC

func (c *Client) GetRecurringAC(ctx context.Context, params GetRecurringACParams) (GetRecurringACRes, error)

GetRecurringAC invokes getRecurringAC operation.

Returns all recurring transactions of the user returned in a basic auto-complete array.

GET /v1/autocomplete/recurring

func (*Client) GetRule

func (c *Client) GetRule(ctx context.Context, params GetRuleParams) (GetRuleRes, error)

GetRule invokes getRule operation.

Get a single rule.

GET /v1/rules/{id}

func (*Client) GetRuleGroup

func (c *Client) GetRuleGroup(ctx context.Context, params GetRuleGroupParams) (GetRuleGroupRes, error)

GetRuleGroup invokes getRuleGroup operation.

Get a single rule group. This does not include the rules. For that, see below.

GET /v1/rule-groups/{id}

func (*Client) GetRuleGroupsAC

func (c *Client) GetRuleGroupsAC(ctx context.Context, params GetRuleGroupsACParams) (GetRuleGroupsACRes, error)

GetRuleGroupsAC invokes getRuleGroupsAC operation.

Returns all rule groups of the user returned in a basic auto-complete array.

GET /v1/autocomplete/rule-groups

func (*Client) GetRulesAC

func (c *Client) GetRulesAC(ctx context.Context, params GetRulesACParams) (GetRulesACRes, error)

GetRulesAC invokes getRulesAC operation.

Returns all rules of the user returned in a basic auto-complete array.

GET /v1/autocomplete/rules

func (*Client) GetSingleConfiguration

func (c *Client) GetSingleConfiguration(ctx context.Context, params GetSingleConfigurationParams) (GetSingleConfigurationRes, error)

GetSingleConfiguration invokes getSingleConfiguration operation.

Returns one configuration variable for this Firefly III installation.

GET /v1/configuration/{name}

func (*Client) GetSingleWebhookMessage

func (c *Client) GetSingleWebhookMessage(ctx context.Context, params GetSingleWebhookMessageParams) (GetSingleWebhookMessageRes, error)

GetSingleWebhookMessage invokes getSingleWebhookMessage operation.

When a webhook is triggered it will store the actual content of the webhook in a webhook message. You can view and analyse a single one using this endpoint.

GET /v1/webhooks/{id}/messages/{messageId}

func (*Client) GetSingleWebhookMessageAttempt

func (c *Client) GetSingleWebhookMessageAttempt(ctx context.Context, params GetSingleWebhookMessageAttemptParams) (GetSingleWebhookMessageAttemptRes, error)

GetSingleWebhookMessageAttempt invokes getSingleWebhookMessageAttempt operation.

When a webhook message fails to send it will store the failure in an "attempt". You can view and analyse these. Webhooks messages that receive too many attempts (failures) will not be fired. You must first clear out old attempts and try again. This endpoint shows you the details of a single attempt. The ID of the attempt must match the corresponding webhook and webhook message.

GET /v1/webhooks/{id}/messages/{messageId}/attempts/{attemptId}

func (*Client) GetTag

func (c *Client) GetTag(ctx context.Context, params GetTagParams) (GetTagRes, error)

GetTag invokes getTag operation.

Get a single tag.

GET /v1/tags/{tag}

func (*Client) GetTagAC

func (c *Client) GetTagAC(ctx context.Context, params GetTagACParams) (GetTagACRes, error)

GetTagAC invokes getTagAC operation.

Returns all tags of the user returned in a basic auto-complete array.

GET /v1/autocomplete/tags

func (*Client) GetTransaction

func (c *Client) GetTransaction(ctx context.Context, params GetTransactionParams) (GetTransactionRes, error)

GetTransaction invokes getTransaction operation.

Get a single transaction.

GET /v1/transactions/{id}

func (*Client) GetTransactionByJournal

func (c *Client) GetTransactionByJournal(ctx context.Context, params GetTransactionByJournalParams) (GetTransactionByJournalRes, error)

GetTransactionByJournal invokes getTransactionByJournal operation.

Get a single transaction by underlying journal (split).

GET /v1/transaction-journals/{id}

func (c *Client) GetTransactionLink(ctx context.Context, params GetTransactionLinkParams) (GetTransactionLinkRes, error)

GetTransactionLink invokes getTransactionLink operation.

Returns a single link by its ID.

GET /v1/transaction-links/{id}

func (*Client) GetTransactionTypesAC

func (c *Client) GetTransactionTypesAC(ctx context.Context, params GetTransactionTypesACParams) (GetTransactionTypesACRes, error)

GetTransactionTypesAC invokes getTransactionTypesAC operation.

Returns all transaction types returned in a basic auto-complete array. English only.

GET /v1/autocomplete/transaction-types

func (*Client) GetTransactionsAC

func (c *Client) GetTransactionsAC(ctx context.Context, params GetTransactionsACParams) (GetTransactionsACRes, error)

GetTransactionsAC invokes getTransactionsAC operation.

Returns all transaction descriptions of the user returned in a basic auto-complete array.

GET /v1/autocomplete/transactions

func (*Client) GetTransactionsIDAC

func (c *Client) GetTransactionsIDAC(ctx context.Context, params GetTransactionsIDACParams) (GetTransactionsIDACRes, error)

GetTransactionsIDAC invokes getTransactionsIDAC operation.

Returns all transactions, complemented with their ID, of the user returned in a basic auto-complete array. This endpoint is DEPRECATED and I suggest you DO NOT use it.

GET /v1/autocomplete/transactions-with-id

func (*Client) GetUser

func (c *Client) GetUser(ctx context.Context, params GetUserParams) (GetUserRes, error)

GetUser invokes getUser operation.

Gets all info of a single user.

GET /v1/users/{id}

func (*Client) GetWebhook

func (c *Client) GetWebhook(ctx context.Context, params GetWebhookParams) (GetWebhookRes, error)

GetWebhook invokes getWebhook operation.

Gets all info of a single webhook.

GET /v1/webhooks/{id}

func (*Client) GetWebhookMessageAttempts

func (c *Client) GetWebhookMessageAttempts(ctx context.Context, params GetWebhookMessageAttemptsParams) (GetWebhookMessageAttemptsRes, error)

GetWebhookMessageAttempts invokes getWebhookMessageAttempts operation.

When a webhook message fails to send it will store the failure in an "attempt". You can view and analyse these. Webhook messages that receive too many attempts (failures) will not be sent again. You must first clear out old attempts before the message can go out again.

GET /v1/webhooks/{id}/messages/{messageId}/attempts

func (*Client) GetWebhookMessages

func (c *Client) GetWebhookMessages(ctx context.Context, params GetWebhookMessagesParams) (GetWebhookMessagesRes, error)

GetWebhookMessages invokes getWebhookMessages operation.

When a webhook is triggered the actual message that will be send is stored in a "message". You can view and analyse these messages.

GET /v1/webhooks/{id}/messages

func (*Client) InsightExpenseAsset

func (c *Client) InsightExpenseAsset(ctx context.Context, params InsightExpenseAssetParams) (InsightExpenseAssetRes, error)

InsightExpenseAsset invokes insightExpenseAsset operation.

This endpoint gives a summary of the expenses made by the user, grouped by asset account.

GET /v1/insight/expense/asset

func (*Client) InsightExpenseBill

func (c *Client) InsightExpenseBill(ctx context.Context, params InsightExpenseBillParams) (InsightExpenseBillRes, error)

InsightExpenseBill invokes insightExpenseBill operation.

This endpoint gives a summary of the expenses made by the user, grouped by (any) bill.

GET /v1/insight/expense/bill

func (*Client) InsightExpenseBudget

func (c *Client) InsightExpenseBudget(ctx context.Context, params InsightExpenseBudgetParams) (InsightExpenseBudgetRes, error)

InsightExpenseBudget invokes insightExpenseBudget operation.

This endpoint gives a summary of the expenses made by the user, grouped by (any) budget.

GET /v1/insight/expense/budget

func (*Client) InsightExpenseCategory

func (c *Client) InsightExpenseCategory(ctx context.Context, params InsightExpenseCategoryParams) (InsightExpenseCategoryRes, error)

InsightExpenseCategory invokes insightExpenseCategory operation.

This endpoint gives a summary of the expenses made by the user, grouped by (any) category.

GET /v1/insight/expense/category

func (*Client) InsightExpenseExpense

func (c *Client) InsightExpenseExpense(ctx context.Context, params InsightExpenseExpenseParams) (InsightExpenseExpenseRes, error)

InsightExpenseExpense invokes insightExpenseExpense operation.

This endpoint gives a summary of the expenses made by the user, grouped by expense account.

GET /v1/insight/expense/expense

func (*Client) InsightExpenseNoBill

func (c *Client) InsightExpenseNoBill(ctx context.Context, params InsightExpenseNoBillParams) (InsightExpenseNoBillRes, error)

InsightExpenseNoBill invokes insightExpenseNoBill operation.

This endpoint gives a summary of the expenses made by the user, including only expenses with no bill.

GET /v1/insight/expense/no-bill

func (*Client) InsightExpenseNoBudget

func (c *Client) InsightExpenseNoBudget(ctx context.Context, params InsightExpenseNoBudgetParams) (InsightExpenseNoBudgetRes, error)

InsightExpenseNoBudget invokes insightExpenseNoBudget operation.

This endpoint gives a summary of the expenses made by the user, including only expenses with no budget.

GET /v1/insight/expense/no-budget

func (*Client) InsightExpenseNoCategory

func (c *Client) InsightExpenseNoCategory(ctx context.Context, params InsightExpenseNoCategoryParams) (InsightExpenseNoCategoryRes, error)

InsightExpenseNoCategory invokes insightExpenseNoCategory operation.

This endpoint gives a summary of the expenses made by the user, including only expenses with no category.

GET /v1/insight/expense/no-category

func (*Client) InsightExpenseNoTag

func (c *Client) InsightExpenseNoTag(ctx context.Context, params InsightExpenseNoTagParams) (InsightExpenseNoTagRes, error)

InsightExpenseNoTag invokes insightExpenseNoTag operation.

This endpoint gives a summary of the expenses made by the user, including only expenses with no tag.

GET /v1/insight/expense/no-tag

func (*Client) InsightExpenseTag

func (c *Client) InsightExpenseTag(ctx context.Context, params InsightExpenseTagParams) (InsightExpenseTagRes, error)

InsightExpenseTag invokes insightExpenseTag operation.

This endpoint gives a summary of the expenses made by the user, grouped by (any) tag.

GET /v1/insight/expense/tag

func (*Client) InsightExpenseTotal

func (c *Client) InsightExpenseTotal(ctx context.Context, params InsightExpenseTotalParams) (InsightExpenseTotalRes, error)

InsightExpenseTotal invokes insightExpenseTotal operation.

This endpoint gives a sum of the total expenses made by the user.

GET /v1/insight/expense/total

func (*Client) InsightIncomeAsset

func (c *Client) InsightIncomeAsset(ctx context.Context, params InsightIncomeAssetParams) (InsightIncomeAssetRes, error)

InsightIncomeAsset invokes insightIncomeAsset operation.

This endpoint gives a summary of the income received by the user, grouped by asset account.

GET /v1/insight/income/asset

func (*Client) InsightIncomeCategory

func (c *Client) InsightIncomeCategory(ctx context.Context, params InsightIncomeCategoryParams) (InsightIncomeCategoryRes, error)

InsightIncomeCategory invokes insightIncomeCategory operation.

This endpoint gives a summary of the income received by the user, grouped by (any) category.

GET /v1/insight/income/category

func (*Client) InsightIncomeNoCategory

func (c *Client) InsightIncomeNoCategory(ctx context.Context, params InsightIncomeNoCategoryParams) (InsightIncomeNoCategoryRes, error)

InsightIncomeNoCategory invokes insightIncomeNoCategory operation.

This endpoint gives a summary of the income received by the user, including only income with no category.

GET /v1/insight/income/no-category

func (*Client) InsightIncomeNoTag

func (c *Client) InsightIncomeNoTag(ctx context.Context, params InsightIncomeNoTagParams) (InsightIncomeNoTagRes, error)

InsightIncomeNoTag invokes insightIncomeNoTag operation.

This endpoint gives a summary of the income received by the user, including only income with no tag.

GET /v1/insight/income/no-tag

func (*Client) InsightIncomeRevenue

func (c *Client) InsightIncomeRevenue(ctx context.Context, params InsightIncomeRevenueParams) (InsightIncomeRevenueRes, error)

InsightIncomeRevenue invokes insightIncomeRevenue operation.

This endpoint gives a summary of the income received by the user, grouped by revenue account.

GET /v1/insight/income/revenue

func (*Client) InsightIncomeTag

func (c *Client) InsightIncomeTag(ctx context.Context, params InsightIncomeTagParams) (InsightIncomeTagRes, error)

InsightIncomeTag invokes insightIncomeTag operation.

This endpoint gives a summary of the income received by the user, grouped by (any) tag.

GET /v1/insight/income/tag

func (*Client) InsightIncomeTotal

func (c *Client) InsightIncomeTotal(ctx context.Context, params InsightIncomeTotalParams) (InsightIncomeTotalRes, error)

InsightIncomeTotal invokes insightIncomeTotal operation.

This endpoint gives a sum of the total income received by the user.

GET /v1/insight/income/total

func (*Client) InsightTransferCategory

func (c *Client) InsightTransferCategory(ctx context.Context, params InsightTransferCategoryParams) (InsightTransferCategoryRes, error)

InsightTransferCategory invokes insightTransferCategory operation.

This endpoint gives a summary of the transfers made by the user, grouped by (any) category.

GET /v1/insight/transfer/category

func (*Client) InsightTransferNoCategory

func (c *Client) InsightTransferNoCategory(ctx context.Context, params InsightTransferNoCategoryParams) (InsightTransferNoCategoryRes, error)

InsightTransferNoCategory invokes insightTransferNoCategory operation.

This endpoint gives a summary of the transfers made by the user, including only transfers with no category.

GET /v1/insight/transfer/no-category

func (*Client) InsightTransferNoTag

func (c *Client) InsightTransferNoTag(ctx context.Context, params InsightTransferNoTagParams) (InsightTransferNoTagRes, error)

InsightTransferNoTag invokes insightTransferNoTag operation.

This endpoint gives a summary of the transfers made by the user, including only transfers with no tag.

GET /v1/insight/transfer/no-tag

func (*Client) InsightTransferTag

func (c *Client) InsightTransferTag(ctx context.Context, params InsightTransferTagParams) (InsightTransferTagRes, error)

InsightTransferTag invokes insightTransferTag operation.

This endpoint gives a summary of the transfers created by the user, grouped by (any) tag.

GET /v1/insight/transfer/tag

func (*Client) InsightTransferTotal

func (c *Client) InsightTransferTotal(ctx context.Context, params InsightTransferTotalParams) (InsightTransferTotalRes, error)

InsightTransferTotal invokes insightTransferTotal operation.

This endpoint gives a sum of the total amount transfers made by the user.

GET /v1/insight/transfer/total

func (*Client) InsightTransfers

func (c *Client) InsightTransfers(ctx context.Context, params InsightTransfersParams) (InsightTransfersRes, error)

InsightTransfers invokes insightTransfers operation.

This endpoint gives a summary of the transfers made by the user, grouped by asset account or lability.

GET /v1/insight/transfer/asset

func (*Client) ListAccount

func (c *Client) ListAccount(ctx context.Context, params ListAccountParams) (ListAccountRes, error)

ListAccount invokes listAccount operation.

This endpoint returns a list of all the accounts owned by the authenticated user.

GET /v1/accounts

func (*Client) ListAccountByCurrency

func (c *Client) ListAccountByCurrency(ctx context.Context, params ListAccountByCurrencyParams) (ListAccountByCurrencyRes, error)

ListAccountByCurrency invokes listAccountByCurrency operation.

List all accounts with this currency.

GET /v1/currencies/{code}/accounts

func (*Client) ListAttachment

func (c *Client) ListAttachment(ctx context.Context, params ListAttachmentParams) (ListAttachmentRes, error)

ListAttachment invokes listAttachment operation.

This endpoint lists all attachments.

GET /v1/attachments

func (*Client) ListAttachmentByAccount

func (c *Client) ListAttachmentByAccount(ctx context.Context, params ListAttachmentByAccountParams) (ListAttachmentByAccountRes, error)

ListAttachmentByAccount invokes listAttachmentByAccount operation.

Lists all attachments.

GET /v1/accounts/{id}/attachments

func (*Client) ListAttachmentByBill

func (c *Client) ListAttachmentByBill(ctx context.Context, params ListAttachmentByBillParams) (ListAttachmentByBillRes, error)

ListAttachmentByBill invokes listAttachmentByBill operation.

This endpoint will list all attachments linked to the bill.

GET /v1/bills/{id}/attachments

func (*Client) ListAttachmentByBudget

func (c *Client) ListAttachmentByBudget(ctx context.Context, params ListAttachmentByBudgetParams) (ListAttachmentByBudgetRes, error)

ListAttachmentByBudget invokes listAttachmentByBudget operation.

Lists all attachments.

GET /v1/budgets/{id}/attachments

func (*Client) ListAttachmentByCategory

func (c *Client) ListAttachmentByCategory(ctx context.Context, params ListAttachmentByCategoryParams) (ListAttachmentByCategoryRes, error)

ListAttachmentByCategory invokes listAttachmentByCategory operation.

Lists all attachments.

GET /v1/categories/{id}/attachments

func (*Client) ListAttachmentByPiggyBank

func (c *Client) ListAttachmentByPiggyBank(ctx context.Context, params ListAttachmentByPiggyBankParams) (ListAttachmentByPiggyBankRes, error)

ListAttachmentByPiggyBank invokes listAttachmentByPiggyBank operation.

Lists all attachments.

GET /v1/piggy-banks/{id}/attachments

func (*Client) ListAttachmentByTag

func (c *Client) ListAttachmentByTag(ctx context.Context, params ListAttachmentByTagParams) (ListAttachmentByTagRes, error)

ListAttachmentByTag invokes listAttachmentByTag operation.

Lists all attachments.

GET /v1/tags/{tag}/attachments

func (*Client) ListAttachmentByTransaction

func (c *Client) ListAttachmentByTransaction(ctx context.Context, params ListAttachmentByTransactionParams) (ListAttachmentByTransactionRes, error)

ListAttachmentByTransaction invokes listAttachmentByTransaction operation.

Lists all attachments.

GET /v1/transactions/{id}/attachments

func (*Client) ListAvailableBudget

func (c *Client) ListAvailableBudget(ctx context.Context, params ListAvailableBudgetParams) (ListAvailableBudgetRes, error)

ListAvailableBudget invokes listAvailableBudget operation.

Firefly III allows users to set the amount that is available to be budgeted in so-called "available budgets". For example, the user could have 1200,- available to be divided during the coming month. This amount is used on the /budgets page. This endpoint returns all of these amounts and the periods for which they are set.

GET /v1/available-budgets

func (*Client) ListAvailableBudgetByCurrency

func (c *Client) ListAvailableBudgetByCurrency(ctx context.Context, params ListAvailableBudgetByCurrencyParams) (ListAvailableBudgetByCurrencyRes, error)

ListAvailableBudgetByCurrency invokes listAvailableBudgetByCurrency operation.

List all available budgets with this currency.

GET /v1/currencies/{code}/available-budgets

func (*Client) ListBill

func (c *Client) ListBill(ctx context.Context, params ListBillParams) (ListBillRes, error)

ListBill invokes listBill operation.

This endpoint will list all the user's bills.

GET /v1/bills

func (*Client) ListBillByCurrency

func (c *Client) ListBillByCurrency(ctx context.Context, params ListBillByCurrencyParams) (ListBillByCurrencyRes, error)

ListBillByCurrency invokes listBillByCurrency operation.

List all bills with this currency.

GET /v1/currencies/{code}/bills

func (*Client) ListBillByObjectGroup

func (c *Client) ListBillByObjectGroup(ctx context.Context, params ListBillByObjectGroupParams) (ListBillByObjectGroupRes, error)

ListBillByObjectGroup invokes listBillByObjectGroup operation.

List all bills with this object group.

GET /v1/object-groups/{id}/bills

func (*Client) ListBudget

func (c *Client) ListBudget(ctx context.Context, params ListBudgetParams) (ListBudgetRes, error)

ListBudget invokes listBudget operation.

List all the budgets the user has made. If the start date and end date are submitted as well, the "spent" array will be updated accordingly.

GET /v1/budgets

func (*Client) ListBudgetLimit

func (c *Client) ListBudgetLimit(ctx context.Context, params ListBudgetLimitParams) (ListBudgetLimitRes, error)

ListBudgetLimit invokes listBudgetLimit operation.

Get all budget limits for for this date range.

GET /v1/budget-limits

func (*Client) ListBudgetLimitByBudget

func (c *Client) ListBudgetLimitByBudget(ctx context.Context, params ListBudgetLimitByBudgetParams) (ListBudgetLimitByBudgetRes, error)

ListBudgetLimitByBudget invokes listBudgetLimitByBudget operation.

Get all budget limits for this budget and the money spent, and money left. You can limit the list by submitting a date range as well. The "spent" array for each budget limit is NOT influenced by the start and end date of your query, but by the start and end date of the budget limit itself.

GET /v1/budgets/{id}/limits

func (*Client) ListBudgetLimitByCurrency

func (c *Client) ListBudgetLimitByCurrency(ctx context.Context, params ListBudgetLimitByCurrencyParams) (ListBudgetLimitByCurrencyRes, error)

ListBudgetLimitByCurrency invokes listBudgetLimitByCurrency operation.

List all budget limits with this currency.

GET /v1/currencies/{code}/budget_limits

func (*Client) ListCategory

func (c *Client) ListCategory(ctx context.Context, params ListCategoryParams) (ListCategoryRes, error)

ListCategory invokes listCategory operation.

List all categories.

GET /v1/categories

func (*Client) ListCurrency

func (c *Client) ListCurrency(ctx context.Context, params ListCurrencyParams) (ListCurrencyRes, error)

ListCurrency invokes listCurrency operation.

List all currencies.

GET /v1/currencies

func (*Client) ListEventByPiggyBank

func (c *Client) ListEventByPiggyBank(ctx context.Context, params ListEventByPiggyBankParams) (ListEventByPiggyBankRes, error)

ListEventByPiggyBank invokes listEventByPiggyBank operation.

List all events linked to a piggy bank (adding and removing money).

GET /v1/piggy-banks/{id}/events

func (*Client) ListEventByTransaction

func (c *Client) ListEventByTransaction(ctx context.Context, params ListEventByTransactionParams) (ListEventByTransactionRes, error)

ListEventByTransaction invokes listEventByTransaction operation.

Lists all piggy bank events.

GET /v1/transactions/{id}/piggy-bank-events

func (*Client) ListLinkType

func (c *Client) ListLinkType(ctx context.Context, params ListLinkTypeParams) (ListLinkTypeRes, error)

ListLinkType invokes listLinkType operation.

List all the link types the system has. These include the default ones as well as any new ones.

GET /v1/link-types

func (*Client) ListLinksByJournal

func (c *Client) ListLinksByJournal(ctx context.Context, params ListLinksByJournalParams) (ListLinksByJournalRes, error)

ListLinksByJournal invokes listLinksByJournal operation.

Lists all the transaction links for an individual journal (a split). Don't use the group ID, you need the actual underlying journal (the split).

GET /v1/transaction-journals/{id}/links

func (*Client) ListObjectGroups

func (c *Client) ListObjectGroups(ctx context.Context, params ListObjectGroupsParams) (ListObjectGroupsRes, error)

ListObjectGroups invokes listObjectGroups operation.

List all oject groups.

GET /v1/object-groups

func (*Client) ListPiggyBank

func (c *Client) ListPiggyBank(ctx context.Context, params ListPiggyBankParams) (ListPiggyBankRes, error)

ListPiggyBank invokes listPiggyBank operation.

List all piggy banks.

GET /v1/piggy-banks

func (*Client) ListPiggyBankByAccount

func (c *Client) ListPiggyBankByAccount(ctx context.Context, params ListPiggyBankByAccountParams) (ListPiggyBankByAccountRes, error)

ListPiggyBankByAccount invokes listPiggyBankByAccount operation.

This endpoint returns a list of all the piggy banks connected to the account.

GET /v1/accounts/{id}/piggy-banks

func (*Client) ListPiggyBankByObjectGroup

func (c *Client) ListPiggyBankByObjectGroup(ctx context.Context, params ListPiggyBankByObjectGroupParams) (ListPiggyBankByObjectGroupRes, error)

ListPiggyBankByObjectGroup invokes listPiggyBankByObjectGroup operation.

This endpoint returns a list of all the piggy banks connected to the object group.

GET /v1/object-groups/{id}/piggy-banks

func (*Client) ListPreference

func (c *Client) ListPreference(ctx context.Context, params ListPreferenceParams) (ListPreferenceRes, error)

ListPreference invokes listPreference operation.

List all of the preferences of the user.

GET /v1/preferences

func (*Client) ListRecurrence

func (c *Client) ListRecurrence(ctx context.Context, params ListRecurrenceParams) (ListRecurrenceRes, error)

ListRecurrence invokes listRecurrence operation.

List all recurring transactions.

GET /v1/recurrences

func (*Client) ListRecurrenceByCurrency

func (c *Client) ListRecurrenceByCurrency(ctx context.Context, params ListRecurrenceByCurrencyParams) (ListRecurrenceByCurrencyRes, error)

ListRecurrenceByCurrency invokes listRecurrenceByCurrency operation.

List all recurring transactions with this currency.

GET /v1/currencies/{code}/recurrences

func (*Client) ListRule

func (c *Client) ListRule(ctx context.Context, params ListRuleParams) (ListRuleRes, error)

ListRule invokes listRule operation.

List all rules.

GET /v1/rules

func (*Client) ListRuleByBill

func (c *Client) ListRuleByBill(ctx context.Context, params ListRuleByBillParams) (ListRuleByBillRes, error)

ListRuleByBill invokes listRuleByBill operation.

This endpoint will list all rules that have an action to set the bill to this bill.

GET /v1/bills/{id}/rules

func (*Client) ListRuleByCurrency

func (c *Client) ListRuleByCurrency(ctx context.Context, params ListRuleByCurrencyParams) (ListRuleByCurrencyRes, error)

ListRuleByCurrency invokes listRuleByCurrency operation.

List all rules with this currency.

GET /v1/currencies/{code}/rules

func (*Client) ListRuleByGroup

func (c *Client) ListRuleByGroup(ctx context.Context, params ListRuleByGroupParams) (ListRuleByGroupRes, error)

ListRuleByGroup invokes listRuleByGroup operation.

List rules in this rule group.

GET /v1/rule-groups/{id}/rules

func (*Client) ListRuleGroup

func (c *Client) ListRuleGroup(ctx context.Context, params ListRuleGroupParams) (ListRuleGroupRes, error)

ListRuleGroup invokes listRuleGroup operation.

List all rule groups.

GET /v1/rule-groups

func (*Client) ListTag

func (c *Client) ListTag(ctx context.Context, params ListTagParams) (ListTagRes, error)

ListTag invokes listTag operation.

List all of the user's tags.

GET /v1/tags

func (*Client) ListTransaction

func (c *Client) ListTransaction(ctx context.Context, params ListTransactionParams) (ListTransactionRes, error)

ListTransaction invokes listTransaction operation.

List all the user's transactions.

GET /v1/transactions

func (*Client) ListTransactionByAccount

func (c *Client) ListTransactionByAccount(ctx context.Context, params ListTransactionByAccountParams) (ListTransactionByAccountRes, error)

ListTransactionByAccount invokes listTransactionByAccount operation.

This endpoint returns a list of all the transactions connected to the account.

GET /v1/accounts/{id}/transactions

func (*Client) ListTransactionByBill

func (c *Client) ListTransactionByBill(ctx context.Context, params ListTransactionByBillParams) (ListTransactionByBillRes, error)

ListTransactionByBill invokes listTransactionByBill operation.

This endpoint will list all transactions linked to this bill.

GET /v1/bills/{id}/transactions

func (*Client) ListTransactionByBudget

func (c *Client) ListTransactionByBudget(ctx context.Context, params ListTransactionByBudgetParams) (ListTransactionByBudgetRes, error)

ListTransactionByBudget invokes listTransactionByBudget operation.

Get all transactions linked to a budget, possibly limited by start and end.

GET /v1/budgets/{id}/transactions

func (*Client) ListTransactionByBudgetLimit

func (c *Client) ListTransactionByBudgetLimit(ctx context.Context, params ListTransactionByBudgetLimitParams) (ListTransactionByBudgetLimitRes, error)

ListTransactionByBudgetLimit invokes listTransactionByBudgetLimit operation.

List all the transactions within one budget limit. The start and end date are dictated by the budget limit.

GET /v1/budgets/{id}/limits/{limitId}/transactions

func (*Client) ListTransactionByCategory

func (c *Client) ListTransactionByCategory(ctx context.Context, params ListTransactionByCategoryParams) (ListTransactionByCategoryRes, error)

ListTransactionByCategory invokes listTransactionByCategory operation.

List all transactions in a category, optionally limited to the date ranges specified.

GET /v1/categories/{id}/transactions

func (*Client) ListTransactionByCurrency

func (c *Client) ListTransactionByCurrency(ctx context.Context, params ListTransactionByCurrencyParams) (ListTransactionByCurrencyRes, error)

ListTransactionByCurrency invokes listTransactionByCurrency operation.

List all transactions with this currency.

GET /v1/currencies/{code}/transactions

func (*Client) ListTransactionByLinkType

func (c *Client) ListTransactionByLinkType(ctx context.Context, params ListTransactionByLinkTypeParams) (ListTransactionByLinkTypeRes, error)

ListTransactionByLinkType invokes listTransactionByLinkType operation.

List all transactions under this link type, both the inward and outward transactions.

GET /v1/link-types/{id}/transactions

func (*Client) ListTransactionByRecurrence

func (c *Client) ListTransactionByRecurrence(ctx context.Context, params ListTransactionByRecurrenceParams) (ListTransactionByRecurrenceRes, error)

ListTransactionByRecurrence invokes listTransactionByRecurrence operation.

List all transactions created by a recurring transaction, optionally limited to the date ranges specified.

GET /v1/recurrences/{id}/transactions

func (*Client) ListTransactionByTag

func (c *Client) ListTransactionByTag(ctx context.Context, params ListTransactionByTagParams) (ListTransactionByTagRes, error)

ListTransactionByTag invokes listTransactionByTag operation.

List all transactions with this tag.

GET /v1/tags/{tag}/transactions

func (c *Client) ListTransactionLink(ctx context.Context, params ListTransactionLinkParams) (ListTransactionLinkRes, error)

ListTransactionLink invokes listTransactionLink operation.

List all the transaction links.

GET /v1/transaction-links

func (*Client) ListUser

func (c *Client) ListUser(ctx context.Context, params ListUserParams) (ListUserRes, error)

ListUser invokes listUser operation.

List all the users in this instance of Firefly III.

GET /v1/users

func (*Client) ListWebhook

func (c *Client) ListWebhook(ctx context.Context, params ListWebhookParams) (ListWebhookRes, error)

ListWebhook invokes listWebhook operation.

List all the user's webhooks.

GET /v1/webhooks

func (*Client) PurgeData

func (c *Client) PurgeData(ctx context.Context, params PurgeDataParams) (PurgeDataRes, error)

PurgeData invokes purgeData operation.

A call to this endpoint purges all previously deleted data. Use it with care and always with user permission. The demo user is incapable of using this endpoint.

DELETE /v1/data/purge

func (*Client) SearchAccounts

func (c *Client) SearchAccounts(ctx context.Context, params SearchAccountsParams) (SearchAccountsRes, error)

SearchAccounts invokes searchAccounts operation.

Search for accounts.

GET /v1/search/accounts

func (*Client) SearchTransactions

func (c *Client) SearchTransactions(ctx context.Context, params SearchTransactionsParams) (SearchTransactionsRes, error)

SearchTransactions invokes searchTransactions operation.

Searches through the users transactions.

GET /v1/search/transactions

func (*Client) SetConfiguration

func (c *Client) SetConfiguration(ctx context.Context, request *ConfigurationUpdate, params SetConfigurationParams) (SetConfigurationRes, error)

SetConfiguration invokes setConfiguration operation.

Set a single configuration value. Not all configuration values can be updated so the list of accepted configuration variables is small.

PUT /v1/configuration/{name}

func (*Client) StoreAccount

func (c *Client) StoreAccount(ctx context.Context, request *AccountStore, params StoreAccountParams) (StoreAccountRes, error)

StoreAccount invokes storeAccount operation.

Creates a new account. The data required can be submitted as a JSON body or as a list of parameters (in key=value pairs, like a webform).

POST /v1/accounts

func (*Client) StoreAttachment

func (c *Client) StoreAttachment(ctx context.Context, request *AttachmentStore, params StoreAttachmentParams) (StoreAttachmentRes, error)

StoreAttachment invokes storeAttachment operation.

Creates a new attachment. The data required can be submitted as a JSON body or as a list of parameters. You cannot use this endpoint to upload the actual file data (see below). This endpoint only creates the attachment object.

POST /v1/attachments

func (*Client) StoreBill

func (c *Client) StoreBill(ctx context.Context, request *BillStore, params StoreBillParams) (StoreBillRes, error)

StoreBill invokes storeBill operation.

Creates a new bill. The data required can be submitted as a JSON body or as a list of parameters.

POST /v1/bills

func (*Client) StoreBudget

func (c *Client) StoreBudget(ctx context.Context, request *BudgetStore, params StoreBudgetParams) (StoreBudgetRes, error)

StoreBudget invokes storeBudget operation.

Creates a new budget. The data required can be submitted as a JSON body or as a list of parameters.

POST /v1/budgets

func (*Client) StoreBudgetLimit

func (c *Client) StoreBudgetLimit(ctx context.Context, request *BudgetLimitStore, params StoreBudgetLimitParams) (StoreBudgetLimitRes, error)

StoreBudgetLimit invokes storeBudgetLimit operation.

Store a new budget limit under this budget.

POST /v1/budgets/{id}/limits

func (*Client) StoreCategory

func (c *Client) StoreCategory(ctx context.Context, request *Category, params StoreCategoryParams) (StoreCategoryRes, error)

StoreCategory invokes storeCategory operation.

Creates a new category. The data required can be submitted as a JSON body or as a list of parameters.

POST /v1/categories

func (*Client) StoreCurrency

func (c *Client) StoreCurrency(ctx context.Context, request *CurrencyStore, params StoreCurrencyParams) (StoreCurrencyRes, error)

StoreCurrency invokes storeCurrency operation.

Creates a new currency. The data required can be submitted as a JSON body or as a list of parameters.

POST /v1/currencies

func (*Client) StoreLinkType

func (c *Client) StoreLinkType(ctx context.Context, request *LinkType, params StoreLinkTypeParams) (StoreLinkTypeRes, error)

StoreLinkType invokes storeLinkType operation.

Creates a new link type. The data required can be submitted as a JSON body or as a list of parameters (in key=value pairs, like a webform).

POST /v1/link-types

func (*Client) StorePiggyBank

func (c *Client) StorePiggyBank(ctx context.Context, request *PiggyBankStore, params StorePiggyBankParams) (StorePiggyBankRes, error)

StorePiggyBank invokes storePiggyBank operation.

Creates a new piggy bank. The data required can be submitted as a JSON body or as a list of parameters.

POST /v1/piggy-banks

func (*Client) StorePreference

func (c *Client) StorePreference(ctx context.Context, request *Preference, params StorePreferenceParams) (StorePreferenceRes, error)

StorePreference invokes storePreference operation.

This endpoint creates a new preference. The name and data are free-format, and entirely up to you. If the preference is not used in Firefly III itself it may not be configurable through the user interface, but you can use this endpoint to persist custom data for your own app.

POST /v1/preferences

func (*Client) StoreRecurrence

func (c *Client) StoreRecurrence(ctx context.Context, request *RecurrenceStore, params StoreRecurrenceParams) (StoreRecurrenceRes, error)

StoreRecurrence invokes storeRecurrence operation.

Creates a new recurring transaction. The data required can be submitted as a JSON body or as a list of parameters.

POST /v1/recurrences

func (*Client) StoreRule

func (c *Client) StoreRule(ctx context.Context, request *RuleStore, params StoreRuleParams) (StoreRuleRes, error)

StoreRule invokes storeRule operation.

Creates a new rule. The data required can be submitted as a JSON body or as a list of parameters.

POST /v1/rules

func (*Client) StoreRuleGroup

func (c *Client) StoreRuleGroup(ctx context.Context, request *RuleGroupStore, params StoreRuleGroupParams) (StoreRuleGroupRes, error)

StoreRuleGroup invokes storeRuleGroup operation.

Creates a new rule group. The data required can be submitted as a JSON body or as a list of parameters.

POST /v1/rule-groups

func (*Client) StoreTag

func (c *Client) StoreTag(ctx context.Context, request *TagModelStore, params StoreTagParams) (StoreTagRes, error)

StoreTag invokes storeTag operation.

Creates a new tag. The data required can be submitted as a JSON body or as a list of parameters.

POST /v1/tags

func (*Client) StoreTransaction

func (c *Client) StoreTransaction(ctx context.Context, request *TransactionStore, params StoreTransactionParams) (StoreTransactionRes, error)

StoreTransaction invokes storeTransaction operation.

Creates a new transaction. The data required can be submitted as a JSON body or as a list of parameters.

POST /v1/transactions

func (c *Client) StoreTransactionLink(ctx context.Context, request *TransactionLinkStore, params StoreTransactionLinkParams) (StoreTransactionLinkRes, error)

StoreTransactionLink invokes storeTransactionLink operation.

Store a new link between two transactions. For this end point you need the journal_id from a transaction.

POST /v1/transaction-links

func (*Client) StoreUser

func (c *Client) StoreUser(ctx context.Context, request *User, params StoreUserParams) (StoreUserRes, error)

StoreUser invokes storeUser operation.

Creates a new user. The data required can be submitted as a JSON body or as a list of parameters. The user will be given a random password, which they can reset using the "forgot password" function.

POST /v1/users

func (*Client) StoreWebhook

func (c *Client) StoreWebhook(ctx context.Context, request *WebhookStore, params StoreWebhookParams) (StoreWebhookRes, error)

StoreWebhook invokes storeWebhook operation.

Creates a new webhook. The data required can be submitted as a JSON body or as a list of parameters. The webhook will be given a random secret.

POST /v1/webhooks

func (*Client) SubmitWebook

func (c *Client) SubmitWebook(ctx context.Context, params SubmitWebookParams) (SubmitWebookRes, error)

SubmitWebook invokes submitWebook operation.

This endpoint will submit any open messages for this webhook. This is an asynchronous operation, so you can't see the result. Refresh the webhook message and/or the webhook message attempts to see the results. This may take some time if the webhook receiver is slow.

POST /v1/webhooks/{id}/submit

func (*Client) TestRule

func (c *Client) TestRule(ctx context.Context, params TestRuleParams) (TestRuleRes, error)

TestRule invokes testRule operation.

Test which transactions would be hit by the rule. No changes will be made. Limit the result if you want to.

GET /v1/rules/{id}/test

func (*Client) TestRuleGroup

func (c *Client) TestRuleGroup(ctx context.Context, params TestRuleGroupParams) (TestRuleGroupRes, error)

TestRuleGroup invokes testRuleGroup operation.

Test which transactions would be hit by the rule group. No changes will be made. Limit the result if you want to.

GET /v1/rule-groups/{id}/test

func (*Client) UpdateAccount

func (c *Client) UpdateAccount(ctx context.Context, request *AccountUpdate, params UpdateAccountParams) (UpdateAccountRes, error)

UpdateAccount invokes updateAccount operation.

Used to update a single account. All fields that are not submitted will be cleared (set to NULL). The model will tell you which fields are mandatory.

PUT /v1/accounts/{id}

func (*Client) UpdateAttachment

func (c *Client) UpdateAttachment(ctx context.Context, request *AttachmentUpdate, params UpdateAttachmentParams) (UpdateAttachmentRes, error)

UpdateAttachment invokes updateAttachment operation.

Update the meta data for an existing attachment. This endpoint does not allow you to upload or download data. For that, see below.

PUT /v1/attachments/{id}

func (*Client) UpdateBill

func (c *Client) UpdateBill(ctx context.Context, request *BillUpdate, params UpdateBillParams) (UpdateBillRes, error)

UpdateBill invokes updateBill operation.

Update existing bill.

PUT /v1/bills/{id}

func (*Client) UpdateBudget

func (c *Client) UpdateBudget(ctx context.Context, request *BudgetUpdate, params UpdateBudgetParams) (UpdateBudgetRes, error)

UpdateBudget invokes updateBudget operation.

Update existing budget. This endpoint cannot be used to set budget amount limits.

PUT /v1/budgets/{id}

func (*Client) UpdateBudgetLimit

func (c *Client) UpdateBudgetLimit(ctx context.Context, request *BudgetLimit, params UpdateBudgetLimitParams) (UpdateBudgetLimitRes, error)

UpdateBudgetLimit invokes updateBudgetLimit operation.

Update existing budget limit.

PUT /v1/budgets/{id}/limits/{limitId}

func (*Client) UpdateCategory

func (c *Client) UpdateCategory(ctx context.Context, request *CategoryUpdate, params UpdateCategoryParams) (UpdateCategoryRes, error)

UpdateCategory invokes updateCategory operation.

Update existing category.

PUT /v1/categories/{id}

func (*Client) UpdateCurrency

func (c *Client) UpdateCurrency(ctx context.Context, request *CurrencyUpdate, params UpdateCurrencyParams) (UpdateCurrencyRes, error)

UpdateCurrency invokes updateCurrency operation.

Update existing currency.

PUT /v1/currencies/{code}

func (*Client) UpdateLinkType

func (c *Client) UpdateLinkType(ctx context.Context, request *LinkTypeUpdate, params UpdateLinkTypeParams) (UpdateLinkTypeRes, error)

UpdateLinkType invokes updateLinkType operation.

Used to update a single link type. All fields that are not submitted will be cleared (set to NULL).

The model will tell you which fields are mandatory. You cannot update some of the system provided

link types, indicated by the editable=false flag when you list it.

PUT /v1/link-types/{id}

func (*Client) UpdateObjectGroup

func (c *Client) UpdateObjectGroup(ctx context.Context, request *ObjectGroupUpdate, params UpdateObjectGroupParams) (UpdateObjectGroupRes, error)

UpdateObjectGroup invokes updateObjectGroup operation.

Update existing object group.

PUT /v1/object-groups/{id}

func (*Client) UpdatePiggyBank

func (c *Client) UpdatePiggyBank(ctx context.Context, request *PiggyBankUpdate, params UpdatePiggyBankParams) (UpdatePiggyBankRes, error)

UpdatePiggyBank invokes updatePiggyBank operation.

Update existing piggy bank.

PUT /v1/piggy-banks/{id}

func (*Client) UpdatePreference

func (c *Client) UpdatePreference(ctx context.Context, request *PreferenceUpdate, params UpdatePreferenceParams) (UpdatePreferenceRes, error)

UpdatePreference invokes updatePreference operation.

Update a user's preference.

PUT /v1/preferences/{name}

func (*Client) UpdateRecurrence

func (c *Client) UpdateRecurrence(ctx context.Context, request *RecurrenceUpdate, params UpdateRecurrenceParams) (UpdateRecurrenceRes, error)

UpdateRecurrence invokes updateRecurrence operation.

Update existing recurring transaction.

PUT /v1/recurrences/{id}

func (*Client) UpdateRule

func (c *Client) UpdateRule(ctx context.Context, request *RuleUpdate, params UpdateRuleParams) (UpdateRuleRes, error)

UpdateRule invokes updateRule operation.

Update existing rule.

PUT /v1/rules/{id}

func (*Client) UpdateRuleGroup

func (c *Client) UpdateRuleGroup(ctx context.Context, request *RuleGroupUpdate, params UpdateRuleGroupParams) (UpdateRuleGroupRes, error)

UpdateRuleGroup invokes updateRuleGroup operation.

Update existing rule group.

PUT /v1/rule-groups/{id}

func (*Client) UpdateTag

func (c *Client) UpdateTag(ctx context.Context, request *TagModelUpdate, params UpdateTagParams) (UpdateTagRes, error)

UpdateTag invokes updateTag operation.

Update existing tag.

PUT /v1/tags/{tag}

func (*Client) UpdateTransaction

func (c *Client) UpdateTransaction(ctx context.Context, request *TransactionUpdate, params UpdateTransactionParams) (UpdateTransactionRes, error)

UpdateTransaction invokes updateTransaction operation.

Update an existing transaction.

PUT /v1/transactions/{id}

func (c *Client) UpdateTransactionLink(ctx context.Context, request *TransactionLinkUpdate, params UpdateTransactionLinkParams) (UpdateTransactionLinkRes, error)

UpdateTransactionLink invokes updateTransactionLink operation.

Used to update a single existing link.

PUT /v1/transaction-links/{id}

func (*Client) UpdateUser

func (c *Client) UpdateUser(ctx context.Context, request *User, params UpdateUserParams) (UpdateUserRes, error)

UpdateUser invokes updateUser operation.

Update existing user.

PUT /v1/users/{id}

func (*Client) UpdateWebhook

func (c *Client) UpdateWebhook(ctx context.Context, request *WebhookUpdate, params UpdateWebhookParams) (UpdateWebhookRes, error)

UpdateWebhook invokes updateWebhook operation.

Update an existing webhook's information. If you wish to reset the secret, submit any value as the "secret". Firefly III will take this as a hint and reset the secret of the webhook.

PUT /v1/webhooks/{id}

func (*Client) UploadAttachment

func (c *Client) UploadAttachment(ctx context.Context, request UploadAttachmentReq, params UploadAttachmentParams) (UploadAttachmentRes, error)

UploadAttachment invokes uploadAttachment operation.

Use this endpoint to upload (and possible overwrite) the file contents of an attachment. Simply put the entire file in the body as binary data.

POST /v1/attachments/{id}/upload

type ClientOption

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

ClientOption is client config option.

func WithClient

func WithClient(client ht.Client) ClientOption

WithClient specifies http client to use.

type ClientParams

type ClientParams struct {
	Config *Config `validate:"required"`
}

type Config

type Config struct {
	ServerURL   string `yaml:"serverUrl" doc:"URL сервера Firefly III."`
	AccessToken string `yaml:"accessToken" doc:"Персональный токен доступа."`
}

func (Config) FireflyIiiAuth

func (c Config) FireflyIiiAuth(_ context.Context, _ string) (FireflyIiiAuth, error)

type ConfigValueFilter

type ConfigValueFilter string

Ref: #/components/schemas/ConfigValueFilter

const (
	ConfigValueFilterConfigurationIsDemoSite            ConfigValueFilter = "configuration.is_demo_site"
	ConfigValueFilterConfigurationPermissionUpdateCheck ConfigValueFilter = "configuration.permission_update_check"
	ConfigValueFilterConfigurationLastUpdateCheck       ConfigValueFilter = "configuration.last_update_check"
	ConfigValueFilterConfigurationSingleUserMode        ConfigValueFilter = "configuration.single_user_mode"
	ConfigValueFilterFireflyVersion                     ConfigValueFilter = "firefly.version"
	ConfigValueFilterFireflyAPIVersion                  ConfigValueFilter = "firefly.api_version"
	ConfigValueFilterFireflyDefaultLocation             ConfigValueFilter = "firefly.default_location"
	ConfigValueFilterFireflyAccountToTransaction        ConfigValueFilter = "firefly.account_to_transaction"
	ConfigValueFilterFireflyAllowedOpposingTypes        ConfigValueFilter = "firefly.allowed_opposing_types"
	ConfigValueFilterFireflyAccountRoles                ConfigValueFilter = "firefly.accountRoles"
	ConfigValueFilterFireflyValidLiabilities            ConfigValueFilter = "firefly.valid_liabilities"
	ConfigValueFilterFireflyInterestPeriods             ConfigValueFilter = "firefly.interest_periods"
	ConfigValueFilterFireflyEnableExternalMap           ConfigValueFilter = "firefly.enable_external_map"
	ConfigValueFilterFireflyExpectedSourceTypes         ConfigValueFilter = "firefly.expected_source_types"
	ConfigValueFilterAppTimezone                        ConfigValueFilter = "app.timezone"
	ConfigValueFilterFireflyBillPeriods                 ConfigValueFilter = "firefly.bill_periods"
	ConfigValueFilterFireflyCreditCardTypes             ConfigValueFilter = "firefly.credit_card_types"
	ConfigValueFilterFireflyLanguages                   ConfigValueFilter = "firefly.languages"
	ConfigValueFilterFireflyValidViewRanges             ConfigValueFilter = "firefly.valid_view_ranges"
)

func (ConfigValueFilter) AllValues

func (ConfigValueFilter) AllValues() []ConfigValueFilter

AllValues returns all ConfigValueFilter values.

func (*ConfigValueFilter) Decode

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

Decode decodes ConfigValueFilter from json.

func (ConfigValueFilter) Encode

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

Encode encodes ConfigValueFilter as json.

func (ConfigValueFilter) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (ConfigValueFilter) MarshalText

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

MarshalText implements encoding.TextMarshaler.

func (*ConfigValueFilter) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

func (*ConfigValueFilter) UnmarshalText

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

UnmarshalText implements encoding.TextUnmarshaler.

func (ConfigValueFilter) Validate

func (s ConfigValueFilter) Validate() error

type ConfigValueUpdateFilter

type ConfigValueUpdateFilter string

Ref: #/components/schemas/ConfigValueUpdateFilter

const (
	ConfigValueUpdateFilterConfigurationIsDemoSite            ConfigValueUpdateFilter = "configuration.is_demo_site"
	ConfigValueUpdateFilterConfigurationPermissionUpdateCheck ConfigValueUpdateFilter = "configuration.permission_update_check"
	ConfigValueUpdateFilterConfigurationLastUpdateCheck       ConfigValueUpdateFilter = "configuration.last_update_check"
	ConfigValueUpdateFilterConfigurationSingleUserMode        ConfigValueUpdateFilter = "configuration.single_user_mode"
)

func (ConfigValueUpdateFilter) AllValues

AllValues returns all ConfigValueUpdateFilter values.

func (ConfigValueUpdateFilter) MarshalText

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

MarshalText implements encoding.TextMarshaler.

func (*ConfigValueUpdateFilter) UnmarshalText

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

UnmarshalText implements encoding.TextUnmarshaler.

func (ConfigValueUpdateFilter) Validate

func (s ConfigValueUpdateFilter) Validate() error

type Configuration

type Configuration struct {
	// Title of the configuration value.
	Title ConfigValueFilter `json:"title"`
	// Content of the configuration variable. Is very dynamic and can be anything from booleans to arrays.
	Value PolymorphicProperty `json:"value"`
	// If this config variable can be edited by the user.
	Editable bool `json:"editable"`
}

Ref: #/components/schemas/Configuration

func (*Configuration) Decode

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

Decode decodes Configuration from json.

func (*Configuration) Encode

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

Encode implements json.Marshaler.

func (*Configuration) GetEditable

func (s *Configuration) GetEditable() bool

GetEditable returns the value of Editable.

func (*Configuration) GetTitle

func (s *Configuration) GetTitle() ConfigValueFilter

GetTitle returns the value of Title.

func (*Configuration) GetValue

func (s *Configuration) GetValue() PolymorphicProperty

GetValue returns the value of Value.

func (*Configuration) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*Configuration) SetEditable

func (s *Configuration) SetEditable(val bool)

SetEditable sets the value of Editable.

func (*Configuration) SetTitle

func (s *Configuration) SetTitle(val ConfigValueFilter)

SetTitle sets the value of Title.

func (*Configuration) SetValue

func (s *Configuration) SetValue(val PolymorphicProperty)

SetValue sets the value of Value.

func (*Configuration) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

func (*Configuration) Validate

func (s *Configuration) Validate() error

type ConfigurationArray

type ConfigurationArray []Configuration

func (*ConfigurationArray) Decode

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

Decode decodes ConfigurationArray from json.

func (ConfigurationArray) Encode

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

Encode encodes ConfigurationArray as json.

func (ConfigurationArray) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*ConfigurationArray) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

func (ConfigurationArray) Validate

func (s ConfigurationArray) Validate() error

type ConfigurationSingle

type ConfigurationSingle struct {
	Data Configuration `json:"data"`
}

Ref: #/components/schemas/ConfigurationSingle

func (*ConfigurationSingle) Decode

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

Decode decodes ConfigurationSingle from json.

func (*ConfigurationSingle) Encode

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

Encode implements json.Marshaler.

func (*ConfigurationSingle) GetData

func (s *ConfigurationSingle) GetData() Configuration

GetData returns the value of Data.

func (*ConfigurationSingle) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*ConfigurationSingle) SetData

func (s *ConfigurationSingle) SetData(val Configuration)

SetData sets the value of Data.

func (*ConfigurationSingle) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

func (*ConfigurationSingle) Validate

func (s *ConfigurationSingle) Validate() error

type ConfigurationUpdate

type ConfigurationUpdate struct {
	// Can be a number, a string, boolean or object. This depends on the actual configuration value.
	Value PolymorphicProperty `json:"value"`
}

Ref: #/components/schemas/ConfigurationUpdate

func (*ConfigurationUpdate) Decode

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

Decode decodes ConfigurationUpdate from json.

func (*ConfigurationUpdate) Encode

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

Encode implements json.Marshaler.

func (*ConfigurationUpdate) GetValue

GetValue returns the value of Value.

func (*ConfigurationUpdate) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*ConfigurationUpdate) SetValue

func (s *ConfigurationUpdate) SetValue(val PolymorphicProperty)

SetValue sets the value of Value.

func (*ConfigurationUpdate) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

func (*ConfigurationUpdate) Validate

func (s *ConfigurationUpdate) Validate() error

type CreditCardType

type CreditCardType string

Mandatory when the account_role is ccAsset. Can only be monthlyFull or null. Ref: #/components/schemas/CreditCardType

const (
	CreditCardTypeMonthlyFull CreditCardType = "monthlyFull"
)

func (CreditCardType) AllValues

func (CreditCardType) AllValues() []CreditCardType

AllValues returns all CreditCardType values.

func (*CreditCardType) Decode

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

Decode decodes CreditCardType from json.

func (CreditCardType) Encode

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

Encode encodes CreditCardType as json.

func (CreditCardType) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (CreditCardType) MarshalText

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

MarshalText implements encoding.TextMarshaler.

func (*CreditCardType) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

func (*CreditCardType) UnmarshalText

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

UnmarshalText implements encoding.TextUnmarshaler.

func (CreditCardType) Validate

func (s CreditCardType) Validate() error

type CronResult

type CronResult struct {
	RecurringTransactions OptCronResultRow `json:"recurring_transactions"`
	AutoBudgets           OptCronResultRow `json:"auto_budgets"`
	Telemetry             OptCronResultRow `json:"telemetry"`
}

Ref: #/components/schemas/CronResult

func (*CronResult) Decode

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

Decode decodes CronResult from json.

func (*CronResult) Encode

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

Encode implements json.Marshaler.

func (*CronResult) GetAutoBudgets

func (s *CronResult) GetAutoBudgets() OptCronResultRow

GetAutoBudgets returns the value of AutoBudgets.

func (*CronResult) GetRecurringTransactions

func (s *CronResult) GetRecurringTransactions() OptCronResultRow

GetRecurringTransactions returns the value of RecurringTransactions.

func (*CronResult) GetTelemetry

func (s *CronResult) GetTelemetry() OptCronResultRow

GetTelemetry returns the value of Telemetry.

func (*CronResult) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*CronResult) SetAutoBudgets

func (s *CronResult) SetAutoBudgets(val OptCronResultRow)

SetAutoBudgets sets the value of AutoBudgets.

func (*CronResult) SetRecurringTransactions

func (s *CronResult) SetRecurringTransactions(val OptCronResultRow)

SetRecurringTransactions sets the value of RecurringTransactions.

func (*CronResult) SetTelemetry

func (s *CronResult) SetTelemetry(val OptCronResultRow)

SetTelemetry sets the value of Telemetry.

func (*CronResult) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

type CronResultRow

type CronResultRow struct {
	// This value tells you if this specific cron job actually fired. It may not fire. Some cron jobs
	// only fire every 24 hours, for example.
	JobFired OptNilBool `json:"job_fired"`
	// This value tells you if this specific cron job actually did something. The job may fire but not
	// change anything.
	JobSucceeded OptNilBool `json:"job_succeeded"`
	// If the cron jobs ran into some kind of an error, this value will be true.
	JobErrored OptNilBool `json:"job_errored"`
	// If the cron job ran into some kind of an error, this value will be the error message. The success
	// message
	// if the job actually ran OK.
	Message OptNilString `json:"message"`
}

Ref: #/components/schemas/CronResultRow

func (*CronResultRow) Decode

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

Decode decodes CronResultRow from json.

func (*CronResultRow) Encode

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

Encode implements json.Marshaler.

func (*CronResultRow) GetJobErrored

func (s *CronResultRow) GetJobErrored() OptNilBool

GetJobErrored returns the value of JobErrored.

func (*CronResultRow) GetJobFired

func (s *CronResultRow) GetJobFired() OptNilBool

GetJobFired returns the value of JobFired.

func (*CronResultRow) GetJobSucceeded

func (s *CronResultRow) GetJobSucceeded() OptNilBool

GetJobSucceeded returns the value of JobSucceeded.

func (*CronResultRow) GetMessage

func (s *CronResultRow) GetMessage() OptNilString

GetMessage returns the value of Message.

func (*CronResultRow) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*CronResultRow) SetJobErrored

func (s *CronResultRow) SetJobErrored(val OptNilBool)

SetJobErrored sets the value of JobErrored.

func (*CronResultRow) SetJobFired

func (s *CronResultRow) SetJobFired(val OptNilBool)

SetJobFired sets the value of JobFired.

func (*CronResultRow) SetJobSucceeded

func (s *CronResultRow) SetJobSucceeded(val OptNilBool)

SetJobSucceeded sets the value of JobSucceeded.

func (*CronResultRow) SetMessage

func (s *CronResultRow) SetMessage(val OptNilString)

SetMessage sets the value of Message.

func (*CronResultRow) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

type Currency

type Currency struct {
	CreatedAt OptDateTime `json:"created_at"`
	UpdatedAt OptDateTime `json:"updated_at"`
	// Defaults to true.
	Enabled OptBool `json:"enabled"`
	// Make this currency the default currency.
	Default OptBool `json:"default"`
	Code    string  `json:"code"`
	Name    string  `json:"name"`
	Symbol  string  `json:"symbol"`
	// Supports 0-16 decimals.
	DecimalPlaces OptInt32 `json:"decimal_places"`
}

Ref: #/components/schemas/Currency

func (*Currency) Decode

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

Decode decodes Currency from json.

func (*Currency) Encode

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

Encode implements json.Marshaler.

func (*Currency) GetCode

func (s *Currency) GetCode() string

GetCode returns the value of Code.

func (*Currency) GetCreatedAt

func (s *Currency) GetCreatedAt() OptDateTime

GetCreatedAt returns the value of CreatedAt.

func (*Currency) GetDecimalPlaces

func (s *Currency) GetDecimalPlaces() OptInt32

GetDecimalPlaces returns the value of DecimalPlaces.

func (*Currency) GetDefault

func (s *Currency) GetDefault() OptBool

GetDefault returns the value of Default.

func (*Currency) GetEnabled

func (s *Currency) GetEnabled() OptBool

GetEnabled returns the value of Enabled.

func (*Currency) GetName

func (s *Currency) GetName() string

GetName returns the value of Name.

func (*Currency) GetSymbol

func (s *Currency) GetSymbol() string

GetSymbol returns the value of Symbol.

func (*Currency) GetUpdatedAt

func (s *Currency) GetUpdatedAt() OptDateTime

GetUpdatedAt returns the value of UpdatedAt.

func (*Currency) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*Currency) SetCode

func (s *Currency) SetCode(val string)

SetCode sets the value of Code.

func (*Currency) SetCreatedAt

func (s *Currency) SetCreatedAt(val OptDateTime)

SetCreatedAt sets the value of CreatedAt.

func (*Currency) SetDecimalPlaces

func (s *Currency) SetDecimalPlaces(val OptInt32)

SetDecimalPlaces sets the value of DecimalPlaces.

func (*Currency) SetDefault

func (s *Currency) SetDefault(val OptBool)

SetDefault sets the value of Default.

func (*Currency) SetEnabled

func (s *Currency) SetEnabled(val OptBool)

SetEnabled sets the value of Enabled.

func (*Currency) SetName

func (s *Currency) SetName(val string)

SetName sets the value of Name.

func (*Currency) SetSymbol

func (s *Currency) SetSymbol(val string)

SetSymbol sets the value of Symbol.

func (*Currency) SetUpdatedAt

func (s *Currency) SetUpdatedAt(val OptDateTime)

SetUpdatedAt sets the value of UpdatedAt.

func (*Currency) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

type CurrencyArray

type CurrencyArray struct {
	Data  []CurrencyRead `json:"data"`
	Meta  Meta           `json:"meta"`
	Links PageLink       `json:"links"`
}

Ref: #/components/schemas/CurrencyArray

func (*CurrencyArray) Decode

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

Decode decodes CurrencyArray from json.

func (*CurrencyArray) Encode

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

Encode implements json.Marshaler.

func (*CurrencyArray) GetData

func (s *CurrencyArray) GetData() []CurrencyRead

GetData returns the value of Data.

func (s *CurrencyArray) GetLinks() PageLink

GetLinks returns the value of Links.

func (*CurrencyArray) GetMeta

func (s *CurrencyArray) GetMeta() Meta

GetMeta returns the value of Meta.

func (*CurrencyArray) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*CurrencyArray) SetData

func (s *CurrencyArray) SetData(val []CurrencyRead)

SetData sets the value of Data.

func (s *CurrencyArray) SetLinks(val PageLink)

SetLinks sets the value of Links.

func (*CurrencyArray) SetMeta

func (s *CurrencyArray) SetMeta(val Meta)

SetMeta sets the value of Meta.

func (*CurrencyArray) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

func (*CurrencyArray) Validate

func (s *CurrencyArray) Validate() error

type CurrencyRead

type CurrencyRead struct {
	// Immutable value.
	Type       string   `json:"type"`
	ID         string   `json:"id"`
	Attributes Currency `json:"attributes"`
}

Ref: #/components/schemas/CurrencyRead

func (*CurrencyRead) Decode

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

Decode decodes CurrencyRead from json.

func (*CurrencyRead) Encode

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

Encode implements json.Marshaler.

func (*CurrencyRead) GetAttributes

func (s *CurrencyRead) GetAttributes() Currency

GetAttributes returns the value of Attributes.

func (*CurrencyRead) GetID

func (s *CurrencyRead) GetID() string

GetID returns the value of ID.

func (*CurrencyRead) GetType

func (s *CurrencyRead) GetType() string

GetType returns the value of Type.

func (*CurrencyRead) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*CurrencyRead) SetAttributes

func (s *CurrencyRead) SetAttributes(val Currency)

SetAttributes sets the value of Attributes.

func (*CurrencyRead) SetID

func (s *CurrencyRead) SetID(val string)

SetID sets the value of ID.

func (*CurrencyRead) SetType

func (s *CurrencyRead) SetType(val string)

SetType sets the value of Type.

func (*CurrencyRead) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

type CurrencySingle

type CurrencySingle struct {
	Data CurrencyRead `json:"data"`
}

Ref: #/components/schemas/CurrencySingle

func (*CurrencySingle) Decode

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

Decode decodes CurrencySingle from json.

func (*CurrencySingle) Encode

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

Encode implements json.Marshaler.

func (*CurrencySingle) GetData

func (s *CurrencySingle) GetData() CurrencyRead

GetData returns the value of Data.

func (*CurrencySingle) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*CurrencySingle) SetData

func (s *CurrencySingle) SetData(val CurrencyRead)

SetData sets the value of Data.

func (*CurrencySingle) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

type CurrencyStore

type CurrencyStore struct {
	// Defaults to true.
	Enabled OptBool `json:"enabled"`
	// Make this currency the default currency.
	Default OptBool `json:"default"`
	Code    string  `json:"code"`
	Name    string  `json:"name"`
	Symbol  string  `json:"symbol"`
	// Supports 0-16 decimals.
	DecimalPlaces OptInt32 `json:"decimal_places"`
}

Ref: #/components/schemas/CurrencyStore

func (*CurrencyStore) Decode

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

Decode decodes CurrencyStore from json.

func (*CurrencyStore) Encode

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

Encode implements json.Marshaler.

func (*CurrencyStore) GetCode

func (s *CurrencyStore) GetCode() string

GetCode returns the value of Code.

func (*CurrencyStore) GetDecimalPlaces

func (s *CurrencyStore) GetDecimalPlaces() OptInt32

GetDecimalPlaces returns the value of DecimalPlaces.

func (*CurrencyStore) GetDefault

func (s *CurrencyStore) GetDefault() OptBool

GetDefault returns the value of Default.

func (*CurrencyStore) GetEnabled

func (s *CurrencyStore) GetEnabled() OptBool

GetEnabled returns the value of Enabled.

func (*CurrencyStore) GetName

func (s *CurrencyStore) GetName() string

GetName returns the value of Name.

func (*CurrencyStore) GetSymbol

func (s *CurrencyStore) GetSymbol() string

GetSymbol returns the value of Symbol.

func (*CurrencyStore) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*CurrencyStore) SetCode

func (s *CurrencyStore) SetCode(val string)

SetCode sets the value of Code.

func (*CurrencyStore) SetDecimalPlaces

func (s *CurrencyStore) SetDecimalPlaces(val OptInt32)

SetDecimalPlaces sets the value of DecimalPlaces.

func (*CurrencyStore) SetDefault

func (s *CurrencyStore) SetDefault(val OptBool)

SetDefault sets the value of Default.

func (*CurrencyStore) SetEnabled

func (s *CurrencyStore) SetEnabled(val OptBool)

SetEnabled sets the value of Enabled.

func (*CurrencyStore) SetName

func (s *CurrencyStore) SetName(val string)

SetName sets the value of Name.

func (*CurrencyStore) SetSymbol

func (s *CurrencyStore) SetSymbol(val string)

SetSymbol sets the value of Symbol.

func (*CurrencyStore) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

type CurrencyUpdate

type CurrencyUpdate struct {
	// If the currency is enabled.
	Enabled OptBool `json:"enabled"`
	// If the currency must be the default for the user. You can only submit TRUE.
	Default OptCurrencyUpdateDefault `json:"default"`
	// The currency code.
	Code OptString `json:"code"`
	// The currency name.
	Name OptString `json:"name"`
	// The currency symbol.
	Symbol OptString `json:"symbol"`
	// How many decimals to use when displaying this currency. Between 0 and 16.
	DecimalPlaces OptInt32 `json:"decimal_places"`
}

Ref: #/components/schemas/CurrencyUpdate

func (*CurrencyUpdate) Decode

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

Decode decodes CurrencyUpdate from json.

func (*CurrencyUpdate) Encode

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

Encode implements json.Marshaler.

func (*CurrencyUpdate) GetCode

func (s *CurrencyUpdate) GetCode() OptString

GetCode returns the value of Code.

func (*CurrencyUpdate) GetDecimalPlaces

func (s *CurrencyUpdate) GetDecimalPlaces() OptInt32

GetDecimalPlaces returns the value of DecimalPlaces.

func (*CurrencyUpdate) GetDefault

func (s *CurrencyUpdate) GetDefault() OptCurrencyUpdateDefault

GetDefault returns the value of Default.

func (*CurrencyUpdate) GetEnabled

func (s *CurrencyUpdate) GetEnabled() OptBool

GetEnabled returns the value of Enabled.

func (*CurrencyUpdate) GetName

func (s *CurrencyUpdate) GetName() OptString

GetName returns the value of Name.

func (*CurrencyUpdate) GetSymbol

func (s *CurrencyUpdate) GetSymbol() OptString

GetSymbol returns the value of Symbol.

func (*CurrencyUpdate) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*CurrencyUpdate) SetCode

func (s *CurrencyUpdate) SetCode(val OptString)

SetCode sets the value of Code.

func (*CurrencyUpdate) SetDecimalPlaces

func (s *CurrencyUpdate) SetDecimalPlaces(val OptInt32)

SetDecimalPlaces sets the value of DecimalPlaces.

func (*CurrencyUpdate) SetDefault

func (s *CurrencyUpdate) SetDefault(val OptCurrencyUpdateDefault)

SetDefault sets the value of Default.

func (*CurrencyUpdate) SetEnabled

func (s *CurrencyUpdate) SetEnabled(val OptBool)

SetEnabled sets the value of Enabled.

func (*CurrencyUpdate) SetName

func (s *CurrencyUpdate) SetName(val OptString)

SetName sets the value of Name.

func (*CurrencyUpdate) SetSymbol

func (s *CurrencyUpdate) SetSymbol(val OptString)

SetSymbol sets the value of Symbol.

func (*CurrencyUpdate) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

func (*CurrencyUpdate) Validate

func (s *CurrencyUpdate) Validate() error

type CurrencyUpdateDefault

type CurrencyUpdateDefault bool

If the currency must be the default for the user. You can only submit TRUE.

const (
	CurrencyUpdateDefaultTrue CurrencyUpdateDefault = true
)

func (CurrencyUpdateDefault) AllValues

AllValues returns all CurrencyUpdateDefault values.

func (*CurrencyUpdateDefault) Decode

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

Decode decodes CurrencyUpdateDefault from json.

func (CurrencyUpdateDefault) Encode

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

Encode encodes CurrencyUpdateDefault as json.

func (CurrencyUpdateDefault) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*CurrencyUpdateDefault) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

func (CurrencyUpdateDefault) Validate

func (s CurrencyUpdateDefault) Validate() error

type DataDestroyObject

type DataDestroyObject string

Ref: #/components/schemas/DataDestroyObject

const (
	DataDestroyObjectNotAssetsLiabilities DataDestroyObject = "not_assets_liabilities"
	DataDestroyObjectBudgets              DataDestroyObject = "budgets"
	DataDestroyObjectBills                DataDestroyObject = "bills"
	DataDestroyObjectPiggyBanks           DataDestroyObject = "piggy_banks"
	DataDestroyObjectRules                DataDestroyObject = "rules"
	DataDestroyObjectRecurring            DataDestroyObject = "recurring"
	DataDestroyObjectCategories           DataDestroyObject = "categories"
	DataDestroyObjectTags                 DataDestroyObject = "tags"
	DataDestroyObjectObjectGroups         DataDestroyObject = "object_groups"
	DataDestroyObjectAccounts             DataDestroyObject = "accounts"
	DataDestroyObjectAssetAccounts        DataDestroyObject = "asset_accounts"
	DataDestroyObjectExpenseAccounts      DataDestroyObject = "expense_accounts"
	DataDestroyObjectRevenueAccounts      DataDestroyObject = "revenue_accounts"
	DataDestroyObjectLiabilities          DataDestroyObject = "liabilities"
	DataDestroyObjectTransactions         DataDestroyObject = "transactions"
	DataDestroyObjectWithdrawals          DataDestroyObject = "withdrawals"
	DataDestroyObjectDeposits             DataDestroyObject = "deposits"
	DataDestroyObjectTransfers            DataDestroyObject = "transfers"
)

func (DataDestroyObject) AllValues

func (DataDestroyObject) AllValues() []DataDestroyObject

AllValues returns all DataDestroyObject values.

func (DataDestroyObject) MarshalText

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

MarshalText implements encoding.TextMarshaler.

func (*DataDestroyObject) UnmarshalText

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

UnmarshalText implements encoding.TextUnmarshaler.

func (DataDestroyObject) Validate

func (s DataDestroyObject) Validate() error

type DefaultCurrencyParams

type DefaultCurrencyParams struct {
	// Unique identifier associated with this request.
	XTraceID OptUUID
	// The currency code.
	Code string
}

DefaultCurrencyParams is parameters of defaultCurrency operation.

type DefaultCurrencyRes

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

type DeleteAccountNoContent

type DeleteAccountNoContent struct{}

DeleteAccountNoContent is response for DeleteAccount operation.

type DeleteAccountParams

type DeleteAccountParams struct {
	// Unique identifier associated with this request.
	XTraceID OptUUID
	// The ID of the account.
	ID string
}

DeleteAccountParams is parameters of deleteAccount operation.

type DeleteAccountRes

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

type DeleteAttachmentNoContent

type DeleteAttachmentNoContent struct{}

DeleteAttachmentNoContent is response for DeleteAttachment operation.

type DeleteAttachmentParams

type DeleteAttachmentParams struct {
	// Unique identifier associated with this request.
	XTraceID OptUUID
	// The ID of the single attachment.
	ID string
}

DeleteAttachmentParams is parameters of deleteAttachment operation.

type DeleteAttachmentRes

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

type DeleteBillNoContent

type DeleteBillNoContent struct{}

DeleteBillNoContent is response for DeleteBill operation.

type DeleteBillParams

type DeleteBillParams struct {
	// Unique identifier associated with this request.
	XTraceID OptUUID
	// The ID of the bill.
	ID string
}

DeleteBillParams is parameters of deleteBill operation.

type DeleteBillRes

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

type DeleteBudgetLimitNoContent

type DeleteBudgetLimitNoContent struct{}

DeleteBudgetLimitNoContent is response for DeleteBudgetLimit operation.

type DeleteBudgetLimitParams

type DeleteBudgetLimitParams struct {
	// Unique identifier associated with this request.
	XTraceID OptUUID
	// The ID of the budget. The budget limit MUST be associated to the budget ID.
	ID string
	// The ID of the budget limit. The budget limit MUST be associated to the budget ID.
	LimitId string
}

DeleteBudgetLimitParams is parameters of deleteBudgetLimit operation.

type DeleteBudgetLimitRes

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

type DeleteBudgetNoContent

type DeleteBudgetNoContent struct{}

DeleteBudgetNoContent is response for DeleteBudget operation.

type DeleteBudgetParams

type DeleteBudgetParams struct {
	// Unique identifier associated with this request.
	XTraceID OptUUID
	// The ID of the budget.
	ID string
}

DeleteBudgetParams is parameters of deleteBudget operation.

type DeleteBudgetRes

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

type DeleteCategoryNoContent

type DeleteCategoryNoContent struct{}

DeleteCategoryNoContent is response for DeleteCategory operation.

type DeleteCategoryParams

type DeleteCategoryParams struct {
	// Unique identifier associated with this request.
	XTraceID OptUUID
	// The ID of the category.
	ID string
}

DeleteCategoryParams is parameters of deleteCategory operation.

type DeleteCategoryRes

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

type DeleteCurrencyNoContent

type DeleteCurrencyNoContent struct{}

DeleteCurrencyNoContent is response for DeleteCurrency operation.

type DeleteCurrencyParams

type DeleteCurrencyParams struct {
	// Unique identifier associated with this request.
	XTraceID OptUUID
	// The currency code.
	Code string
}

DeleteCurrencyParams is parameters of deleteCurrency operation.

type DeleteCurrencyRes

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

type DeleteLinkTypeNoContent

type DeleteLinkTypeNoContent struct{}

DeleteLinkTypeNoContent is response for DeleteLinkType operation.

type DeleteLinkTypeParams

type DeleteLinkTypeParams struct {
	// Unique identifier associated with this request.
	XTraceID OptUUID
	// The ID of the link type.
	ID string
}

DeleteLinkTypeParams is parameters of deleteLinkType operation.

type DeleteLinkTypeRes

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

type DeleteObjectGroupNoContent

type DeleteObjectGroupNoContent struct{}

DeleteObjectGroupNoContent is response for DeleteObjectGroup operation.

type DeleteObjectGroupParams

type DeleteObjectGroupParams struct {
	// Unique identifier associated with this request.
	XTraceID OptUUID
	// The ID of the object group.
	ID string
}

DeleteObjectGroupParams is parameters of deleteObjectGroup operation.

type DeleteObjectGroupRes

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

type DeletePiggyBankNoContent

type DeletePiggyBankNoContent struct{}

DeletePiggyBankNoContent is response for DeletePiggyBank operation.

type DeletePiggyBankParams

type DeletePiggyBankParams struct {
	// Unique identifier associated with this request.
	XTraceID OptUUID
	// The ID of the piggy bank.
	ID string
}

DeletePiggyBankParams is parameters of deletePiggyBank operation.

type DeletePiggyBankRes

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

type DeleteRecurrenceNoContent

type DeleteRecurrenceNoContent struct{}

DeleteRecurrenceNoContent is response for DeleteRecurrence operation.

type DeleteRecurrenceParams

type DeleteRecurrenceParams struct {
	// Unique identifier associated with this request.
	XTraceID OptUUID
	// The ID of the recurring transaction.
	ID string
}

DeleteRecurrenceParams is parameters of deleteRecurrence operation.

type DeleteRecurrenceRes

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

type DeleteRuleGroupNoContent

type DeleteRuleGroupNoContent struct{}

DeleteRuleGroupNoContent is response for DeleteRuleGroup operation.

type DeleteRuleGroupParams

type DeleteRuleGroupParams struct {
	// Unique identifier associated with this request.
	XTraceID OptUUID
	// The ID of the rule group.
	ID string
}

DeleteRuleGroupParams is parameters of deleteRuleGroup operation.

type DeleteRuleGroupRes

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

type DeleteRuleNoContent

type DeleteRuleNoContent struct{}

DeleteRuleNoContent is response for DeleteRule operation.

type DeleteRuleParams

type DeleteRuleParams struct {
	// Unique identifier associated with this request.
	XTraceID OptUUID
	// The ID of the rule.
	ID string
}

DeleteRuleParams is parameters of deleteRule operation.

type DeleteRuleRes

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

type DeleteTagNoContent

type DeleteTagNoContent struct{}

DeleteTagNoContent is response for DeleteTag operation.

type DeleteTagParams

type DeleteTagParams struct {
	// Unique identifier associated with this request.
	XTraceID OptUUID
	// Either the tag itself or the tag ID. If you use the tag itself, and it contains international
	// (non-ASCII) characters, your milage may vary.
	Tag string
}

DeleteTagParams is parameters of deleteTag operation.

type DeleteTagRes

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

type DeleteTransactionJournalNoContent

type DeleteTransactionJournalNoContent struct{}

DeleteTransactionJournalNoContent is response for DeleteTransactionJournal operation.

type DeleteTransactionJournalParams

type DeleteTransactionJournalParams struct {
	// Unique identifier associated with this request.
	XTraceID OptUUID
	// The ID of the transaction journal (the split) you wish to delete.
	ID string
}

DeleteTransactionJournalParams is parameters of deleteTransactionJournal operation.

type DeleteTransactionJournalRes

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

type DeleteTransactionLinkNoContent

type DeleteTransactionLinkNoContent struct{}

DeleteTransactionLinkNoContent is response for DeleteTransactionLink operation.

type DeleteTransactionLinkParams

type DeleteTransactionLinkParams struct {
	// Unique identifier associated with this request.
	XTraceID OptUUID
	// The ID of the transaction link.
	ID string
}

DeleteTransactionLinkParams is parameters of deleteTransactionLink operation.

type DeleteTransactionLinkRes

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

type DeleteTransactionNoContent

type DeleteTransactionNoContent struct{}

DeleteTransactionNoContent is response for DeleteTransaction operation.

type DeleteTransactionParams

type DeleteTransactionParams struct {
	// Unique identifier associated with this request.
	XTraceID OptUUID
	// The ID of the transaction.
	ID string
}

DeleteTransactionParams is parameters of deleteTransaction operation.

type DeleteTransactionRes

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

type DeleteUserNoContent

type DeleteUserNoContent struct{}

DeleteUserNoContent is response for DeleteUser operation.

type DeleteUserParams

type DeleteUserParams struct {
	// Unique identifier associated with this request.
	XTraceID OptUUID
	// The user ID.
	ID string
}

DeleteUserParams is parameters of deleteUser operation.

type DeleteUserRes

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

type DeleteWebhookMessageAttemptNoContent

type DeleteWebhookMessageAttemptNoContent struct{}

DeleteWebhookMessageAttemptNoContent is response for DeleteWebhookMessageAttempt operation.

type DeleteWebhookMessageAttemptParams

type DeleteWebhookMessageAttemptParams struct {
	// Unique identifier associated with this request.
	XTraceID OptUUID
	// The webhook ID.
	ID string
	// The webhook message ID.
	MessageId int
	// The webhook message attempt ID.
	AttemptId int
}

DeleteWebhookMessageAttemptParams is parameters of deleteWebhookMessageAttempt operation.

type DeleteWebhookMessageAttemptRes

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

type DeleteWebhookMessageNoContent

type DeleteWebhookMessageNoContent struct{}

DeleteWebhookMessageNoContent is response for DeleteWebhookMessage operation.

type DeleteWebhookMessageParams

type DeleteWebhookMessageParams struct {
	// Unique identifier associated with this request.
	XTraceID OptUUID
	// The webhook ID.
	ID string
	// The webhook message ID.
	MessageId int
}

DeleteWebhookMessageParams is parameters of deleteWebhookMessage operation.

type DeleteWebhookMessageRes

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

type DeleteWebhookNoContent

type DeleteWebhookNoContent struct{}

DeleteWebhookNoContent is response for DeleteWebhook operation.

type DeleteWebhookParams

type DeleteWebhookParams struct {
	// Unique identifier associated with this request.
	XTraceID OptUUID
	// The webhook ID.
	ID string
}

DeleteWebhookParams is parameters of deleteWebhook operation.

type DeleteWebhookRes

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

type DestroyDataNoContent

type DestroyDataNoContent struct{}

DestroyDataNoContent is response for DestroyData operation.

type DestroyDataParams

type DestroyDataParams struct {
	// Unique identifier associated with this request.
	XTraceID OptUUID
	// The type of data that you wish to destroy. You can only use one at a time.
	Objects DataDestroyObject
}

DestroyDataParams is parameters of destroyData operation.

type DestroyDataRes

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

type DisableCurrencyConflict

type DisableCurrencyConflict struct{}

DisableCurrencyConflict is response for DisableCurrency operation.

type DisableCurrencyParams

type DisableCurrencyParams struct {
	// Unique identifier associated with this request.
	XTraceID OptUUID
	// The currency code.
	Code string
}

DisableCurrencyParams is parameters of disableCurrency operation.

type DisableCurrencyRes

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

type DownloadAttachmentOK

type DownloadAttachmentOK struct {
	Data io.Reader
}

func (DownloadAttachmentOK) Read

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

Read reads data from the Data reader.

Kept to satisfy the io.Reader interface.

type DownloadAttachmentParams

type DownloadAttachmentParams struct {
	// Unique identifier associated with this request.
	XTraceID OptUUID
	// The ID of the attachment.
	ID string
}

DownloadAttachmentParams is parameters of downloadAttachment operation.

type DownloadAttachmentRes

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

type EnableCurrencyParams

type EnableCurrencyParams struct {
	// Unique identifier associated with this request.
	XTraceID OptUUID
	// The currency code.
	Code string
}

EnableCurrencyParams is parameters of enableCurrency operation.

type EnableCurrencyRes

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

type ExportAccountsOK

type ExportAccountsOK struct {
	Data io.Reader
}

func (ExportAccountsOK) Read

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

Read reads data from the Data reader.

Kept to satisfy the io.Reader interface.

type ExportAccountsParams

type ExportAccountsParams struct {
	// Unique identifier associated with this request.
	XTraceID OptUUID
	// The file type the export file (CSV is currently the only option).
	Type OptExportFileFilter
}

ExportAccountsParams is parameters of exportAccounts operation.

type ExportAccountsRes

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

type ExportBillsOK

type ExportBillsOK struct {
	Data io.Reader
}

func (ExportBillsOK) Read

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

Read reads data from the Data reader.

Kept to satisfy the io.Reader interface.

type ExportBillsParams

type ExportBillsParams struct {
	// Unique identifier associated with this request.
	XTraceID OptUUID
	// The file type the export file (CSV is currently the only option).
	Type OptExportFileFilter
}

ExportBillsParams is parameters of exportBills operation.

type ExportBillsRes

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

type ExportBudgetsOK

type ExportBudgetsOK struct {
	Data io.Reader
}

func (ExportBudgetsOK) Read

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

Read reads data from the Data reader.

Kept to satisfy the io.Reader interface.

type ExportBudgetsParams

type ExportBudgetsParams struct {
	// Unique identifier associated with this request.
	XTraceID OptUUID
	// The file type the export file (CSV is currently the only option).
	Type OptExportFileFilter
}

ExportBudgetsParams is parameters of exportBudgets operation.

type ExportBudgetsRes

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

type ExportCategoriesOK

type ExportCategoriesOK struct {
	Data io.Reader
}

func (ExportCategoriesOK) Read

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

Read reads data from the Data reader.

Kept to satisfy the io.Reader interface.

type ExportCategoriesParams

type ExportCategoriesParams struct {
	// Unique identifier associated with this request.
	XTraceID OptUUID
	// The file type the export file (CSV is currently the only option).
	Type OptExportFileFilter
}

ExportCategoriesParams is parameters of exportCategories operation.

type ExportCategoriesRes

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

type ExportFileFilter

type ExportFileFilter string

Ref: #/components/schemas/ExportFileFilter

const (
	ExportFileFilterCsv ExportFileFilter = "csv"
)

func (ExportFileFilter) AllValues

func (ExportFileFilter) AllValues() []ExportFileFilter

AllValues returns all ExportFileFilter values.

func (ExportFileFilter) MarshalText

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

MarshalText implements encoding.TextMarshaler.

func (*ExportFileFilter) UnmarshalText

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

UnmarshalText implements encoding.TextUnmarshaler.

func (ExportFileFilter) Validate

func (s ExportFileFilter) Validate() error

type ExportPiggiesOK

type ExportPiggiesOK struct {
	Data io.Reader
}

func (ExportPiggiesOK) Read

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

Read reads data from the Data reader.

Kept to satisfy the io.Reader interface.

type ExportPiggiesParams

type ExportPiggiesParams struct {
	// Unique identifier associated with this request.
	XTraceID OptUUID
	// The file type the export file (CSV is currently the only option).
	Type OptExportFileFilter
}

ExportPiggiesParams is parameters of exportPiggies operation.

type ExportPiggiesRes

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

type ExportRecurringOK

type ExportRecurringOK struct {
	Data io.Reader
}

func (ExportRecurringOK) Read

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

Read reads data from the Data reader.

Kept to satisfy the io.Reader interface.

type ExportRecurringParams

type ExportRecurringParams struct {
	// Unique identifier associated with this request.
	XTraceID OptUUID
	// The file type the export file (CSV is currently the only option).
	Type OptExportFileFilter
}

ExportRecurringParams is parameters of exportRecurring operation.

type ExportRecurringRes

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

type ExportRulesOK

type ExportRulesOK struct {
	Data io.Reader
}

func (ExportRulesOK) Read

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

Read reads data from the Data reader.

Kept to satisfy the io.Reader interface.

type ExportRulesParams

type ExportRulesParams struct {
	// Unique identifier associated with this request.
	XTraceID OptUUID
	// The file type the export file (CSV is currently the only option).
	Type OptExportFileFilter
}

ExportRulesParams is parameters of exportRules operation.

type ExportRulesRes

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

type ExportTagsOK

type ExportTagsOK struct {
	Data io.Reader
}

func (ExportTagsOK) Read

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

Read reads data from the Data reader.

Kept to satisfy the io.Reader interface.

type ExportTagsParams

type ExportTagsParams struct {
	// Unique identifier associated with this request.
	XTraceID OptUUID
	// The file type the export file (CSV is currently the only option).
	Type OptExportFileFilter
}

ExportTagsParams is parameters of exportTags operation.

type ExportTagsRes

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

type ExportTransactionsOK

type ExportTransactionsOK struct {
	Data io.Reader
}

func (ExportTransactionsOK) Read

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

Read reads data from the Data reader.

Kept to satisfy the io.Reader interface.

type ExportTransactionsParams

type ExportTransactionsParams struct {
	// Unique identifier associated with this request.
	XTraceID OptUUID
	// A date formatted YYYY-MM-DD.
	Start time.Time
	// A date formatted YYYY-MM-DD.
	End time.Time
	// Limit the export of transactions to these accounts only. Only asset accounts will be accepted.
	// Other types will be silently dropped.
	Accounts OptString
	// The file type the export file (CSV is currently the only option).
	Type OptExportFileFilter
}

ExportTransactionsParams is parameters of exportTransactions operation.

type ExportTransactionsRes

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

type FireRuleGroupNoContent

type FireRuleGroupNoContent struct{}

FireRuleGroupNoContent is response for FireRuleGroup operation.

type FireRuleGroupParams

type FireRuleGroupParams struct {
	// Unique identifier associated with this request.
	XTraceID OptUUID
	// The ID of the rule group.
	ID string
	// A date formatted YYYY-MM-DD, to limit the transactions the actions will be applied to. Both the
	// start date and the end date must be present.
	Start OptDate
	// A date formatted YYYY-MM-DD, to limit the transactions the actions will be applied to. Both the
	// start date and the end date must be present.
	End OptDate
	// Limit the triggering of the rule group to these asset accounts or liabilities. Only asset accounts
	// and liabilities will be accepted. Other types will be silently dropped.
	Accounts []int64
}

FireRuleGroupParams is parameters of fireRuleGroup operation.

type FireRuleGroupRes

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

type FireRuleNoContent

type FireRuleNoContent struct{}

FireRuleNoContent is response for FireRule operation.

type FireRuleParams

type FireRuleParams struct {
	// Unique identifier associated with this request.
	XTraceID OptUUID
	// The ID of the rule.
	ID string
	// A date formatted YYYY-MM-DD, to limit the transactions the actions will be applied to. If the
	// start date is not present, it will be set to one year ago. If you use this field, both the start
	// date and the end date must be present.
	Start OptDate
	// A date formatted YYYY-MM-DD, to limit the transactions the actions will be applied to. If the end
	// date is not present, it will be set to today. If you use this field, both the start date and the
	// end date must be present.
	End OptDate
	// Limit the triggering of the rule to these asset accounts or liabilities. Only asset accounts and
	// liabilities will be accepted. Other types will be silently dropped.
	Accounts []int64
}

FireRuleParams is parameters of fireRule operation.

type FireRuleRes

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

type FireflyIiiAuth

type FireflyIiiAuth struct {
	Token  string
	Scopes []string
}

func (*FireflyIiiAuth) GetScopes

func (s *FireflyIiiAuth) GetScopes() []string

GetScopes returns the value of Scopes.

func (*FireflyIiiAuth) GetToken

func (s *FireflyIiiAuth) GetToken() string

GetToken returns the value of Token.

func (*FireflyIiiAuth) SetScopes

func (s *FireflyIiiAuth) SetScopes(val []string)

SetScopes sets the value of Scopes.

func (*FireflyIiiAuth) SetToken

func (s *FireflyIiiAuth) SetToken(val string)

SetToken sets the value of Token.

type GetAboutParams

type GetAboutParams struct {
	// Unique identifier associated with this request.
	XTraceID OptUUID
}

GetAboutParams is parameters of getAbout operation.

type GetAboutRes

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

type GetAccountParams

type GetAccountParams struct {
	// Unique identifier associated with this request.
	XTraceID OptUUID
	// The ID of the account.
	ID string
	// A date formatted YYYY-MM-DD. When added to the request, Firefly III will show the account's
	// balance on that day.
	Date OptDate
}

GetAccountParams is parameters of getAccount operation.

type GetAccountRes

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

type GetAccountsACParams

type GetAccountsACParams struct {
	// Unique identifier associated with this request.
	XTraceID OptUUID
	// The autocomplete search query.
	Query OptString
	// The number of items returned.
	Limit OptInt32
	// If the account is an asset account or a liability, the autocomplete will also return the balance
	// of the account on this date.
	Date OptString
	// Optional filter on the account type(s) used in the autocomplete.
	Types []AccountTypeFilter
}

GetAccountsACParams is parameters of getAccountsAC operation.

type GetAccountsACRes

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

type GetAttachmentParams

type GetAttachmentParams struct {
	// Unique identifier associated with this request.
	XTraceID OptUUID
	// The ID of the attachment.
	ID string
}

GetAttachmentParams is parameters of getAttachment operation.

type GetAttachmentRes

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

type GetAvailableBudgetParams

type GetAvailableBudgetParams struct {
	// Unique identifier associated with this request.
	XTraceID OptUUID
	// The ID of the available budget.
	ID string
}

GetAvailableBudgetParams is parameters of getAvailableBudget operation.

type GetAvailableBudgetRes

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

type GetBasicSummaryParams

type GetBasicSummaryParams struct {
	// Unique identifier associated with this request.
	XTraceID OptUUID
	// A date formatted YYYY-MM-DD.
	Start time.Time
	// A date formatted YYYY-MM-DD.
	End time.Time
	// A currency code like EUR or USD, to filter the result.
	CurrencyCode OptString
}

GetBasicSummaryParams is parameters of getBasicSummary operation.

type GetBasicSummaryRes

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

type GetBillParams

type GetBillParams struct {
	// Unique identifier associated with this request.
	XTraceID OptUUID
	// The ID of the bill.
	ID string
	// A date formatted YYYY-MM-DD. If it is are added to the request, Firefly III will calculate the
	// appropriate payment and paid dates.
	Start OptDate
	// A date formatted YYYY-MM-DD. If it is added to the request, Firefly III will calculate the
	// appropriate payment and paid dates.
	End OptDate
}

GetBillParams is parameters of getBill operation.

type GetBillRes

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

type GetBillsACParams

type GetBillsACParams struct {
	// Unique identifier associated with this request.
	XTraceID OptUUID
	// The autocomplete search query.
	Query OptString
	// The number of items returned.
	Limit OptInt32
}

GetBillsACParams is parameters of getBillsAC operation.

type GetBillsACRes

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

type GetBudgetLimitParams

type GetBudgetLimitParams struct {
	// Unique identifier associated with this request.
	XTraceID OptUUID
	// The ID of the budget. The budget limit MUST be associated to the budget ID.
	ID string
	// The ID of the budget limit. The budget limit MUST be associated to the budget ID.
	LimitId int
}

GetBudgetLimitParams is parameters of getBudgetLimit operation.

type GetBudgetLimitRes

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

type GetBudgetParams

type GetBudgetParams struct {
	// Unique identifier associated with this request.
	XTraceID OptUUID
	// The ID of the requested budget.
	ID string
	// A date formatted YYYY-MM-DD, to get info on how much the user has spent.
	Start OptDate
	// A date formatted YYYY-MM-DD, to get info on how much the user has spent.
	End OptDate
}

GetBudgetParams is parameters of getBudget operation.

type GetBudgetRes

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

type GetBudgetsACParams

type GetBudgetsACParams struct {
	// Unique identifier associated with this request.
	XTraceID OptUUID
	// The autocomplete search query.
	Query OptString
	// The number of items returned.
	Limit OptInt32
}

GetBudgetsACParams is parameters of getBudgetsAC operation.

type GetBudgetsACRes

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

type GetCategoriesACParams

type GetCategoriesACParams struct {
	// Unique identifier associated with this request.
	XTraceID OptUUID
	// The autocomplete search query.
	Query OptString
	// The number of items returned.
	Limit OptInt32
}

GetCategoriesACParams is parameters of getCategoriesAC operation.

type GetCategoriesACRes

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

type GetCategoryParams

type GetCategoryParams struct {
	// Unique identifier associated with this request.
	XTraceID OptUUID
	// The ID of the category.
	ID string
	// A date formatted YYYY-MM-DD, to show spent and earned info.
	Start OptDate
	// A date formatted YYYY-MM-DD, to show spent and earned info.
	End OptDate
}

GetCategoryParams is parameters of getCategory operation.

type GetCategoryRes

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

type GetChartAccountOverviewParams

type GetChartAccountOverviewParams struct {
	// Unique identifier associated with this request.
	XTraceID OptUUID
	// A date formatted YYYY-MM-DD.
	Start time.Time
	// A date formatted YYYY-MM-DD.
	End time.Time
}

GetChartAccountOverviewParams is parameters of getChartAccountOverview operation.

type GetChartAccountOverviewRes

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

type GetConfigurationParams

type GetConfigurationParams struct {
	// Unique identifier associated with this request.
	XTraceID OptUUID
}

GetConfigurationParams is parameters of getConfiguration operation.

type GetConfigurationRes

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

type GetCronParams

type GetCronParams struct {
	// Unique identifier associated with this request.
	XTraceID OptUUID
	// The CLI token of any user in Firefly III, required to run the cron jobs.
	CliToken string
	// A date formatted YYYY-MM-DD. This can be used to make the cron job pretend it's running
	// on another day.
	Date OptDate
	// Forces the cron job to fire, regardless of whether it has fired before. This may result
	// in double transactions or weird budgets, so be careful.
	Force OptBool
}

GetCronParams is parameters of getCron operation.

type GetCronRes

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

type GetCurrenciesACParams

type GetCurrenciesACParams struct {
	// Unique identifier associated with this request.
	XTraceID OptUUID
	// The autocomplete search query.
	Query OptString
	// The number of items returned.
	Limit OptInt32
}

GetCurrenciesACParams is parameters of getCurrenciesAC operation.

type GetCurrenciesACRes

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

type GetCurrenciesCodeACParams

type GetCurrenciesCodeACParams struct {
	// Unique identifier associated with this request.
	XTraceID OptUUID
	// The autocomplete search query.
	Query OptString
	// The number of items returned.
	Limit OptInt32
}

GetCurrenciesCodeACParams is parameters of getCurrenciesCodeAC operation.

type GetCurrenciesCodeACRes

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

type GetCurrencyParams

type GetCurrencyParams struct {
	// Unique identifier associated with this request.
	XTraceID OptUUID
	// The currency code.
	Code string
}

GetCurrencyParams is parameters of getCurrency operation.

type GetCurrencyRes

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

type GetCurrentUserParams

type GetCurrentUserParams struct {
	// Unique identifier associated with this request.
	XTraceID OptUUID
}

GetCurrentUserParams is parameters of getCurrentUser operation.

type GetCurrentUserRes

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

type GetDefaultCurrencyParams

type GetDefaultCurrencyParams struct {
	// Unique identifier associated with this request.
	XTraceID OptUUID
}

GetDefaultCurrencyParams is parameters of getDefaultCurrency operation.

type GetDefaultCurrencyRes

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

type GetLinkTypeParams

type GetLinkTypeParams struct {
	// Unique identifier associated with this request.
	XTraceID OptUUID
	// The ID of the link type.
	ID string
}

GetLinkTypeParams is parameters of getLinkType operation.

type GetLinkTypeRes

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

type GetObjectGroupParams

type GetObjectGroupParams struct {
	// Unique identifier associated with this request.
	XTraceID OptUUID
	// The ID of the object group.
	ID string
}

GetObjectGroupParams is parameters of getObjectGroup operation.

type GetObjectGroupRes

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

type GetObjectGroupsACParams

type GetObjectGroupsACParams struct {
	// Unique identifier associated with this request.
	XTraceID OptUUID
	// The autocomplete search query.
	Query OptString
	// The number of items returned.
	Limit OptInt32
}

GetObjectGroupsACParams is parameters of getObjectGroupsAC operation.

type GetObjectGroupsACRes

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

type GetPiggiesACParams

type GetPiggiesACParams struct {
	// Unique identifier associated with this request.
	XTraceID OptUUID
	// The autocomplete search query.
	Query OptString
	// The number of items returned.
	Limit OptInt32
}

GetPiggiesACParams is parameters of getPiggiesAC operation.

type GetPiggiesACRes

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

type GetPiggiesBalanceACParams

type GetPiggiesBalanceACParams struct {
	// Unique identifier associated with this request.
	XTraceID OptUUID
	// The autocomplete search query.
	Query OptString
	// The number of items returned.
	Limit OptInt32
}

GetPiggiesBalanceACParams is parameters of getPiggiesBalanceAC operation.

type GetPiggiesBalanceACRes

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

type GetPiggyBankParams

type GetPiggyBankParams struct {
	// Unique identifier associated with this request.
	XTraceID OptUUID
	// The ID of the piggy bank.
	ID string
}

GetPiggyBankParams is parameters of getPiggyBank operation.

type GetPiggyBankRes

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

type GetPreferenceParams

type GetPreferenceParams struct {
	// Unique identifier associated with this request.
	XTraceID OptUUID
	// The name of the preference.
	Name string
}

GetPreferenceParams is parameters of getPreference operation.

type GetPreferenceRes

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

type GetRecurrenceParams

type GetRecurrenceParams struct {
	// Unique identifier associated with this request.
	XTraceID OptUUID
	// The ID of the recurring transaction.
	ID string
}

GetRecurrenceParams is parameters of getRecurrence operation.

type GetRecurrenceRes

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

type GetRecurringACParams

type GetRecurringACParams struct {
	// Unique identifier associated with this request.
	XTraceID OptUUID
	// The autocomplete search query.
	Query OptString
	// The number of items returned.
	Limit OptInt32
}

GetRecurringACParams is parameters of getRecurringAC operation.

type GetRecurringACRes

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

type GetRuleGroupParams

type GetRuleGroupParams struct {
	// Unique identifier associated with this request.
	XTraceID OptUUID
	// The ID of the rule group.
	ID string
}

GetRuleGroupParams is parameters of getRuleGroup operation.

type GetRuleGroupRes

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

type GetRuleGroupsACParams

type GetRuleGroupsACParams struct {
	// Unique identifier associated with this request.
	XTraceID OptUUID
	// The autocomplete search query.
	Query OptString
	// The number of items returned.
	Limit OptInt32
}

GetRuleGroupsACParams is parameters of getRuleGroupsAC operation.

type GetRuleGroupsACRes

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

type GetRuleParams

type GetRuleParams struct {
	// Unique identifier associated with this request.
	XTraceID OptUUID
	// The ID of the object.
	ID string
}

GetRuleParams is parameters of getRule operation.

type GetRuleRes

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

type GetRulesACParams

type GetRulesACParams struct {
	// Unique identifier associated with this request.
	XTraceID OptUUID
	// The autocomplete search query.
	Query OptString
	// The number of items returned.
	Limit OptInt32
}

GetRulesACParams is parameters of getRulesAC operation.

type GetRulesACRes

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

type GetSingleConfigurationParams

type GetSingleConfigurationParams struct {
	// Unique identifier associated with this request.
	XTraceID OptUUID
	// The name of the configuration value you want to know.
	Name ConfigValueFilter
}

GetSingleConfigurationParams is parameters of getSingleConfiguration operation.

type GetSingleConfigurationRes

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

type GetSingleWebhookMessageAttemptParams

type GetSingleWebhookMessageAttemptParams struct {
	// Unique identifier associated with this request.
	XTraceID OptUUID
	// The webhook ID.
	ID string
	// The webhook message ID.
	MessageId int
	// The webhook attempt ID.
	AttemptId int
}

GetSingleWebhookMessageAttemptParams is parameters of getSingleWebhookMessageAttempt operation.

type GetSingleWebhookMessageAttemptRes

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

type GetSingleWebhookMessageParams

type GetSingleWebhookMessageParams struct {
	// Unique identifier associated with this request.
	XTraceID OptUUID
	// The webhook ID.
	ID string
	// The webhook message ID.
	MessageId int
}

GetSingleWebhookMessageParams is parameters of getSingleWebhookMessage operation.

type GetSingleWebhookMessageRes

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

type GetTagACParams

type GetTagACParams struct {
	// Unique identifier associated with this request.
	XTraceID OptUUID
	// The autocomplete search query.
	Query OptString
	// The number of items returned.
	Limit OptInt32
}

GetTagACParams is parameters of getTagAC operation.

type GetTagACRes

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

type GetTagParams

type GetTagParams struct {
	// Unique identifier associated with this request.
	XTraceID OptUUID
	// Either the tag itself or the tag ID. If you use the tag itself, and it contains international
	// (non-ASCII) characters, your milage may vary.
	Tag string
	// Page number.
	Page OptInt
}

GetTagParams is parameters of getTag operation.

type GetTagRes

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

type GetTransactionByJournalParams

type GetTransactionByJournalParams struct {
	// Unique identifier associated with this request.
	XTraceID OptUUID
	// The ID of the transaction journal (split).
	ID string
}

GetTransactionByJournalParams is parameters of getTransactionByJournal operation.

type GetTransactionByJournalRes

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

type GetTransactionLinkParams

type GetTransactionLinkParams struct {
	// Unique identifier associated with this request.
	XTraceID OptUUID
	// The ID of the transaction link.
	ID string
}

GetTransactionLinkParams is parameters of getTransactionLink operation.

type GetTransactionLinkRes

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

type GetTransactionParams

type GetTransactionParams struct {
	// Unique identifier associated with this request.
	XTraceID OptUUID
	// The ID of the transaction.
	ID string
}

GetTransactionParams is parameters of getTransaction operation.

type GetTransactionRes

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

type GetTransactionTypesACParams

type GetTransactionTypesACParams struct {
	// Unique identifier associated with this request.
	XTraceID OptUUID
	// The autocomplete search query.
	Query OptString
	// The number of items returned.
	Limit OptInt32
}

GetTransactionTypesACParams is parameters of getTransactionTypesAC operation.

type GetTransactionTypesACRes

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

type GetTransactionsACParams

type GetTransactionsACParams struct {
	// Unique identifier associated with this request.
	XTraceID OptUUID
	// The autocomplete search query.
	Query OptString
	// The number of items returned.
	Limit OptInt32
}

GetTransactionsACParams is parameters of getTransactionsAC operation.

type GetTransactionsACRes

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

type GetTransactionsIDACParams

type GetTransactionsIDACParams struct {
	// Unique identifier associated with this request.
	XTraceID OptUUID
	// The autocomplete search query.
	Query OptString
	// The number of items returned.
	Limit OptInt32
}

GetTransactionsIDACParams is parameters of getTransactionsIDAC operation.

type GetTransactionsIDACRes

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

type GetUserParams

type GetUserParams struct {
	// Unique identifier associated with this request.
	XTraceID OptUUID
	// The user ID.
	ID string
}

GetUserParams is parameters of getUser operation.

type GetUserRes

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

type GetWebhookMessageAttemptsParams

type GetWebhookMessageAttemptsParams struct {
	// Unique identifier associated with this request.
	XTraceID OptUUID
	// The webhook ID.
	ID string
	// The webhook message ID.
	MessageId int
	// Page number. The default pagination is per 50 items.
	Page OptInt32
}

GetWebhookMessageAttemptsParams is parameters of getWebhookMessageAttempts operation.

type GetWebhookMessageAttemptsRes

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

type GetWebhookMessagesParams

type GetWebhookMessagesParams struct {
	// Unique identifier associated with this request.
	XTraceID OptUUID
	// The webhook ID.
	ID string
}

GetWebhookMessagesParams is parameters of getWebhookMessages operation.

type GetWebhookMessagesRes

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

type GetWebhookParams

type GetWebhookParams struct {
	// Unique identifier associated with this request.
	XTraceID OptUUID
	// The webhook ID.
	ID string
}

GetWebhookParams is parameters of getWebhook operation.

type GetWebhookRes

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

type InsightExpenseAssetParams

type InsightExpenseAssetParams struct {
	// Unique identifier associated with this request.
	XTraceID OptUUID
	// A date formatted YYYY-MM-DD.
	Start time.Time
	// A date formatted YYYY-MM-DD.
	End time.Time
	// The accounts to be included in the results. If you include ID's of asset accounts or liabilities,
	// only withdrawals from those
	// asset accounts / liabilities will be included. Other account ID's will be ignored.
	Accounts []int64
}

InsightExpenseAssetParams is parameters of insightExpenseAsset operation.

type InsightExpenseAssetRes

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

type InsightExpenseBillParams

type InsightExpenseBillParams struct {
	// Unique identifier associated with this request.
	XTraceID OptUUID
	// A date formatted YYYY-MM-DD.
	Start time.Time
	// A date formatted YYYY-MM-DD.
	End time.Time
	// The bills to be included in the results.
	Bills []int64
	// The accounts to be included in the results. If you include ID's of asset accounts or liabilities,
	// only withdrawals from those
	// asset accounts / liabilities will be included. Other account ID's will be ignored.
	Accounts []int64
}

InsightExpenseBillParams is parameters of insightExpenseBill operation.

type InsightExpenseBillRes

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

type InsightExpenseBudgetParams

type InsightExpenseBudgetParams struct {
	// Unique identifier associated with this request.
	XTraceID OptUUID
	// A date formatted YYYY-MM-DD.
	Start time.Time
	// A date formatted YYYY-MM-DD.
	End time.Time
	// The budgets to be included in the results.
	Budgets []int64
	// The accounts to be included in the results. If you include ID's of asset accounts or liabilities,
	// only withdrawals from those
	// asset accounts / liabilities will be included. Other account ID's will be ignored.
	Accounts []int64
}

InsightExpenseBudgetParams is parameters of insightExpenseBudget operation.

type InsightExpenseBudgetRes

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

type InsightExpenseCategoryParams

type InsightExpenseCategoryParams struct {
	// Unique identifier associated with this request.
	XTraceID OptUUID
	// A date formatted YYYY-MM-DD.
	Start time.Time
	// A date formatted YYYY-MM-DD.
	End time.Time
	// The categories to be included in the results.
	Categories []int64
	// The accounts to be included in the results. If you include ID's of asset accounts or liabilities,
	// only withdrawals from those
	// asset accounts / liabilities will be included. Other account ID's will be ignored.
	Accounts []int64
}

InsightExpenseCategoryParams is parameters of insightExpenseCategory operation.

type InsightExpenseCategoryRes

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

type InsightExpenseExpenseParams

type InsightExpenseExpenseParams struct {
	// Unique identifier associated with this request.
	XTraceID OptUUID
	// A date formatted YYYY-MM-DD.
	Start time.Time
	// A date formatted YYYY-MM-DD.
	End time.Time
	// The accounts to be included in the results. If you add the accounts ID's of expense accounts, only
	// those accounts
	// are included in the results. If you include ID's of asset accounts or liabilities, only
	// withdrawals from those
	// asset accounts / liabilities will be included. You can combine both asset / liability and expense
	// account ID's.
	// Other account ID's will be ignored.
	Accounts []int64
}

InsightExpenseExpenseParams is parameters of insightExpenseExpense operation.

type InsightExpenseExpenseRes

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

type InsightExpenseNoBillParams

type InsightExpenseNoBillParams struct {
	// Unique identifier associated with this request.
	XTraceID OptUUID
	// A date formatted YYYY-MM-DD.
	Start time.Time
	// A date formatted YYYY-MM-DD.
	End time.Time
	// The accounts to be included in the results. If you include ID's of asset accounts or liabilities,
	// only withdrawals from those
	// asset accounts / liabilities will be included. Other account ID's will be ignored.
	Accounts []int64
}

InsightExpenseNoBillParams is parameters of insightExpenseNoBill operation.

type InsightExpenseNoBillRes

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

type InsightExpenseNoBudgetParams

type InsightExpenseNoBudgetParams struct {
	// Unique identifier associated with this request.
	XTraceID OptUUID
	// A date formatted YYYY-MM-DD.
	Start time.Time
	// A date formatted YYYY-MM-DD.
	End time.Time
	// The accounts to be included in the results. If you include ID's of asset accounts or liabilities,
	// only withdrawals from those
	// asset accounts / liabilities will be included. Other account ID's will be ignored.
	Accounts []int64
}

InsightExpenseNoBudgetParams is parameters of insightExpenseNoBudget operation.

type InsightExpenseNoBudgetRes

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

type InsightExpenseNoCategoryParams

type InsightExpenseNoCategoryParams struct {
	// Unique identifier associated with this request.
	XTraceID OptUUID
	// A date formatted YYYY-MM-DD.
	Start time.Time
	// A date formatted YYYY-MM-DD.
	End time.Time
	// The accounts to be included in the results. If you include ID's of asset accounts or liabilities,
	// only withdrawals from those
	// asset accounts / liabilities will be included. Other account ID's will be ignored.
	Accounts []int64
}

InsightExpenseNoCategoryParams is parameters of insightExpenseNoCategory operation.

type InsightExpenseNoCategoryRes

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

type InsightExpenseNoTagParams

type InsightExpenseNoTagParams struct {
	// Unique identifier associated with this request.
	XTraceID OptUUID
	// A date formatted YYYY-MM-DD.
	Start time.Time
	// A date formatted YYYY-MM-DD.
	End time.Time
	// The accounts to be included in the results. If you include ID's of asset accounts or liabilities,
	// only withdrawals from those
	// asset accounts / liabilities will be included. Other account ID's will be ignored.
	Accounts []int64
}

InsightExpenseNoTagParams is parameters of insightExpenseNoTag operation.

type InsightExpenseNoTagRes

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

type InsightExpenseTagParams

type InsightExpenseTagParams struct {
	// Unique identifier associated with this request.
	XTraceID OptUUID
	// A date formatted YYYY-MM-DD.
	Start time.Time
	// A date formatted YYYY-MM-DD.
	End time.Time
	// The tags to be included in the results.
	Tags []int64
	// The accounts to be included in the results. If you include ID's of asset accounts or liabilities,
	// only withdrawals from those
	// asset accounts / liabilities will be included. Other account ID's will be ignored.
	Accounts []int64
}

InsightExpenseTagParams is parameters of insightExpenseTag operation.

type InsightExpenseTagRes

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

type InsightExpenseTotalParams

type InsightExpenseTotalParams struct {
	// Unique identifier associated with this request.
	XTraceID OptUUID
	// A date formatted YYYY-MM-DD.
	Start time.Time
	// A date formatted YYYY-MM-DD.
	End time.Time
	// The accounts to be included in the results. If you include ID's of asset accounts or liabilities,
	// only withdrawals from those
	// asset accounts / liabilities will be included. Other account ID's will be ignored.
	Accounts []int64
}

InsightExpenseTotalParams is parameters of insightExpenseTotal operation.

type InsightExpenseTotalRes

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

type InsightGroup

type InsightGroup []InsightGroupEntry

func (*InsightGroup) Decode

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

Decode decodes InsightGroup from json.

func (InsightGroup) Encode

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

Encode encodes InsightGroup as json.

func (InsightGroup) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*InsightGroup) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

func (InsightGroup) Validate

func (s InsightGroup) Validate() error

type InsightGroupEntry

type InsightGroupEntry struct {
	// This ID is a reference to the original object.
	ID OptString `json:"id"`
	// This is the name of the object.
	Name OptString `json:"name"`
	// The amount spent or earned between start date and end date, a number defined as a string, for this
	// object and all asset accounts.
	Difference OptString `json:"difference"`
	// The amount spent or earned between start date and end date, a number as a float, for this object
	// and all asset accounts. May have rounding errors.
	DifferenceFloat OptFloat64 `json:"difference_float"`
	// The currency ID of the expenses listed for this account.
	CurrencyID OptString `json:"currency_id"`
	// The currency code of the expenses listed for this account.
	CurrencyCode OptString `json:"currency_code"`
}

Ref: #/components/schemas/InsightGroupEntry

func (*InsightGroupEntry) Decode

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

Decode decodes InsightGroupEntry from json.

func (*InsightGroupEntry) Encode

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

Encode implements json.Marshaler.

func (*InsightGroupEntry) GetCurrencyCode

func (s *InsightGroupEntry) GetCurrencyCode() OptString

GetCurrencyCode returns the value of CurrencyCode.

func (*InsightGroupEntry) GetCurrencyID

func (s *InsightGroupEntry) GetCurrencyID() OptString

GetCurrencyID returns the value of CurrencyID.

func (*InsightGroupEntry) GetDifference

func (s *InsightGroupEntry) GetDifference() OptString

GetDifference returns the value of Difference.

func (*InsightGroupEntry) GetDifferenceFloat

func (s *InsightGroupEntry) GetDifferenceFloat() OptFloat64

GetDifferenceFloat returns the value of DifferenceFloat.

func (*InsightGroupEntry) GetID

func (s *InsightGroupEntry) GetID() OptString

GetID returns the value of ID.

func (*InsightGroupEntry) GetName

func (s *InsightGroupEntry) GetName() OptString

GetName returns the value of Name.

func (*InsightGroupEntry) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*InsightGroupEntry) SetCurrencyCode

func (s *InsightGroupEntry) SetCurrencyCode(val OptString)

SetCurrencyCode sets the value of CurrencyCode.

func (*InsightGroupEntry) SetCurrencyID

func (s *InsightGroupEntry) SetCurrencyID(val OptString)

SetCurrencyID sets the value of CurrencyID.

func (*InsightGroupEntry) SetDifference

func (s *InsightGroupEntry) SetDifference(val OptString)

SetDifference sets the value of Difference.

func (*InsightGroupEntry) SetDifferenceFloat

func (s *InsightGroupEntry) SetDifferenceFloat(val OptFloat64)

SetDifferenceFloat sets the value of DifferenceFloat.

func (*InsightGroupEntry) SetID

func (s *InsightGroupEntry) SetID(val OptString)

SetID sets the value of ID.

func (*InsightGroupEntry) SetName

func (s *InsightGroupEntry) SetName(val OptString)

SetName sets the value of Name.

func (*InsightGroupEntry) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

func (*InsightGroupEntry) Validate

func (s *InsightGroupEntry) Validate() error

type InsightIncomeAssetParams

type InsightIncomeAssetParams struct {
	// Unique identifier associated with this request.
	XTraceID OptUUID
	// A date formatted YYYY-MM-DD.
	Start time.Time
	// A date formatted YYYY-MM-DD.
	End time.Time
	// The accounts to be included in the results. If you include ID's of asset accounts or liabilities,
	// only deposits to those
	// asset accounts / liabilities will be included. Other account ID's will be ignored.
	Accounts []int64
}

InsightIncomeAssetParams is parameters of insightIncomeAsset operation.

type InsightIncomeAssetRes

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

type InsightIncomeCategoryParams

type InsightIncomeCategoryParams struct {
	// Unique identifier associated with this request.
	XTraceID OptUUID
	// A date formatted YYYY-MM-DD.
	Start time.Time
	// A date formatted YYYY-MM-DD.
	End time.Time
	// The categories to be included in the results.
	Categories []int64
	// The accounts to be included in the results. If you include ID's of asset accounts or liabilities,
	// only deposits to those
	// asset accounts / liabilities will be included. Other account ID's will be ignored.
	Accounts []int64
}

InsightIncomeCategoryParams is parameters of insightIncomeCategory operation.

type InsightIncomeCategoryRes

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

type InsightIncomeNoCategoryParams

type InsightIncomeNoCategoryParams struct {
	// Unique identifier associated with this request.
	XTraceID OptUUID
	// A date formatted YYYY-MM-DD.
	Start time.Time
	// A date formatted YYYY-MM-DD.
	End time.Time
	// The accounts to be included in the results. If you include ID's of asset accounts or liabilities,
	// only deposits to those
	// asset accounts / liabilities will be included. Other account ID's will be ignored.
	Accounts []int64
}

InsightIncomeNoCategoryParams is parameters of insightIncomeNoCategory operation.

type InsightIncomeNoCategoryRes

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

type InsightIncomeNoTagParams

type InsightIncomeNoTagParams struct {
	// Unique identifier associated with this request.
	XTraceID OptUUID
	// A date formatted YYYY-MM-DD.
	Start time.Time
	// A date formatted YYYY-MM-DD.
	End time.Time
	// The accounts to be included in the results. If you include ID's of asset accounts or liabilities,
	// only deposits to those
	// asset accounts / liabilities will be included. Other account ID's will be ignored.
	Accounts []int64
}

InsightIncomeNoTagParams is parameters of insightIncomeNoTag operation.

type InsightIncomeNoTagRes

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

type InsightIncomeRevenueParams

type InsightIncomeRevenueParams struct {
	// Unique identifier associated with this request.
	XTraceID OptUUID
	// A date formatted YYYY-MM-DD.
	Start time.Time
	// A date formatted YYYY-MM-DD.
	End time.Time
	// The accounts to be included in the results. If you add the accounts ID's of revenue accounts, only
	// those accounts
	// are included in the results. If you include ID's of asset accounts or liabilities, only deposits
	// to those
	// asset accounts / liabilities will be included. You can combine both asset / liability and deposit
	// account ID's.
	// Other account ID's will be ignored.
	Accounts []int64
}

InsightIncomeRevenueParams is parameters of insightIncomeRevenue operation.

type InsightIncomeRevenueRes

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

type InsightIncomeTagParams

type InsightIncomeTagParams struct {
	// Unique identifier associated with this request.
	XTraceID OptUUID
	// A date formatted YYYY-MM-DD.
	Start time.Time
	// A date formatted YYYY-MM-DD.
	End time.Time
	// The tags to be included in the results.
	Tags []int64
	// The accounts to be included in the results. If you include ID's of asset accounts or liabilities,
	// only deposits to those
	// asset accounts / liabilities will be included. Other account ID's will be ignored.
	Accounts []int64
}

InsightIncomeTagParams is parameters of insightIncomeTag operation.

type InsightIncomeTagRes

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

type InsightIncomeTotalParams

type InsightIncomeTotalParams struct {
	// Unique identifier associated with this request.
	XTraceID OptUUID
	// A date formatted YYYY-MM-DD.
	Start time.Time
	// A date formatted YYYY-MM-DD.
	End time.Time
	// The accounts to be included in the results. If you include ID's of asset accounts or liabilities,
	// only deposits to those
	// asset accounts / liabilities will be included. Other account ID's will be ignored.
	Accounts []int64
}

InsightIncomeTotalParams is parameters of insightIncomeTotal operation.

type InsightIncomeTotalRes

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

type InsightTotal

type InsightTotal []InsightTotalEntry

func (*InsightTotal) Decode

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

Decode decodes InsightTotal from json.

func (InsightTotal) Encode

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

Encode encodes InsightTotal as json.

func (InsightTotal) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*InsightTotal) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

func (InsightTotal) Validate

func (s InsightTotal) Validate() error

type InsightTotalEntry

type InsightTotalEntry struct {
	// The amount spent between start date and end date, defined as a string, for this expense account
	// and all asset accounts.
	Difference OptString `json:"difference"`
	// The amount spent between start date and end date, defined as a string, for this expense account
	// and all asset accounts. This number is a float (double) and may have rounding errors.
	DifferenceFloat OptFloat64 `json:"difference_float"`
	// The currency ID of the expenses listed for this expense account.
	CurrencyID OptString `json:"currency_id"`
	// The currency code of the expenses listed for this expense account.
	CurrencyCode OptString `json:"currency_code"`
}

Ref: #/components/schemas/InsightTotalEntry

func (*InsightTotalEntry) Decode

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

Decode decodes InsightTotalEntry from json.

func (*InsightTotalEntry) Encode

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

Encode implements json.Marshaler.

func (*InsightTotalEntry) GetCurrencyCode

func (s *InsightTotalEntry) GetCurrencyCode() OptString

GetCurrencyCode returns the value of CurrencyCode.

func (*InsightTotalEntry) GetCurrencyID

func (s *InsightTotalEntry) GetCurrencyID() OptString

GetCurrencyID returns the value of CurrencyID.

func (*InsightTotalEntry) GetDifference

func (s *InsightTotalEntry) GetDifference() OptString

GetDifference returns the value of Difference.

func (*InsightTotalEntry) GetDifferenceFloat

func (s *InsightTotalEntry) GetDifferenceFloat() OptFloat64

GetDifferenceFloat returns the value of DifferenceFloat.

func (*InsightTotalEntry) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*InsightTotalEntry) SetCurrencyCode

func (s *InsightTotalEntry) SetCurrencyCode(val OptString)

SetCurrencyCode sets the value of CurrencyCode.

func (*InsightTotalEntry) SetCurrencyID

func (s *InsightTotalEntry) SetCurrencyID(val OptString)

SetCurrencyID sets the value of CurrencyID.

func (*InsightTotalEntry) SetDifference

func (s *InsightTotalEntry) SetDifference(val OptString)

SetDifference sets the value of Difference.

func (*InsightTotalEntry) SetDifferenceFloat

func (s *InsightTotalEntry) SetDifferenceFloat(val OptFloat64)

SetDifferenceFloat sets the value of DifferenceFloat.

func (*InsightTotalEntry) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

func (*InsightTotalEntry) Validate

func (s *InsightTotalEntry) Validate() error

type InsightTransfer

type InsightTransfer []InsightTransferEntry

func (*InsightTransfer) Decode

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

Decode decodes InsightTransfer from json.

func (InsightTransfer) Encode

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

Encode encodes InsightTransfer as json.

func (InsightTransfer) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*InsightTransfer) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

func (InsightTransfer) Validate

func (s InsightTransfer) Validate() error

type InsightTransferCategoryParams

type InsightTransferCategoryParams struct {
	// Unique identifier associated with this request.
	XTraceID OptUUID
	// A date formatted YYYY-MM-DD.
	Start time.Time
	// A date formatted YYYY-MM-DD.
	End time.Time
	// The categories to be included in the results.
	Categories []int64
	// The accounts to be included in the results. If you include ID's of asset accounts or liabilities,
	// only transfers between those
	// asset accounts / liabilities will be included. Other account ID's will be ignored.
	Accounts []int64
}

InsightTransferCategoryParams is parameters of insightTransferCategory operation.

type InsightTransferCategoryRes

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

type InsightTransferEntry

type InsightTransferEntry struct {
	// This ID is a reference to the original object.
	ID OptString `json:"id"`
	// This is the name of the object.
	Name OptString `json:"name"`
	// The total amount transferred between start date and end date, a number defined as a string, for
	// this asset account.
	Difference OptString `json:"difference"`
	// The total amount transferred between start date and end date, a number as a float, for this asset
	// account. May have rounding errors.
	DifferenceFloat OptFloat64 `json:"difference_float"`
	// The total amount transferred TO this account between start date and end date, a number defined as
	// a string, for this asset account.
	In OptString `json:"in"`
	// The total amount transferred FROM this account between start date and end date, a number as a
	// float, for this asset account. May have rounding errors.
	InFloat OptFloat64 `json:"in_float"`
	// The total amount transferred FROM this account between start date and end date, a number defined
	// as a string, for this asset account.
	Out OptString `json:"out"`
	// The total amount transferred TO this account between start date and end date, a number as a float,
	// for this asset account. May have rounding errors.
	OutFloat OptFloat64 `json:"out_float"`
	// The currency ID of the expenses listed for this account.
	CurrencyID OptString `json:"currency_id"`
	// The currency code of the expenses listed for this account.
	CurrencyCode OptString `json:"currency_code"`
}

Ref: #/components/schemas/InsightTransferEntry

func (*InsightTransferEntry) Decode

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

Decode decodes InsightTransferEntry from json.

func (*InsightTransferEntry) Encode

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

Encode implements json.Marshaler.

func (*InsightTransferEntry) GetCurrencyCode

func (s *InsightTransferEntry) GetCurrencyCode() OptString

GetCurrencyCode returns the value of CurrencyCode.

func (*InsightTransferEntry) GetCurrencyID

func (s *InsightTransferEntry) GetCurrencyID() OptString

GetCurrencyID returns the value of CurrencyID.

func (*InsightTransferEntry) GetDifference

func (s *InsightTransferEntry) GetDifference() OptString

GetDifference returns the value of Difference.

func (*InsightTransferEntry) GetDifferenceFloat

func (s *InsightTransferEntry) GetDifferenceFloat() OptFloat64

GetDifferenceFloat returns the value of DifferenceFloat.

func (*InsightTransferEntry) GetID

func (s *InsightTransferEntry) GetID() OptString

GetID returns the value of ID.

func (*InsightTransferEntry) GetIn

func (s *InsightTransferEntry) GetIn() OptString

GetIn returns the value of In.

func (*InsightTransferEntry) GetInFloat

func (s *InsightTransferEntry) GetInFloat() OptFloat64

GetInFloat returns the value of InFloat.

func (*InsightTransferEntry) GetName

func (s *InsightTransferEntry) GetName() OptString

GetName returns the value of Name.

func (*InsightTransferEntry) GetOut

func (s *InsightTransferEntry) GetOut() OptString

GetOut returns the value of Out.

func (*InsightTransferEntry) GetOutFloat

func (s *InsightTransferEntry) GetOutFloat() OptFloat64

GetOutFloat returns the value of OutFloat.

func (*InsightTransferEntry) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*InsightTransferEntry) SetCurrencyCode

func (s *InsightTransferEntry) SetCurrencyCode(val OptString)

SetCurrencyCode sets the value of CurrencyCode.

func (*InsightTransferEntry) SetCurrencyID

func (s *InsightTransferEntry) SetCurrencyID(val OptString)

SetCurrencyID sets the value of CurrencyID.

func (*InsightTransferEntry) SetDifference

func (s *InsightTransferEntry) SetDifference(val OptString)

SetDifference sets the value of Difference.

func (*InsightTransferEntry) SetDifferenceFloat

func (s *InsightTransferEntry) SetDifferenceFloat(val OptFloat64)

SetDifferenceFloat sets the value of DifferenceFloat.

func (*InsightTransferEntry) SetID

func (s *InsightTransferEntry) SetID(val OptString)

SetID sets the value of ID.

func (*InsightTransferEntry) SetIn

func (s *InsightTransferEntry) SetIn(val OptString)

SetIn sets the value of In.

func (*InsightTransferEntry) SetInFloat

func (s *InsightTransferEntry) SetInFloat(val OptFloat64)

SetInFloat sets the value of InFloat.

func (*InsightTransferEntry) SetName

func (s *InsightTransferEntry) SetName(val OptString)

SetName sets the value of Name.

func (*InsightTransferEntry) SetOut

func (s *InsightTransferEntry) SetOut(val OptString)

SetOut sets the value of Out.

func (*InsightTransferEntry) SetOutFloat

func (s *InsightTransferEntry) SetOutFloat(val OptFloat64)

SetOutFloat sets the value of OutFloat.

func (*InsightTransferEntry) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

func (*InsightTransferEntry) Validate

func (s *InsightTransferEntry) Validate() error

type InsightTransferNoCategoryParams

type InsightTransferNoCategoryParams struct {
	// Unique identifier associated with this request.
	XTraceID OptUUID
	// A date formatted YYYY-MM-DD.
	Start time.Time
	// A date formatted YYYY-MM-DD.
	End time.Time
	// The accounts to be included in the results. If you include ID's of asset accounts or liabilities,
	// only transfers between those
	// asset accounts / liabilities will be included. Other account ID's will be ignored.
	Accounts []int64
}

InsightTransferNoCategoryParams is parameters of insightTransferNoCategory operation.

type InsightTransferNoCategoryRes

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

type InsightTransferNoTagParams

type InsightTransferNoTagParams struct {
	// Unique identifier associated with this request.
	XTraceID OptUUID
	// A date formatted YYYY-MM-DD.
	Start time.Time
	// A date formatted YYYY-MM-DD.
	End time.Time
	// The accounts to be included in the results. If you include ID's of asset accounts or liabilities,
	// only transfers from those
	// asset accounts / liabilities will be included. Other account ID's will be ignored.
	Accounts []int64
}

InsightTransferNoTagParams is parameters of insightTransferNoTag operation.

type InsightTransferNoTagRes

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

type InsightTransferTagParams

type InsightTransferTagParams struct {
	// Unique identifier associated with this request.
	XTraceID OptUUID
	// A date formatted YYYY-MM-DD.
	Start time.Time
	// A date formatted YYYY-MM-DD.
	End time.Time
	// The tags to be included in the results.
	Tags []int64
	// The accounts to be included in the results. If you include ID's of asset accounts or liabilities,
	// only transfers between those
	// asset accounts / liabilities will be included. Other account ID's will be ignored.
	Accounts []int64
}

InsightTransferTagParams is parameters of insightTransferTag operation.

type InsightTransferTagRes

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

type InsightTransferTotalParams

type InsightTransferTotalParams struct {
	// Unique identifier associated with this request.
	XTraceID OptUUID
	// A date formatted YYYY-MM-DD.
	Start time.Time
	// A date formatted YYYY-MM-DD.
	End time.Time
	// The accounts to be included in the results. If you include ID's of asset accounts or liabilities,
	// only transfers between those
	// asset accounts / liabilities will be included. Other account ID's will be ignored.
	Accounts []int64
}

InsightTransferTotalParams is parameters of insightTransferTotal operation.

type InsightTransferTotalRes

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

type InsightTransfersParams

type InsightTransfersParams struct {
	// Unique identifier associated with this request.
	XTraceID OptUUID
	// A date formatted YYYY-MM-DD.
	Start time.Time
	// A date formatted YYYY-MM-DD.
	End time.Time
	// The accounts to be included in the results. If you include ID's of asset accounts or liabilities,
	// only transfers between those
	// asset accounts / liabilities will be included. Other account ID's will be ignored.
	Accounts []int64
}

InsightTransfersParams is parameters of insightTransfers operation.

type InsightTransfersRes

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

type InterestPeriod

type InterestPeriod string

Mandatory when type is liability. Period over which the interest is calculated. Ref: #/components/schemas/InterestPeriod

const (
	InterestPeriodWeekly    InterestPeriod = "weekly"
	InterestPeriodMonthly   InterestPeriod = "monthly"
	InterestPeriodQuarterly InterestPeriod = "quarterly"
	InterestPeriodHalfYear  InterestPeriod = "half-year"
	InterestPeriodYearly    InterestPeriod = "yearly"
)

func (InterestPeriod) AllValues

func (InterestPeriod) AllValues() []InterestPeriod

AllValues returns all InterestPeriod values.

func (*InterestPeriod) Decode

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

Decode decodes InterestPeriod from json.

func (InterestPeriod) Encode

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

Encode encodes InterestPeriod as json.

func (InterestPeriod) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (InterestPeriod) MarshalText

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

MarshalText implements encoding.TextMarshaler.

func (*InterestPeriod) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

func (*InterestPeriod) UnmarshalText

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

UnmarshalText implements encoding.TextUnmarshaler.

func (InterestPeriod) Validate

func (s InterestPeriod) Validate() error

type InternalException

type InternalException struct {
	Message   OptString `json:"message"`
	Exception OptString `json:"exception"`
}

Ref: #/components/schemas/InternalException

func (*InternalException) Decode

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

Decode decodes InternalException from json.

func (*InternalException) Encode

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

Encode implements json.Marshaler.

func (*InternalException) GetException

func (s *InternalException) GetException() OptString

GetException returns the value of Exception.

func (*InternalException) GetMessage

func (s *InternalException) GetMessage() OptString

GetMessage returns the value of Message.

func (*InternalException) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*InternalException) SetException

func (s *InternalException) SetException(val OptString)

SetException sets the value of Exception.

func (*InternalException) SetMessage

func (s *InternalException) SetMessage(val OptString)

SetMessage sets the value of Message.

func (*InternalException) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

type Invoker

type Invoker interface {
	// BulkUpdateTransactions invokes bulkUpdateTransactions operation.
	//
	// Allows you to update transactions in bulk.
	//
	// POST /v1/data/bulk/transactions
	BulkUpdateTransactions(ctx context.Context, params BulkUpdateTransactionsParams) (BulkUpdateTransactionsRes, error)
	// DefaultCurrency invokes defaultCurrency operation.
	//
	// Make this currency the default currency for the user. If the currency is not enabled, it will be
	// enabled as well.
	//
	// POST /v1/currencies/{code}/default
	DefaultCurrency(ctx context.Context, params DefaultCurrencyParams) (DefaultCurrencyRes, error)
	// DeleteAccount invokes deleteAccount operation.
	//
	// Will permanently delete an account. Any associated transactions and piggy banks are ALSO deleted.
	// Cannot be recovered from.
	//
	// DELETE /v1/accounts/{id}
	DeleteAccount(ctx context.Context, params DeleteAccountParams) (DeleteAccountRes, error)
	// DeleteAttachment invokes deleteAttachment operation.
	//
	// With this endpoint you delete an attachment, including any stored file data.
	//
	// DELETE /v1/attachments/{id}
	DeleteAttachment(ctx context.Context, params DeleteAttachmentParams) (DeleteAttachmentRes, error)
	// DeleteBill invokes deleteBill operation.
	//
	// Delete a bill. This will not delete any associated rules. Will not remove associated transactions.
	// WILL remove all associated attachments.
	//
	// DELETE /v1/bills/{id}
	DeleteBill(ctx context.Context, params DeleteBillParams) (DeleteBillRes, error)
	// DeleteBudget invokes deleteBudget operation.
	//
	// Delete a budget. Transactions will not be deleted.
	//
	// DELETE /v1/budgets/{id}
	DeleteBudget(ctx context.Context, params DeleteBudgetParams) (DeleteBudgetRes, error)
	// DeleteBudgetLimit invokes deleteBudgetLimit operation.
	//
	// Delete a budget limit.
	//
	// DELETE /v1/budgets/{id}/limits/{limitId}
	DeleteBudgetLimit(ctx context.Context, params DeleteBudgetLimitParams) (DeleteBudgetLimitRes, error)
	// DeleteCategory invokes deleteCategory operation.
	//
	// Delete a category. Transactions will not be removed.
	//
	// DELETE /v1/categories/{id}
	DeleteCategory(ctx context.Context, params DeleteCategoryParams) (DeleteCategoryRes, error)
	// DeleteCurrency invokes deleteCurrency operation.
	//
	// Delete a currency.
	//
	// DELETE /v1/currencies/{code}
	DeleteCurrency(ctx context.Context, params DeleteCurrencyParams) (DeleteCurrencyRes, error)
	// DeleteLinkType invokes deleteLinkType operation.
	//
	// Will permanently delete a link type. The links between transactions will be removed. The
	// transactions themselves remain. You cannot delete some of the system provided link types,
	// indicated by the editable=false flag when you list it.
	//
	// DELETE /v1/link-types/{id}
	DeleteLinkType(ctx context.Context, params DeleteLinkTypeParams) (DeleteLinkTypeRes, error)
	// DeleteObjectGroup invokes deleteObjectGroup operation.
	//
	// Delete a object group.
	//
	// DELETE /v1/object-groups/{id}
	DeleteObjectGroup(ctx context.Context, params DeleteObjectGroupParams) (DeleteObjectGroupRes, error)
	// DeletePiggyBank invokes deletePiggyBank operation.
	//
	// Delete a piggy bank.
	//
	// DELETE /v1/piggy-banks/{id}
	DeletePiggyBank(ctx context.Context, params DeletePiggyBankParams) (DeletePiggyBankRes, error)
	// DeleteRecurrence invokes deleteRecurrence operation.
	//
	// Delete a recurring transaction. Transactions created by the recurring transaction will not be
	// deleted.
	//
	// DELETE /v1/recurrences/{id}
	DeleteRecurrence(ctx context.Context, params DeleteRecurrenceParams) (DeleteRecurrenceRes, error)
	// DeleteRule invokes deleteRule operation.
	//
	// Delete an rule.
	//
	// DELETE /v1/rules/{id}
	DeleteRule(ctx context.Context, params DeleteRuleParams) (DeleteRuleRes, error)
	// DeleteRuleGroup invokes deleteRuleGroup operation.
	//
	// Delete a rule group.
	//
	// DELETE /v1/rule-groups/{id}
	DeleteRuleGroup(ctx context.Context, params DeleteRuleGroupParams) (DeleteRuleGroupRes, error)
	// DeleteTag invokes deleteTag operation.
	//
	// Delete an tag.
	//
	// DELETE /v1/tags/{tag}
	DeleteTag(ctx context.Context, params DeleteTagParams) (DeleteTagRes, error)
	// DeleteTransaction invokes deleteTransaction operation.
	//
	// Delete a transaction.
	//
	// DELETE /v1/transactions/{id}
	DeleteTransaction(ctx context.Context, params DeleteTransactionParams) (DeleteTransactionRes, error)
	// DeleteTransactionJournal invokes deleteTransactionJournal operation.
	//
	// Delete an individual journal (split) from a transaction.
	//
	// DELETE /v1/transaction-journals/{id}
	DeleteTransactionJournal(ctx context.Context, params DeleteTransactionJournalParams) (DeleteTransactionJournalRes, error)
	// DeleteTransactionLink invokes deleteTransactionLink operation.
	//
	// Will permanently delete link. Transactions remain.
	//
	// DELETE /v1/transaction-links/{id}
	DeleteTransactionLink(ctx context.Context, params DeleteTransactionLinkParams) (DeleteTransactionLinkRes, error)
	// DeleteUser invokes deleteUser operation.
	//
	// Delete a user. You cannot delete the user you're authenticated with. This cannot be undone. Be
	// careful!.
	//
	// DELETE /v1/users/{id}
	DeleteUser(ctx context.Context, params DeleteUserParams) (DeleteUserRes, error)
	// DeleteWebhook invokes deleteWebhook operation.
	//
	// Delete a webhook.
	//
	// DELETE /v1/webhooks/{id}
	DeleteWebhook(ctx context.Context, params DeleteWebhookParams) (DeleteWebhookRes, error)
	// DeleteWebhookMessage invokes deleteWebhookMessage operation.
	//
	// Delete a webhook message. Any time a webhook is triggered the message is stored before it's sent.
	// You can delete them before or after sending.
	//
	// DELETE /v1/webhooks/{id}/messages/{messageId}
	DeleteWebhookMessage(ctx context.Context, params DeleteWebhookMessageParams) (DeleteWebhookMessageRes, error)
	// DeleteWebhookMessageAttempt invokes deleteWebhookMessageAttempt operation.
	//
	// Delete a webhook message attempt. If you delete all attempts for a webhook message, Firefly III
	// will (once again) assume all is well with the webhook message and will try to send it again.
	//
	// DELETE /v1/webhooks/{id}/messages/{messageId}/attempts/{attemptId}
	DeleteWebhookMessageAttempt(ctx context.Context, params DeleteWebhookMessageAttemptParams) (DeleteWebhookMessageAttemptRes, error)
	// DestroyData invokes destroyData operation.
	//
	// A call to this endpoint deletes the requested data type. Use it with care and always with user
	// permission.
	// The demo user is incapable of using this endpoint.
	//
	// DELETE /v1/data/destroy
	DestroyData(ctx context.Context, params DestroyDataParams) (DestroyDataRes, error)
	// DisableCurrency invokes disableCurrency operation.
	//
	// Disable a currency.
	//
	// POST /v1/currencies/{code}/disable
	DisableCurrency(ctx context.Context, params DisableCurrencyParams) (DisableCurrencyRes, error)
	// DownloadAttachment invokes downloadAttachment operation.
	//
	// This endpoint allows you to download the binary content of a transaction. It will be sent to you
	// as a download, using the content type "application/octet-stream" and content disposition
	// "attachment; filename=example.pdf".
	//
	// GET /v1/attachments/{id}/download
	DownloadAttachment(ctx context.Context, params DownloadAttachmentParams) (DownloadAttachmentRes, error)
	// EnableCurrency invokes enableCurrency operation.
	//
	// Enable a single currency.
	//
	// POST /v1/currencies/{code}/enable
	EnableCurrency(ctx context.Context, params EnableCurrencyParams) (EnableCurrencyRes, error)
	// ExportAccounts invokes exportAccounts operation.
	//
	// This endpoint allows you to export your accounts from Firefly III into a file. Currently supports
	// CSV exports only.
	//
	// GET /v1/data/export/accounts
	ExportAccounts(ctx context.Context, params ExportAccountsParams) (ExportAccountsRes, error)
	// ExportBills invokes exportBills operation.
	//
	// This endpoint allows you to export your bills from Firefly III into a file. Currently supports CSV
	// exports only.
	//
	// GET /v1/data/export/bills
	ExportBills(ctx context.Context, params ExportBillsParams) (ExportBillsRes, error)
	// ExportBudgets invokes exportBudgets operation.
	//
	// This endpoint allows you to export your budgets and associated budget data from Firefly III into a
	// file. Currently supports CSV exports only.
	//
	// GET /v1/data/export/budgets
	ExportBudgets(ctx context.Context, params ExportBudgetsParams) (ExportBudgetsRes, error)
	// ExportCategories invokes exportCategories operation.
	//
	// This endpoint allows you to export your categories from Firefly III into a file. Currently
	// supports CSV exports only.
	//
	// GET /v1/data/export/categories
	ExportCategories(ctx context.Context, params ExportCategoriesParams) (ExportCategoriesRes, error)
	// ExportPiggies invokes exportPiggies operation.
	//
	// This endpoint allows you to export your piggy banks from Firefly III into a file. Currently
	// supports CSV exports only.
	//
	// GET /v1/data/export/piggy-banks
	ExportPiggies(ctx context.Context, params ExportPiggiesParams) (ExportPiggiesRes, error)
	// ExportRecurring invokes exportRecurring operation.
	//
	// This endpoint allows you to export your recurring transactions from Firefly III into a file.
	// Currently supports CSV exports only.
	//
	// GET /v1/data/export/recurring
	ExportRecurring(ctx context.Context, params ExportRecurringParams) (ExportRecurringRes, error)
	// ExportRules invokes exportRules operation.
	//
	// This endpoint allows you to export your rules and rule groups from Firefly III into a file.
	// Currently supports CSV exports only.
	//
	// GET /v1/data/export/rules
	ExportRules(ctx context.Context, params ExportRulesParams) (ExportRulesRes, error)
	// ExportTags invokes exportTags operation.
	//
	// This endpoint allows you to export your tags from Firefly III into a file. Currently supports CSV
	// exports only.
	//
	// GET /v1/data/export/tags
	ExportTags(ctx context.Context, params ExportTagsParams) (ExportTagsRes, error)
	// ExportTransactions invokes exportTransactions operation.
	//
	// This endpoint allows you to export transactions from Firefly III into a file. Currently supports
	// CSV exports only.
	//
	// GET /v1/data/export/transactions
	ExportTransactions(ctx context.Context, params ExportTransactionsParams) (ExportTransactionsRes, error)
	// FireRule invokes fireRule operation.
	//
	// Fire the rule group on your transactions. Changes will be made by the rules in the group! Limit
	// the result if you want to.
	//
	// POST /v1/rules/{id}/trigger
	FireRule(ctx context.Context, params FireRuleParams) (FireRuleRes, error)
	// FireRuleGroup invokes fireRuleGroup operation.
	//
	// Fire the rule group on your transactions. Changes will be made by the rules in the rule group!
	// Limit the result if you want to.
	//
	// POST /v1/rule-groups/{id}/trigger
	FireRuleGroup(ctx context.Context, params FireRuleGroupParams) (FireRuleGroupRes, error)
	// GetAbout invokes getAbout operation.
	//
	// Returns general system information and versions of the (supporting) software.
	//
	// GET /v1/about
	GetAbout(ctx context.Context, params GetAboutParams) (GetAboutRes, error)
	// GetAccount invokes getAccount operation.
	//
	// Returns a single account by its ID.
	//
	// GET /v1/accounts/{id}
	GetAccount(ctx context.Context, params GetAccountParams) (GetAccountRes, error)
	// GetAccountsAC invokes getAccountsAC operation.
	//
	// Returns all accounts of the user returned in a basic auto-complete array.
	//
	// GET /v1/autocomplete/accounts
	GetAccountsAC(ctx context.Context, params GetAccountsACParams) (GetAccountsACRes, error)
	// GetAttachment invokes getAttachment operation.
	//
	// Get a single attachment. This endpoint only returns the available metadata for the attachment.
	// Actual file data is handled in two other endpoints (see below).
	//
	// GET /v1/attachments/{id}
	GetAttachment(ctx context.Context, params GetAttachmentParams) (GetAttachmentRes, error)
	// GetAvailableBudget invokes getAvailableBudget operation.
	//
	// Get a single available budget, by ID.
	//
	// GET /v1/available-budgets/{id}
	GetAvailableBudget(ctx context.Context, params GetAvailableBudgetParams) (GetAvailableBudgetRes, error)
	// GetBasicSummary invokes getBasicSummary operation.
	//
	// Returns basic sums of the users data, like the net worth, spent and earned amounts. It is
	// multi-currency, and is used in Firefly III to populate the dashboard.
	//
	// GET /v1/summary/basic
	GetBasicSummary(ctx context.Context, params GetBasicSummaryParams) (GetBasicSummaryRes, error)
	// GetBill invokes getBill operation.
	//
	// Get a single bill.
	//
	// GET /v1/bills/{id}
	GetBill(ctx context.Context, params GetBillParams) (GetBillRes, error)
	// GetBillsAC invokes getBillsAC operation.
	//
	// Returns all bills of the user returned in a basic auto-complete array.
	//
	// GET /v1/autocomplete/bills
	GetBillsAC(ctx context.Context, params GetBillsACParams) (GetBillsACRes, error)
	// GetBudget invokes getBudget operation.
	//
	// Get a single budget. If the start date and end date are submitted as well, the "spent" array will
	// be updated accordingly.
	//
	// GET /v1/budgets/{id}
	GetBudget(ctx context.Context, params GetBudgetParams) (GetBudgetRes, error)
	// GetBudgetLimit invokes getBudgetLimit operation.
	//
	// Get single budget limit.
	//
	// GET /v1/budgets/{id}/limits/{limitId}
	GetBudgetLimit(ctx context.Context, params GetBudgetLimitParams) (GetBudgetLimitRes, error)
	// GetBudgetsAC invokes getBudgetsAC operation.
	//
	// Returns all budgets of the user returned in a basic auto-complete array.
	//
	// GET /v1/autocomplete/budgets
	GetBudgetsAC(ctx context.Context, params GetBudgetsACParams) (GetBudgetsACRes, error)
	// GetCategoriesAC invokes getCategoriesAC operation.
	//
	// Returns all categories of the user returned in a basic auto-complete array.
	//
	// GET /v1/autocomplete/categories
	GetCategoriesAC(ctx context.Context, params GetCategoriesACParams) (GetCategoriesACRes, error)
	// GetCategory invokes getCategory operation.
	//
	// Get a single category.
	//
	// GET /v1/categories/{id}
	GetCategory(ctx context.Context, params GetCategoryParams) (GetCategoryRes, error)
	// GetChartAccountOverview invokes getChartAccountOverview operation.
	//
	// This endpoint returns the data required to generate a chart with basic asset account balance
	// information.
	//
	// GET /v1/chart/account/overview
	GetChartAccountOverview(ctx context.Context, params GetChartAccountOverviewParams) (GetChartAccountOverviewRes, error)
	// GetConfiguration invokes getConfiguration operation.
	//
	// Returns all editable and not-editable configuration values for this Firefly III installation.
	//
	// GET /v1/configuration
	GetConfiguration(ctx context.Context, params GetConfigurationParams) (GetConfigurationRes, error)
	// GetCron invokes getCron operation.
	//
	// Firefly III has one endpoint for its various cron related tasks. Send a GET to this endpoint
	// to run the cron. The cron requires the CLI token to be present. The cron job will fire for all
	// users.
	//
	// GET /v1/cron/{cliToken}
	GetCron(ctx context.Context, params GetCronParams) (GetCronRes, error)
	// GetCurrenciesAC invokes getCurrenciesAC operation.
	//
	// Returns all currencies of the user returned in a basic auto-complete array.
	//
	// GET /v1/autocomplete/currencies
	GetCurrenciesAC(ctx context.Context, params GetCurrenciesACParams) (GetCurrenciesACRes, error)
	// GetCurrenciesCodeAC invokes getCurrenciesCodeAC operation.
	//
	// Returns all currencies of the user returned in a basic auto-complete array. This endpoint is
	// DEPRECATED and I suggest you DO NOT use it.
	//
	// GET /v1/autocomplete/currencies-with-code
	GetCurrenciesCodeAC(ctx context.Context, params GetCurrenciesCodeACParams) (GetCurrenciesCodeACRes, error)
	// GetCurrency invokes getCurrency operation.
	//
	// Get a single currency.
	//
	// GET /v1/currencies/{code}
	GetCurrency(ctx context.Context, params GetCurrencyParams) (GetCurrencyRes, error)
	// GetCurrentUser invokes getCurrentUser operation.
	//
	// Returns the currently authenticated user.
	//
	// GET /v1/about/user
	GetCurrentUser(ctx context.Context, params GetCurrentUserParams) (GetCurrentUserRes, error)
	// GetDefaultCurrency invokes getDefaultCurrency operation.
	//
	// Get the user's default currency.
	//
	// GET /v1/currencies/default
	GetDefaultCurrency(ctx context.Context, params GetDefaultCurrencyParams) (GetDefaultCurrencyRes, error)
	// GetLinkType invokes getLinkType operation.
	//
	// Returns a single link type by its ID.
	//
	// GET /v1/link-types/{id}
	GetLinkType(ctx context.Context, params GetLinkTypeParams) (GetLinkTypeRes, error)
	// GetObjectGroup invokes getObjectGroup operation.
	//
	// Get a single object group.
	//
	// GET /v1/object-groups/{id}
	GetObjectGroup(ctx context.Context, params GetObjectGroupParams) (GetObjectGroupRes, error)
	// GetObjectGroupsAC invokes getObjectGroupsAC operation.
	//
	// Returns all object groups of the user returned in a basic auto-complete array.
	//
	// GET /v1/autocomplete/object-groups
	GetObjectGroupsAC(ctx context.Context, params GetObjectGroupsACParams) (GetObjectGroupsACRes, error)
	// GetPiggiesAC invokes getPiggiesAC operation.
	//
	// Returns all piggy banks of the user returned in a basic auto-complete array.
	//
	// GET /v1/autocomplete/piggy-banks
	GetPiggiesAC(ctx context.Context, params GetPiggiesACParams) (GetPiggiesACRes, error)
	// GetPiggiesBalanceAC invokes getPiggiesBalanceAC operation.
	//
	// Returns all piggy banks of the user returned in a basic auto-complete array complemented with
	// balance information.
	//
	// GET /v1/autocomplete/piggy-banks-with-balance
	GetPiggiesBalanceAC(ctx context.Context, params GetPiggiesBalanceACParams) (GetPiggiesBalanceACRes, error)
	// GetPiggyBank invokes getPiggyBank operation.
	//
	// Get a single piggy bank.
	//
	// GET /v1/piggy-banks/{id}
	GetPiggyBank(ctx context.Context, params GetPiggyBankParams) (GetPiggyBankRes, error)
	// GetPreference invokes getPreference operation.
	//
	// Return a single preference and the value.
	//
	// GET /v1/preferences/{name}
	GetPreference(ctx context.Context, params GetPreferenceParams) (GetPreferenceRes, error)
	// GetRecurrence invokes getRecurrence operation.
	//
	// Get a single recurring transaction.
	//
	// GET /v1/recurrences/{id}
	GetRecurrence(ctx context.Context, params GetRecurrenceParams) (GetRecurrenceRes, error)
	// GetRecurringAC invokes getRecurringAC operation.
	//
	// Returns all recurring transactions of the user returned in a basic auto-complete array.
	//
	// GET /v1/autocomplete/recurring
	GetRecurringAC(ctx context.Context, params GetRecurringACParams) (GetRecurringACRes, error)
	// GetRule invokes getRule operation.
	//
	// Get a single rule.
	//
	// GET /v1/rules/{id}
	GetRule(ctx context.Context, params GetRuleParams) (GetRuleRes, error)
	// GetRuleGroup invokes getRuleGroup operation.
	//
	// Get a single rule group. This does not include the rules. For that, see below.
	//
	// GET /v1/rule-groups/{id}
	GetRuleGroup(ctx context.Context, params GetRuleGroupParams) (GetRuleGroupRes, error)
	// GetRuleGroupsAC invokes getRuleGroupsAC operation.
	//
	// Returns all rule groups of the user returned in a basic auto-complete array.
	//
	// GET /v1/autocomplete/rule-groups
	GetRuleGroupsAC(ctx context.Context, params GetRuleGroupsACParams) (GetRuleGroupsACRes, error)
	// GetRulesAC invokes getRulesAC operation.
	//
	// Returns all rules of the user returned in a basic auto-complete array.
	//
	// GET /v1/autocomplete/rules
	GetRulesAC(ctx context.Context, params GetRulesACParams) (GetRulesACRes, error)
	// GetSingleConfiguration invokes getSingleConfiguration operation.
	//
	// Returns one configuration variable for this Firefly III installation.
	//
	// GET /v1/configuration/{name}
	GetSingleConfiguration(ctx context.Context, params GetSingleConfigurationParams) (GetSingleConfigurationRes, error)
	// GetSingleWebhookMessage invokes getSingleWebhookMessage operation.
	//
	// When a webhook is triggered it will store the actual content of the webhook in a webhook message.
	// You can view and analyse a single one using this endpoint.
	//
	// GET /v1/webhooks/{id}/messages/{messageId}
	GetSingleWebhookMessage(ctx context.Context, params GetSingleWebhookMessageParams) (GetSingleWebhookMessageRes, error)
	// GetSingleWebhookMessageAttempt invokes getSingleWebhookMessageAttempt operation.
	//
	// When a webhook message fails to send it will store the failure in an "attempt". You can view and
	// analyse these. Webhooks messages that receive too many attempts (failures) will not be fired. You
	// must first clear out old attempts and try again. This endpoint shows you the details of a single
	// attempt. The ID of the attempt must match the corresponding webhook and webhook message.
	//
	// GET /v1/webhooks/{id}/messages/{messageId}/attempts/{attemptId}
	GetSingleWebhookMessageAttempt(ctx context.Context, params GetSingleWebhookMessageAttemptParams) (GetSingleWebhookMessageAttemptRes, error)
	// GetTag invokes getTag operation.
	//
	// Get a single tag.
	//
	// GET /v1/tags/{tag}
	GetTag(ctx context.Context, params GetTagParams) (GetTagRes, error)
	// GetTagAC invokes getTagAC operation.
	//
	// Returns all tags of the user returned in a basic auto-complete array.
	//
	// GET /v1/autocomplete/tags
	GetTagAC(ctx context.Context, params GetTagACParams) (GetTagACRes, error)
	// GetTransaction invokes getTransaction operation.
	//
	// Get a single transaction.
	//
	// GET /v1/transactions/{id}
	GetTransaction(ctx context.Context, params GetTransactionParams) (GetTransactionRes, error)
	// GetTransactionByJournal invokes getTransactionByJournal operation.
	//
	// Get a single transaction by underlying journal (split).
	//
	// GET /v1/transaction-journals/{id}
	GetTransactionByJournal(ctx context.Context, params GetTransactionByJournalParams) (GetTransactionByJournalRes, error)
	// GetTransactionLink invokes getTransactionLink operation.
	//
	// Returns a single link by its ID.
	//
	// GET /v1/transaction-links/{id}
	GetTransactionLink(ctx context.Context, params GetTransactionLinkParams) (GetTransactionLinkRes, error)
	// GetTransactionTypesAC invokes getTransactionTypesAC operation.
	//
	// Returns all transaction types returned in a basic auto-complete array. English only.
	//
	// GET /v1/autocomplete/transaction-types
	GetTransactionTypesAC(ctx context.Context, params GetTransactionTypesACParams) (GetTransactionTypesACRes, error)
	// GetTransactionsAC invokes getTransactionsAC operation.
	//
	// Returns all transaction descriptions of the user returned in a basic auto-complete array.
	//
	// GET /v1/autocomplete/transactions
	GetTransactionsAC(ctx context.Context, params GetTransactionsACParams) (GetTransactionsACRes, error)
	// GetTransactionsIDAC invokes getTransactionsIDAC operation.
	//
	// Returns all transactions, complemented with their ID, of the user returned in a basic
	// auto-complete array. This endpoint is DEPRECATED and I suggest you DO NOT use it.
	//
	// GET /v1/autocomplete/transactions-with-id
	GetTransactionsIDAC(ctx context.Context, params GetTransactionsIDACParams) (GetTransactionsIDACRes, error)
	// GetUser invokes getUser operation.
	//
	// Gets all info of a single user.
	//
	// GET /v1/users/{id}
	GetUser(ctx context.Context, params GetUserParams) (GetUserRes, error)
	// GetWebhook invokes getWebhook operation.
	//
	// Gets all info of a single webhook.
	//
	// GET /v1/webhooks/{id}
	GetWebhook(ctx context.Context, params GetWebhookParams) (GetWebhookRes, error)
	// GetWebhookMessageAttempts invokes getWebhookMessageAttempts operation.
	//
	// When a webhook message fails to send it will store the failure in an "attempt". You can view and
	// analyse these. Webhook messages that receive too many attempts (failures) will not be sent again.
	// You must first clear out old attempts before the message can go out again.
	//
	// GET /v1/webhooks/{id}/messages/{messageId}/attempts
	GetWebhookMessageAttempts(ctx context.Context, params GetWebhookMessageAttemptsParams) (GetWebhookMessageAttemptsRes, error)
	// GetWebhookMessages invokes getWebhookMessages operation.
	//
	// When a webhook is triggered the actual message that will be send is stored in a "message". You can
	// view and analyse these messages.
	//
	// GET /v1/webhooks/{id}/messages
	GetWebhookMessages(ctx context.Context, params GetWebhookMessagesParams) (GetWebhookMessagesRes, error)
	// InsightExpenseAsset invokes insightExpenseAsset operation.
	//
	// This endpoint gives a summary of the expenses made by the user, grouped by asset account.
	//
	// GET /v1/insight/expense/asset
	InsightExpenseAsset(ctx context.Context, params InsightExpenseAssetParams) (InsightExpenseAssetRes, error)
	// InsightExpenseBill invokes insightExpenseBill operation.
	//
	// This endpoint gives a summary of the expenses made by the user, grouped by (any) bill.
	//
	// GET /v1/insight/expense/bill
	InsightExpenseBill(ctx context.Context, params InsightExpenseBillParams) (InsightExpenseBillRes, error)
	// InsightExpenseBudget invokes insightExpenseBudget operation.
	//
	// This endpoint gives a summary of the expenses made by the user, grouped by (any) budget.
	//
	// GET /v1/insight/expense/budget
	InsightExpenseBudget(ctx context.Context, params InsightExpenseBudgetParams) (InsightExpenseBudgetRes, error)
	// InsightExpenseCategory invokes insightExpenseCategory operation.
	//
	// This endpoint gives a summary of the expenses made by the user, grouped by (any) category.
	//
	// GET /v1/insight/expense/category
	InsightExpenseCategory(ctx context.Context, params InsightExpenseCategoryParams) (InsightExpenseCategoryRes, error)
	// InsightExpenseExpense invokes insightExpenseExpense operation.
	//
	// This endpoint gives a summary of the expenses made by the user, grouped by expense account.
	//
	// GET /v1/insight/expense/expense
	InsightExpenseExpense(ctx context.Context, params InsightExpenseExpenseParams) (InsightExpenseExpenseRes, error)
	// InsightExpenseNoBill invokes insightExpenseNoBill operation.
	//
	// This endpoint gives a summary of the expenses made by the user, including only expenses with no
	// bill.
	//
	// GET /v1/insight/expense/no-bill
	InsightExpenseNoBill(ctx context.Context, params InsightExpenseNoBillParams) (InsightExpenseNoBillRes, error)
	// InsightExpenseNoBudget invokes insightExpenseNoBudget operation.
	//
	// This endpoint gives a summary of the expenses made by the user, including only expenses with no
	// budget.
	//
	// GET /v1/insight/expense/no-budget
	InsightExpenseNoBudget(ctx context.Context, params InsightExpenseNoBudgetParams) (InsightExpenseNoBudgetRes, error)
	// InsightExpenseNoCategory invokes insightExpenseNoCategory operation.
	//
	// This endpoint gives a summary of the expenses made by the user, including only expenses with no
	// category.
	//
	// GET /v1/insight/expense/no-category
	InsightExpenseNoCategory(ctx context.Context, params InsightExpenseNoCategoryParams) (InsightExpenseNoCategoryRes, error)
	// InsightExpenseNoTag invokes insightExpenseNoTag operation.
	//
	// This endpoint gives a summary of the expenses made by the user, including only expenses with no
	// tag.
	//
	// GET /v1/insight/expense/no-tag
	InsightExpenseNoTag(ctx context.Context, params InsightExpenseNoTagParams) (InsightExpenseNoTagRes, error)
	// InsightExpenseTag invokes insightExpenseTag operation.
	//
	// This endpoint gives a summary of the expenses made by the user, grouped by (any) tag.
	//
	// GET /v1/insight/expense/tag
	InsightExpenseTag(ctx context.Context, params InsightExpenseTagParams) (InsightExpenseTagRes, error)
	// InsightExpenseTotal invokes insightExpenseTotal operation.
	//
	// This endpoint gives a sum of the total expenses made by the user.
	//
	// GET /v1/insight/expense/total
	InsightExpenseTotal(ctx context.Context, params InsightExpenseTotalParams) (InsightExpenseTotalRes, error)
	// InsightIncomeAsset invokes insightIncomeAsset operation.
	//
	// This endpoint gives a summary of the income received by the user, grouped by asset account.
	//
	// GET /v1/insight/income/asset
	InsightIncomeAsset(ctx context.Context, params InsightIncomeAssetParams) (InsightIncomeAssetRes, error)
	// InsightIncomeCategory invokes insightIncomeCategory operation.
	//
	// This endpoint gives a summary of the income received by the user, grouped by (any) category.
	//
	// GET /v1/insight/income/category
	InsightIncomeCategory(ctx context.Context, params InsightIncomeCategoryParams) (InsightIncomeCategoryRes, error)
	// InsightIncomeNoCategory invokes insightIncomeNoCategory operation.
	//
	// This endpoint gives a summary of the income received by the user, including only income with no
	// category.
	//
	// GET /v1/insight/income/no-category
	InsightIncomeNoCategory(ctx context.Context, params InsightIncomeNoCategoryParams) (InsightIncomeNoCategoryRes, error)
	// InsightIncomeNoTag invokes insightIncomeNoTag operation.
	//
	// This endpoint gives a summary of the income received by the user, including only income with no
	// tag.
	//
	// GET /v1/insight/income/no-tag
	InsightIncomeNoTag(ctx context.Context, params InsightIncomeNoTagParams) (InsightIncomeNoTagRes, error)
	// InsightIncomeRevenue invokes insightIncomeRevenue operation.
	//
	// This endpoint gives a summary of the income received by the user, grouped by revenue account.
	//
	// GET /v1/insight/income/revenue
	InsightIncomeRevenue(ctx context.Context, params InsightIncomeRevenueParams) (InsightIncomeRevenueRes, error)
	// InsightIncomeTag invokes insightIncomeTag operation.
	//
	// This endpoint gives a summary of the income received by the user, grouped by (any) tag.
	//
	// GET /v1/insight/income/tag
	InsightIncomeTag(ctx context.Context, params InsightIncomeTagParams) (InsightIncomeTagRes, error)
	// InsightIncomeTotal invokes insightIncomeTotal operation.
	//
	// This endpoint gives a sum of the total income received by the user.
	//
	// GET /v1/insight/income/total
	InsightIncomeTotal(ctx context.Context, params InsightIncomeTotalParams) (InsightIncomeTotalRes, error)
	// InsightTransferCategory invokes insightTransferCategory operation.
	//
	// This endpoint gives a summary of the transfers made by the user, grouped by (any) category.
	//
	// GET /v1/insight/transfer/category
	InsightTransferCategory(ctx context.Context, params InsightTransferCategoryParams) (InsightTransferCategoryRes, error)
	// InsightTransferNoCategory invokes insightTransferNoCategory operation.
	//
	// This endpoint gives a summary of the transfers made by the user, including only transfers with no
	// category.
	//
	// GET /v1/insight/transfer/no-category
	InsightTransferNoCategory(ctx context.Context, params InsightTransferNoCategoryParams) (InsightTransferNoCategoryRes, error)
	// InsightTransferNoTag invokes insightTransferNoTag operation.
	//
	// This endpoint gives a summary of the transfers made by the user, including only transfers with no
	// tag.
	//
	// GET /v1/insight/transfer/no-tag
	InsightTransferNoTag(ctx context.Context, params InsightTransferNoTagParams) (InsightTransferNoTagRes, error)
	// InsightTransferTag invokes insightTransferTag operation.
	//
	// This endpoint gives a summary of the transfers created by the user, grouped by (any) tag.
	//
	// GET /v1/insight/transfer/tag
	InsightTransferTag(ctx context.Context, params InsightTransferTagParams) (InsightTransferTagRes, error)
	// InsightTransferTotal invokes insightTransferTotal operation.
	//
	// This endpoint gives a sum of the total amount transfers made by the user.
	//
	// GET /v1/insight/transfer/total
	InsightTransferTotal(ctx context.Context, params InsightTransferTotalParams) (InsightTransferTotalRes, error)
	// InsightTransfers invokes insightTransfers operation.
	//
	// This endpoint gives a summary of the transfers made by the user, grouped by asset account or
	// lability.
	//
	// GET /v1/insight/transfer/asset
	InsightTransfers(ctx context.Context, params InsightTransfersParams) (InsightTransfersRes, error)
	// ListAccount invokes listAccount operation.
	//
	// This endpoint returns a list of all the accounts owned by the authenticated user.
	//
	// GET /v1/accounts
	ListAccount(ctx context.Context, params ListAccountParams) (ListAccountRes, error)
	// ListAccountByCurrency invokes listAccountByCurrency operation.
	//
	// List all accounts with this currency.
	//
	// GET /v1/currencies/{code}/accounts
	ListAccountByCurrency(ctx context.Context, params ListAccountByCurrencyParams) (ListAccountByCurrencyRes, error)
	// ListAttachment invokes listAttachment operation.
	//
	// This endpoint lists all attachments.
	//
	// GET /v1/attachments
	ListAttachment(ctx context.Context, params ListAttachmentParams) (ListAttachmentRes, error)
	// ListAttachmentByAccount invokes listAttachmentByAccount operation.
	//
	// Lists all attachments.
	//
	// GET /v1/accounts/{id}/attachments
	ListAttachmentByAccount(ctx context.Context, params ListAttachmentByAccountParams) (ListAttachmentByAccountRes, error)
	// ListAttachmentByBill invokes listAttachmentByBill operation.
	//
	// This endpoint will list all attachments linked to the bill.
	//
	// GET /v1/bills/{id}/attachments
	ListAttachmentByBill(ctx context.Context, params ListAttachmentByBillParams) (ListAttachmentByBillRes, error)
	// ListAttachmentByBudget invokes listAttachmentByBudget operation.
	//
	// Lists all attachments.
	//
	// GET /v1/budgets/{id}/attachments
	ListAttachmentByBudget(ctx context.Context, params ListAttachmentByBudgetParams) (ListAttachmentByBudgetRes, error)
	// ListAttachmentByCategory invokes listAttachmentByCategory operation.
	//
	// Lists all attachments.
	//
	// GET /v1/categories/{id}/attachments
	ListAttachmentByCategory(ctx context.Context, params ListAttachmentByCategoryParams) (ListAttachmentByCategoryRes, error)
	// ListAttachmentByPiggyBank invokes listAttachmentByPiggyBank operation.
	//
	// Lists all attachments.
	//
	// GET /v1/piggy-banks/{id}/attachments
	ListAttachmentByPiggyBank(ctx context.Context, params ListAttachmentByPiggyBankParams) (ListAttachmentByPiggyBankRes, error)
	// ListAttachmentByTag invokes listAttachmentByTag operation.
	//
	// Lists all attachments.
	//
	// GET /v1/tags/{tag}/attachments
	ListAttachmentByTag(ctx context.Context, params ListAttachmentByTagParams) (ListAttachmentByTagRes, error)
	// ListAttachmentByTransaction invokes listAttachmentByTransaction operation.
	//
	// Lists all attachments.
	//
	// GET /v1/transactions/{id}/attachments
	ListAttachmentByTransaction(ctx context.Context, params ListAttachmentByTransactionParams) (ListAttachmentByTransactionRes, error)
	// ListAvailableBudget invokes listAvailableBudget operation.
	//
	// Firefly III allows users to set the amount that is available to be budgeted in so-called
	// "available budgets". For example, the user could have 1200,- available to be divided during the
	// coming month. This amount is used on the /budgets page. This endpoint returns all of these amounts
	// and the periods for which they are set.
	//
	// GET /v1/available-budgets
	ListAvailableBudget(ctx context.Context, params ListAvailableBudgetParams) (ListAvailableBudgetRes, error)
	// ListAvailableBudgetByCurrency invokes listAvailableBudgetByCurrency operation.
	//
	// List all available budgets with this currency.
	//
	// GET /v1/currencies/{code}/available-budgets
	ListAvailableBudgetByCurrency(ctx context.Context, params ListAvailableBudgetByCurrencyParams) (ListAvailableBudgetByCurrencyRes, error)
	// ListBill invokes listBill operation.
	//
	// This endpoint will list all the user's bills.
	//
	// GET /v1/bills
	ListBill(ctx context.Context, params ListBillParams) (ListBillRes, error)
	// ListBillByCurrency invokes listBillByCurrency operation.
	//
	// List all bills with this currency.
	//
	// GET /v1/currencies/{code}/bills
	ListBillByCurrency(ctx context.Context, params ListBillByCurrencyParams) (ListBillByCurrencyRes, error)
	// ListBillByObjectGroup invokes listBillByObjectGroup operation.
	//
	// List all bills with this object group.
	//
	// GET /v1/object-groups/{id}/bills
	ListBillByObjectGroup(ctx context.Context, params ListBillByObjectGroupParams) (ListBillByObjectGroupRes, error)
	// ListBudget invokes listBudget operation.
	//
	// List all the budgets the user has made. If the start date and end date are submitted as well, the
	// "spent" array will be updated accordingly.
	//
	// GET /v1/budgets
	ListBudget(ctx context.Context, params ListBudgetParams) (ListBudgetRes, error)
	// ListBudgetLimit invokes listBudgetLimit operation.
	//
	// Get all budget limits for for this date range.
	//
	// GET /v1/budget-limits
	ListBudgetLimit(ctx context.Context, params ListBudgetLimitParams) (ListBudgetLimitRes, error)
	// ListBudgetLimitByBudget invokes listBudgetLimitByBudget operation.
	//
	// Get all budget limits for this budget and the money spent, and money left. You can limit the list
	// by submitting a date range as well. The "spent" array for each budget limit is NOT influenced by
	// the start and end date of your query, but by the start and end date of the budget limit itself.
	//
	// GET /v1/budgets/{id}/limits
	ListBudgetLimitByBudget(ctx context.Context, params ListBudgetLimitByBudgetParams) (ListBudgetLimitByBudgetRes, error)
	// ListBudgetLimitByCurrency invokes listBudgetLimitByCurrency operation.
	//
	// List all budget limits with this currency.
	//
	// GET /v1/currencies/{code}/budget_limits
	ListBudgetLimitByCurrency(ctx context.Context, params ListBudgetLimitByCurrencyParams) (ListBudgetLimitByCurrencyRes, error)
	// ListCategory invokes listCategory operation.
	//
	// List all categories.
	//
	// GET /v1/categories
	ListCategory(ctx context.Context, params ListCategoryParams) (ListCategoryRes, error)
	// ListCurrency invokes listCurrency operation.
	//
	// List all currencies.
	//
	// GET /v1/currencies
	ListCurrency(ctx context.Context, params ListCurrencyParams) (ListCurrencyRes, error)
	// ListEventByPiggyBank invokes listEventByPiggyBank operation.
	//
	// List all events linked to a piggy bank (adding and removing money).
	//
	// GET /v1/piggy-banks/{id}/events
	ListEventByPiggyBank(ctx context.Context, params ListEventByPiggyBankParams) (ListEventByPiggyBankRes, error)
	// ListEventByTransaction invokes listEventByTransaction operation.
	//
	// Lists all piggy bank events.
	//
	// GET /v1/transactions/{id}/piggy-bank-events
	ListEventByTransaction(ctx context.Context, params ListEventByTransactionParams) (ListEventByTransactionRes, error)
	// ListLinkType invokes listLinkType operation.
	//
	// List all the link types the system has. These include the default ones as well as any new ones.
	//
	// GET /v1/link-types
	ListLinkType(ctx context.Context, params ListLinkTypeParams) (ListLinkTypeRes, error)
	// ListLinksByJournal invokes listLinksByJournal operation.
	//
	// Lists all the transaction links for an individual journal (a split). Don't use the group ID, you
	// need the actual underlying journal (the split).
	//
	// GET /v1/transaction-journals/{id}/links
	ListLinksByJournal(ctx context.Context, params ListLinksByJournalParams) (ListLinksByJournalRes, error)
	// ListObjectGroups invokes listObjectGroups operation.
	//
	// List all oject groups.
	//
	// GET /v1/object-groups
	ListObjectGroups(ctx context.Context, params ListObjectGroupsParams) (ListObjectGroupsRes, error)
	// ListPiggyBank invokes listPiggyBank operation.
	//
	// List all piggy banks.
	//
	// GET /v1/piggy-banks
	ListPiggyBank(ctx context.Context, params ListPiggyBankParams) (ListPiggyBankRes, error)
	// ListPiggyBankByAccount invokes listPiggyBankByAccount operation.
	//
	// This endpoint returns a list of all the piggy banks connected to the account.
	//
	// GET /v1/accounts/{id}/piggy-banks
	ListPiggyBankByAccount(ctx context.Context, params ListPiggyBankByAccountParams) (ListPiggyBankByAccountRes, error)
	// ListPiggyBankByObjectGroup invokes listPiggyBankByObjectGroup operation.
	//
	// This endpoint returns a list of all the piggy banks connected to the object group.
	//
	// GET /v1/object-groups/{id}/piggy-banks
	ListPiggyBankByObjectGroup(ctx context.Context, params ListPiggyBankByObjectGroupParams) (ListPiggyBankByObjectGroupRes, error)
	// ListPreference invokes listPreference operation.
	//
	// List all of the preferences of the user.
	//
	// GET /v1/preferences
	ListPreference(ctx context.Context, params ListPreferenceParams) (ListPreferenceRes, error)
	// ListRecurrence invokes listRecurrence operation.
	//
	// List all recurring transactions.
	//
	// GET /v1/recurrences
	ListRecurrence(ctx context.Context, params ListRecurrenceParams) (ListRecurrenceRes, error)
	// ListRecurrenceByCurrency invokes listRecurrenceByCurrency operation.
	//
	// List all recurring transactions with this currency.
	//
	// GET /v1/currencies/{code}/recurrences
	ListRecurrenceByCurrency(ctx context.Context, params ListRecurrenceByCurrencyParams) (ListRecurrenceByCurrencyRes, error)
	// ListRule invokes listRule operation.
	//
	// List all rules.
	//
	// GET /v1/rules
	ListRule(ctx context.Context, params ListRuleParams) (ListRuleRes, error)
	// ListRuleByBill invokes listRuleByBill operation.
	//
	// This endpoint will list all rules that have an action to set the bill to this bill.
	//
	// GET /v1/bills/{id}/rules
	ListRuleByBill(ctx context.Context, params ListRuleByBillParams) (ListRuleByBillRes, error)
	// ListRuleByCurrency invokes listRuleByCurrency operation.
	//
	// List all rules with this currency.
	//
	// GET /v1/currencies/{code}/rules
	ListRuleByCurrency(ctx context.Context, params ListRuleByCurrencyParams) (ListRuleByCurrencyRes, error)
	// ListRuleByGroup invokes listRuleByGroup operation.
	//
	// List rules in this rule group.
	//
	// GET /v1/rule-groups/{id}/rules
	ListRuleByGroup(ctx context.Context, params ListRuleByGroupParams) (ListRuleByGroupRes, error)
	// ListRuleGroup invokes listRuleGroup operation.
	//
	// List all rule groups.
	//
	// GET /v1/rule-groups
	ListRuleGroup(ctx context.Context, params ListRuleGroupParams) (ListRuleGroupRes, error)
	// ListTag invokes listTag operation.
	//
	// List all of the user's tags.
	//
	// GET /v1/tags
	ListTag(ctx context.Context, params ListTagParams) (ListTagRes, error)
	// ListTransaction invokes listTransaction operation.
	//
	// List all the user's transactions.
	//
	// GET /v1/transactions
	ListTransaction(ctx context.Context, params ListTransactionParams) (ListTransactionRes, error)
	// ListTransactionByAccount invokes listTransactionByAccount operation.
	//
	// This endpoint returns a list of all the transactions connected to the account.
	//
	// GET /v1/accounts/{id}/transactions
	ListTransactionByAccount(ctx context.Context, params ListTransactionByAccountParams) (ListTransactionByAccountRes, error)
	// ListTransactionByBill invokes listTransactionByBill operation.
	//
	// This endpoint will list all transactions linked to this bill.
	//
	// GET /v1/bills/{id}/transactions
	ListTransactionByBill(ctx context.Context, params ListTransactionByBillParams) (ListTransactionByBillRes, error)
	// ListTransactionByBudget invokes listTransactionByBudget operation.
	//
	// Get all transactions linked to a budget, possibly limited by start and end.
	//
	// GET /v1/budgets/{id}/transactions
	ListTransactionByBudget(ctx context.Context, params ListTransactionByBudgetParams) (ListTransactionByBudgetRes, error)
	// ListTransactionByBudgetLimit invokes listTransactionByBudgetLimit operation.
	//
	// List all the transactions within one budget limit. The start and end date are dictated by the
	// budget limit.
	//
	// GET /v1/budgets/{id}/limits/{limitId}/transactions
	ListTransactionByBudgetLimit(ctx context.Context, params ListTransactionByBudgetLimitParams) (ListTransactionByBudgetLimitRes, error)
	// ListTransactionByCategory invokes listTransactionByCategory operation.
	//
	// List all transactions in a category, optionally limited to the date ranges specified.
	//
	// GET /v1/categories/{id}/transactions
	ListTransactionByCategory(ctx context.Context, params ListTransactionByCategoryParams) (ListTransactionByCategoryRes, error)
	// ListTransactionByCurrency invokes listTransactionByCurrency operation.
	//
	// List all transactions with this currency.
	//
	// GET /v1/currencies/{code}/transactions
	ListTransactionByCurrency(ctx context.Context, params ListTransactionByCurrencyParams) (ListTransactionByCurrencyRes, error)
	// ListTransactionByLinkType invokes listTransactionByLinkType operation.
	//
	// List all transactions under this link type, both the inward and outward transactions.
	//
	// GET /v1/link-types/{id}/transactions
	ListTransactionByLinkType(ctx context.Context, params ListTransactionByLinkTypeParams) (ListTransactionByLinkTypeRes, error)
	// ListTransactionByRecurrence invokes listTransactionByRecurrence operation.
	//
	// List all transactions created by a recurring transaction, optionally limited to the date ranges
	// specified.
	//
	// GET /v1/recurrences/{id}/transactions
	ListTransactionByRecurrence(ctx context.Context, params ListTransactionByRecurrenceParams) (ListTransactionByRecurrenceRes, error)
	// ListTransactionByTag invokes listTransactionByTag operation.
	//
	// List all transactions with this tag.
	//
	// GET /v1/tags/{tag}/transactions
	ListTransactionByTag(ctx context.Context, params ListTransactionByTagParams) (ListTransactionByTagRes, error)
	// ListTransactionLink invokes listTransactionLink operation.
	//
	// List all the transaction links.
	//
	// GET /v1/transaction-links
	ListTransactionLink(ctx context.Context, params ListTransactionLinkParams) (ListTransactionLinkRes, error)
	// ListUser invokes listUser operation.
	//
	// List all the users in this instance of Firefly III.
	//
	// GET /v1/users
	ListUser(ctx context.Context, params ListUserParams) (ListUserRes, error)
	// ListWebhook invokes listWebhook operation.
	//
	// List all the user's webhooks.
	//
	// GET /v1/webhooks
	ListWebhook(ctx context.Context, params ListWebhookParams) (ListWebhookRes, error)
	// PurgeData invokes purgeData operation.
	//
	// A call to this endpoint purges all previously deleted data. Use it with care and always with user
	// permission.
	// The demo user is incapable of using this endpoint.
	//
	// DELETE /v1/data/purge
	PurgeData(ctx context.Context, params PurgeDataParams) (PurgeDataRes, error)
	// SearchAccounts invokes searchAccounts operation.
	//
	// Search for accounts.
	//
	// GET /v1/search/accounts
	SearchAccounts(ctx context.Context, params SearchAccountsParams) (SearchAccountsRes, error)
	// SearchTransactions invokes searchTransactions operation.
	//
	// Searches through the users transactions.
	//
	// GET /v1/search/transactions
	SearchTransactions(ctx context.Context, params SearchTransactionsParams) (SearchTransactionsRes, error)
	// SetConfiguration invokes setConfiguration operation.
	//
	// Set a single configuration value. Not all configuration values can be updated so the list of
	// accepted configuration variables is small.
	//
	// PUT /v1/configuration/{name}
	SetConfiguration(ctx context.Context, request *ConfigurationUpdate, params SetConfigurationParams) (SetConfigurationRes, error)
	// StoreAccount invokes storeAccount operation.
	//
	// Creates a new account. The data required can be submitted as a JSON body or as a list of
	// parameters (in key=value pairs, like a webform).
	//
	// POST /v1/accounts
	StoreAccount(ctx context.Context, request *AccountStore, params StoreAccountParams) (StoreAccountRes, error)
	// StoreAttachment invokes storeAttachment operation.
	//
	// Creates a new attachment. The data required can be submitted as a JSON body or as a list of
	// parameters. You cannot use this endpoint to upload the actual file data (see below). This endpoint
	// only creates the attachment object.
	//
	// POST /v1/attachments
	StoreAttachment(ctx context.Context, request *AttachmentStore, params StoreAttachmentParams) (StoreAttachmentRes, error)
	// StoreBill invokes storeBill operation.
	//
	// Creates a new bill. The data required can be submitted as a JSON body or as a list of parameters.
	//
	// POST /v1/bills
	StoreBill(ctx context.Context, request *BillStore, params StoreBillParams) (StoreBillRes, error)
	// StoreBudget invokes storeBudget operation.
	//
	// Creates a new budget. The data required can be submitted as a JSON body or as a list of parameters.
	//
	// POST /v1/budgets
	StoreBudget(ctx context.Context, request *BudgetStore, params StoreBudgetParams) (StoreBudgetRes, error)
	// StoreBudgetLimit invokes storeBudgetLimit operation.
	//
	// Store a new budget limit under this budget.
	//
	// POST /v1/budgets/{id}/limits
	StoreBudgetLimit(ctx context.Context, request *BudgetLimitStore, params StoreBudgetLimitParams) (StoreBudgetLimitRes, error)
	// StoreCategory invokes storeCategory operation.
	//
	// Creates a new category. The data required can be submitted as a JSON body or as a list of
	// parameters.
	//
	// POST /v1/categories
	StoreCategory(ctx context.Context, request *Category, params StoreCategoryParams) (StoreCategoryRes, error)
	// StoreCurrency invokes storeCurrency operation.
	//
	// Creates a new currency. The data required can be submitted as a JSON body or as a list of
	// parameters.
	//
	// POST /v1/currencies
	StoreCurrency(ctx context.Context, request *CurrencyStore, params StoreCurrencyParams) (StoreCurrencyRes, error)
	// StoreLinkType invokes storeLinkType operation.
	//
	// Creates a new link type. The data required can be submitted as a JSON body or as a list of
	// parameters (in key=value pairs, like a webform).
	//
	// POST /v1/link-types
	StoreLinkType(ctx context.Context, request *LinkType, params StoreLinkTypeParams) (StoreLinkTypeRes, error)
	// StorePiggyBank invokes storePiggyBank operation.
	//
	// Creates a new piggy bank. The data required can be submitted as a JSON body or as a list of
	// parameters.
	//
	// POST /v1/piggy-banks
	StorePiggyBank(ctx context.Context, request *PiggyBankStore, params StorePiggyBankParams) (StorePiggyBankRes, error)
	// StorePreference invokes storePreference operation.
	//
	// This endpoint creates a new preference. The name and data are free-format, and entirely up to you.
	// If the preference is not used in Firefly III itself it may not be configurable through the user
	// interface, but you can use this endpoint to persist custom data for your own app.
	//
	// POST /v1/preferences
	StorePreference(ctx context.Context, request *Preference, params StorePreferenceParams) (StorePreferenceRes, error)
	// StoreRecurrence invokes storeRecurrence operation.
	//
	// Creates a new recurring transaction. The data required can be submitted as a JSON body or as a
	// list of parameters.
	//
	// POST /v1/recurrences
	StoreRecurrence(ctx context.Context, request *RecurrenceStore, params StoreRecurrenceParams) (StoreRecurrenceRes, error)
	// StoreRule invokes storeRule operation.
	//
	// Creates a new rule. The data required can be submitted as a JSON body or as a list of parameters.
	//
	// POST /v1/rules
	StoreRule(ctx context.Context, request *RuleStore, params StoreRuleParams) (StoreRuleRes, error)
	// StoreRuleGroup invokes storeRuleGroup operation.
	//
	// Creates a new rule group. The data required can be submitted as a JSON body or as a list of
	// parameters.
	//
	// POST /v1/rule-groups
	StoreRuleGroup(ctx context.Context, request *RuleGroupStore, params StoreRuleGroupParams) (StoreRuleGroupRes, error)
	// StoreTag invokes storeTag operation.
	//
	// Creates a new tag. The data required can be submitted as a JSON body or as a list of parameters.
	//
	// POST /v1/tags
	StoreTag(ctx context.Context, request *TagModelStore, params StoreTagParams) (StoreTagRes, error)
	// StoreTransaction invokes storeTransaction operation.
	//
	// Creates a new transaction. The data required can be submitted as a JSON body or as a list of
	// parameters.
	//
	// POST /v1/transactions
	StoreTransaction(ctx context.Context, request *TransactionStore, params StoreTransactionParams) (StoreTransactionRes, error)
	// StoreTransactionLink invokes storeTransactionLink operation.
	//
	// Store a new link between two transactions. For this end point you need the journal_id from a
	// transaction.
	//
	// POST /v1/transaction-links
	StoreTransactionLink(ctx context.Context, request *TransactionLinkStore, params StoreTransactionLinkParams) (StoreTransactionLinkRes, error)
	// StoreUser invokes storeUser operation.
	//
	// Creates a new user. The data required can be submitted as a JSON body or as a list of parameters.
	// The user will be given a random password, which they can reset using the "forgot password"
	// function.
	//
	// POST /v1/users
	StoreUser(ctx context.Context, request *User, params StoreUserParams) (StoreUserRes, error)
	// StoreWebhook invokes storeWebhook operation.
	//
	// Creates a new webhook. The data required can be submitted as a JSON body or as a list of
	// parameters. The webhook will be given a random secret.
	//
	// POST /v1/webhooks
	StoreWebhook(ctx context.Context, request *WebhookStore, params StoreWebhookParams) (StoreWebhookRes, error)
	// SubmitWebook invokes submitWebook operation.
	//
	// This endpoint will submit any open messages for this webhook. This is an asynchronous operation,
	// so you can't see the result. Refresh the webhook message and/or the webhook message attempts to
	// see the results. This may take some time if the webhook receiver is slow.
	//
	// POST /v1/webhooks/{id}/submit
	SubmitWebook(ctx context.Context, params SubmitWebookParams) (SubmitWebookRes, error)
	// TestRule invokes testRule operation.
	//
	// Test which transactions would be hit by the rule. No changes will be made. Limit the result if you
	// want to.
	//
	// GET /v1/rules/{id}/test
	TestRule(ctx context.Context, params TestRuleParams) (TestRuleRes, error)
	// TestRuleGroup invokes testRuleGroup operation.
	//
	// Test which transactions would be hit by the rule group. No changes will be made. Limit the result
	// if you want to.
	//
	// GET /v1/rule-groups/{id}/test
	TestRuleGroup(ctx context.Context, params TestRuleGroupParams) (TestRuleGroupRes, error)
	// UpdateAccount invokes updateAccount operation.
	//
	// Used to update a single account. All fields that are not submitted will be cleared (set to NULL).
	// The model will tell you which fields are mandatory.
	//
	// PUT /v1/accounts/{id}
	UpdateAccount(ctx context.Context, request *AccountUpdate, params UpdateAccountParams) (UpdateAccountRes, error)
	// UpdateAttachment invokes updateAttachment operation.
	//
	// Update the meta data for an existing attachment. This endpoint does not allow you to upload or
	// download data. For that, see below.
	//
	// PUT /v1/attachments/{id}
	UpdateAttachment(ctx context.Context, request *AttachmentUpdate, params UpdateAttachmentParams) (UpdateAttachmentRes, error)
	// UpdateBill invokes updateBill operation.
	//
	// Update existing bill.
	//
	// PUT /v1/bills/{id}
	UpdateBill(ctx context.Context, request *BillUpdate, params UpdateBillParams) (UpdateBillRes, error)
	// UpdateBudget invokes updateBudget operation.
	//
	// Update existing budget. This endpoint cannot be used to set budget amount limits.
	//
	// PUT /v1/budgets/{id}
	UpdateBudget(ctx context.Context, request *BudgetUpdate, params UpdateBudgetParams) (UpdateBudgetRes, error)
	// UpdateBudgetLimit invokes updateBudgetLimit operation.
	//
	// Update existing budget limit.
	//
	// PUT /v1/budgets/{id}/limits/{limitId}
	UpdateBudgetLimit(ctx context.Context, request *BudgetLimit, params UpdateBudgetLimitParams) (UpdateBudgetLimitRes, error)
	// UpdateCategory invokes updateCategory operation.
	//
	// Update existing category.
	//
	// PUT /v1/categories/{id}
	UpdateCategory(ctx context.Context, request *CategoryUpdate, params UpdateCategoryParams) (UpdateCategoryRes, error)
	// UpdateCurrency invokes updateCurrency operation.
	//
	// Update existing currency.
	//
	// PUT /v1/currencies/{code}
	UpdateCurrency(ctx context.Context, request *CurrencyUpdate, params UpdateCurrencyParams) (UpdateCurrencyRes, error)
	// UpdateLinkType invokes updateLinkType operation.
	//
	// Used to update a single link type. All fields that are not submitted will be cleared (set to NULL).
	//  The model will tell you which fields are mandatory. You cannot update some of the system provided
	// link types, indicated by the editable=false flag when you list it.
	//
	// PUT /v1/link-types/{id}
	UpdateLinkType(ctx context.Context, request *LinkTypeUpdate, params UpdateLinkTypeParams) (UpdateLinkTypeRes, error)
	// UpdateObjectGroup invokes updateObjectGroup operation.
	//
	// Update existing object group.
	//
	// PUT /v1/object-groups/{id}
	UpdateObjectGroup(ctx context.Context, request *ObjectGroupUpdate, params UpdateObjectGroupParams) (UpdateObjectGroupRes, error)
	// UpdatePiggyBank invokes updatePiggyBank operation.
	//
	// Update existing piggy bank.
	//
	// PUT /v1/piggy-banks/{id}
	UpdatePiggyBank(ctx context.Context, request *PiggyBankUpdate, params UpdatePiggyBankParams) (UpdatePiggyBankRes, error)
	// UpdatePreference invokes updatePreference operation.
	//
	// Update a user's preference.
	//
	// PUT /v1/preferences/{name}
	UpdatePreference(ctx context.Context, request *PreferenceUpdate, params UpdatePreferenceParams) (UpdatePreferenceRes, error)
	// UpdateRecurrence invokes updateRecurrence operation.
	//
	// Update existing recurring transaction.
	//
	// PUT /v1/recurrences/{id}
	UpdateRecurrence(ctx context.Context, request *RecurrenceUpdate, params UpdateRecurrenceParams) (UpdateRecurrenceRes, error)
	// UpdateRule invokes updateRule operation.
	//
	// Update existing rule.
	//
	// PUT /v1/rules/{id}
	UpdateRule(ctx context.Context, request *RuleUpdate, params UpdateRuleParams) (UpdateRuleRes, error)
	// UpdateRuleGroup invokes updateRuleGroup operation.
	//
	// Update existing rule group.
	//
	// PUT /v1/rule-groups/{id}
	UpdateRuleGroup(ctx context.Context, request *RuleGroupUpdate, params UpdateRuleGroupParams) (UpdateRuleGroupRes, error)
	// UpdateTag invokes updateTag operation.
	//
	// Update existing tag.
	//
	// PUT /v1/tags/{tag}
	UpdateTag(ctx context.Context, request *TagModelUpdate, params UpdateTagParams) (UpdateTagRes, error)
	// UpdateTransaction invokes updateTransaction operation.
	//
	// Update an existing transaction.
	//
	// PUT /v1/transactions/{id}
	UpdateTransaction(ctx context.Context, request *TransactionUpdate, params UpdateTransactionParams) (UpdateTransactionRes, error)
	// UpdateTransactionLink invokes updateTransactionLink operation.
	//
	// Used to update a single existing link.
	//
	// PUT /v1/transaction-links/{id}
	UpdateTransactionLink(ctx context.Context, request *TransactionLinkUpdate, params UpdateTransactionLinkParams) (UpdateTransactionLinkRes, error)
	// UpdateUser invokes updateUser operation.
	//
	// Update existing user.
	//
	// PUT /v1/users/{id}
	UpdateUser(ctx context.Context, request *User, params UpdateUserParams) (UpdateUserRes, error)
	// UpdateWebhook invokes updateWebhook operation.
	//
	// Update an existing webhook's information. If you wish to reset the secret, submit any value as the
	// "secret". Firefly III will take this as a hint and reset the secret of the webhook.
	//
	// PUT /v1/webhooks/{id}
	UpdateWebhook(ctx context.Context, request *WebhookUpdate, params UpdateWebhookParams) (UpdateWebhookRes, error)
	// UploadAttachment invokes uploadAttachment operation.
	//
	// Use this endpoint to upload (and possible overwrite) the file contents of an attachment. Simply
	// put the entire file in the body as binary data.
	//
	// POST /v1/attachments/{id}/upload
	UploadAttachment(ctx context.Context, request UploadAttachmentReq, params UploadAttachmentParams) (UploadAttachmentRes, error)
}

Invoker invokes operations described by OpenAPI v3 specification.

func NewDefaultClient

func NewDefaultClient(params ClientParams) (Invoker, error)

type LiabilityDirection

type LiabilityDirection string

'credit' indicates somebody owes you the liability. 'debit' Indicates you owe this debt yourself. Works only for liabiltiies. Ref: #/components/schemas/LiabilityDirection

const (
	LiabilityDirectionCredit LiabilityDirection = "credit"
	LiabilityDirectionDebit  LiabilityDirection = "debit"
)

func (LiabilityDirection) AllValues

func (LiabilityDirection) AllValues() []LiabilityDirection

AllValues returns all LiabilityDirection values.

func (*LiabilityDirection) Decode

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

Decode decodes LiabilityDirection from json.

func (LiabilityDirection) Encode

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

Encode encodes LiabilityDirection as json.

func (LiabilityDirection) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (LiabilityDirection) MarshalText

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

MarshalText implements encoding.TextMarshaler.

func (*LiabilityDirection) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

func (*LiabilityDirection) UnmarshalText

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

UnmarshalText implements encoding.TextUnmarshaler.

func (LiabilityDirection) Validate

func (s LiabilityDirection) Validate() error

type LiabilityType

type LiabilityType string

Mandatory when type is liability. Specifies the exact type. Ref: #/components/schemas/LiabilityType

const (
	LiabilityTypeLoan     LiabilityType = "loan"
	LiabilityTypeDebt     LiabilityType = "debt"
	LiabilityTypeMortgage LiabilityType = "mortgage"
)

func (LiabilityType) AllValues

func (LiabilityType) AllValues() []LiabilityType

AllValues returns all LiabilityType values.

func (*LiabilityType) Decode

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

Decode decodes LiabilityType from json.

func (LiabilityType) Encode

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

Encode encodes LiabilityType as json.

func (LiabilityType) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (LiabilityType) MarshalText

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

MarshalText implements encoding.TextMarshaler.

func (*LiabilityType) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

func (*LiabilityType) UnmarshalText

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

UnmarshalText implements encoding.TextUnmarshaler.

func (LiabilityType) Validate

func (s LiabilityType) Validate() error

type LinkType

type LinkType struct {
	Name     string  `json:"name"`
	Inward   string  `json:"inward"`
	Outward  string  `json:"outward"`
	Editable OptBool `json:"editable"`
}

Ref: #/components/schemas/LinkType

func (*LinkType) Decode

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

Decode decodes LinkType from json.

func (*LinkType) Encode

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

Encode implements json.Marshaler.

func (*LinkType) GetEditable

func (s *LinkType) GetEditable() OptBool

GetEditable returns the value of Editable.

func (*LinkType) GetInward

func (s *LinkType) GetInward() string

GetInward returns the value of Inward.

func (*LinkType) GetName

func (s *LinkType) GetName() string

GetName returns the value of Name.

func (*LinkType) GetOutward

func (s *LinkType) GetOutward() string

GetOutward returns the value of Outward.

func (*LinkType) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*LinkType) SetEditable

func (s *LinkType) SetEditable(val OptBool)

SetEditable sets the value of Editable.

func (*LinkType) SetInward

func (s *LinkType) SetInward(val string)

SetInward sets the value of Inward.

func (*LinkType) SetName

func (s *LinkType) SetName(val string)

SetName sets the value of Name.

func (*LinkType) SetOutward

func (s *LinkType) SetOutward(val string)

SetOutward sets the value of Outward.

func (*LinkType) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

type LinkTypeArray

type LinkTypeArray struct {
	Data  []LinkTypeRead `json:"data"`
	Meta  Meta           `json:"meta"`
	Links PageLink       `json:"links"`
}

Ref: #/components/schemas/LinkTypeArray

func (*LinkTypeArray) Decode

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

Decode decodes LinkTypeArray from json.

func (*LinkTypeArray) Encode

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

Encode implements json.Marshaler.

func (*LinkTypeArray) GetData

func (s *LinkTypeArray) GetData() []LinkTypeRead

GetData returns the value of Data.

func (s *LinkTypeArray) GetLinks() PageLink

GetLinks returns the value of Links.

func (*LinkTypeArray) GetMeta

func (s *LinkTypeArray) GetMeta() Meta

GetMeta returns the value of Meta.

func (*LinkTypeArray) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*LinkTypeArray) SetData

func (s *LinkTypeArray) SetData(val []LinkTypeRead)

SetData sets the value of Data.

func (s *LinkTypeArray) SetLinks(val PageLink)

SetLinks sets the value of Links.

func (*LinkTypeArray) SetMeta

func (s *LinkTypeArray) SetMeta(val Meta)

SetMeta sets the value of Meta.

func (*LinkTypeArray) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

func (*LinkTypeArray) Validate

func (s *LinkTypeArray) Validate() error

type LinkTypeRead

type LinkTypeRead struct {
	// Immutable value.
	Type       string     `json:"type"`
	ID         string     `json:"id"`
	Attributes LinkType   `json:"attributes"`
	Links      ObjectLink `json:"links"`
}

Ref: #/components/schemas/LinkTypeRead

func (*LinkTypeRead) Decode

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

Decode decodes LinkTypeRead from json.

func (*LinkTypeRead) Encode

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

Encode implements json.Marshaler.

func (*LinkTypeRead) GetAttributes

func (s *LinkTypeRead) GetAttributes() LinkType

GetAttributes returns the value of Attributes.

func (*LinkTypeRead) GetID

func (s *LinkTypeRead) GetID() string

GetID returns the value of ID.

func (s *LinkTypeRead) GetLinks() ObjectLink

GetLinks returns the value of Links.

func (*LinkTypeRead) GetType

func (s *LinkTypeRead) GetType() string

GetType returns the value of Type.

func (*LinkTypeRead) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*LinkTypeRead) SetAttributes

func (s *LinkTypeRead) SetAttributes(val LinkType)

SetAttributes sets the value of Attributes.

func (*LinkTypeRead) SetID

func (s *LinkTypeRead) SetID(val string)

SetID sets the value of ID.

func (s *LinkTypeRead) SetLinks(val ObjectLink)

SetLinks sets the value of Links.

func (*LinkTypeRead) SetType

func (s *LinkTypeRead) SetType(val string)

SetType sets the value of Type.

func (*LinkTypeRead) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

type LinkTypeSingle

type LinkTypeSingle struct {
	Data LinkTypeRead `json:"data"`
}

Ref: #/components/schemas/LinkTypeSingle

func (*LinkTypeSingle) Decode

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

Decode decodes LinkTypeSingle from json.

func (*LinkTypeSingle) Encode

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

Encode implements json.Marshaler.

func (*LinkTypeSingle) GetData

func (s *LinkTypeSingle) GetData() LinkTypeRead

GetData returns the value of Data.

func (*LinkTypeSingle) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*LinkTypeSingle) SetData

func (s *LinkTypeSingle) SetData(val LinkTypeRead)

SetData sets the value of Data.

func (*LinkTypeSingle) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

type LinkTypeUpdate

type LinkTypeUpdate struct {
	Name    OptString `json:"name"`
	Inward  OptString `json:"inward"`
	Outward OptString `json:"outward"`
}

Ref: #/components/schemas/LinkTypeUpdate

func (*LinkTypeUpdate) Decode

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

Decode decodes LinkTypeUpdate from json.

func (*LinkTypeUpdate) Encode

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

Encode implements json.Marshaler.

func (*LinkTypeUpdate) GetInward

func (s *LinkTypeUpdate) GetInward() OptString

GetInward returns the value of Inward.

func (*LinkTypeUpdate) GetName

func (s *LinkTypeUpdate) GetName() OptString

GetName returns the value of Name.

func (*LinkTypeUpdate) GetOutward

func (s *LinkTypeUpdate) GetOutward() OptString

GetOutward returns the value of Outward.

func (*LinkTypeUpdate) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*LinkTypeUpdate) SetInward

func (s *LinkTypeUpdate) SetInward(val OptString)

SetInward sets the value of Inward.

func (*LinkTypeUpdate) SetName

func (s *LinkTypeUpdate) SetName(val OptString)

SetName sets the value of Name.

func (*LinkTypeUpdate) SetOutward

func (s *LinkTypeUpdate) SetOutward(val OptString)

SetOutward sets the value of Outward.

func (*LinkTypeUpdate) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

type ListAccountByCurrencyParams

type ListAccountByCurrencyParams struct {
	// Unique identifier associated with this request.
	XTraceID OptUUID
	// The currency code.
	Code string
	// Page number. The default pagination is 50.
	Page OptInt
	// A date formatted YYYY-MM-DD. When added to the request, Firefly III will show the account's
	// balance on that day.
	Date OptDate
	// Optional filter on the account type(s) returned.
	Type OptAccountTypeFilter
}

ListAccountByCurrencyParams is parameters of listAccountByCurrency operation.

type ListAccountByCurrencyRes

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

type ListAccountParams

type ListAccountParams struct {
	// Unique identifier associated with this request.
	XTraceID OptUUID
	// Page number. The default pagination is per 50 items.
	Page OptInt32
	// A date formatted YYYY-MM-DD. When added to the request, Firefly III will show the account's
	// balance on that day.
	Date OptDate
	// Optional filter on the account type(s) returned.
	Type OptAccountTypeFilter
}

ListAccountParams is parameters of listAccount operation.

type ListAccountRes

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

type ListAttachmentByAccountParams

type ListAttachmentByAccountParams struct {
	// Unique identifier associated with this request.
	XTraceID OptUUID
	// The ID of the account.
	ID string
	// Page number. The default pagination is 50.
	Page OptInt
}

ListAttachmentByAccountParams is parameters of listAttachmentByAccount operation.

type ListAttachmentByAccountRes

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

type ListAttachmentByBillParams

type ListAttachmentByBillParams struct {
	// Unique identifier associated with this request.
	XTraceID OptUUID
	// The ID of the bill.
	ID string
	// Page number. The default pagination is 50.
	Page OptInt
}

ListAttachmentByBillParams is parameters of listAttachmentByBill operation.

type ListAttachmentByBillRes

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

type ListAttachmentByBudgetParams

type ListAttachmentByBudgetParams struct {
	// Unique identifier associated with this request.
	XTraceID OptUUID
	// The ID of the budget.
	ID string
	// Page number. The default pagination is 50.
	Page OptInt
}

ListAttachmentByBudgetParams is parameters of listAttachmentByBudget operation.

type ListAttachmentByBudgetRes

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

type ListAttachmentByCategoryParams

type ListAttachmentByCategoryParams struct {
	// Unique identifier associated with this request.
	XTraceID OptUUID
	// The ID of the category.
	ID string
	// Page number. The default pagination is 50.
	Page OptInt
}

ListAttachmentByCategoryParams is parameters of listAttachmentByCategory operation.

type ListAttachmentByCategoryRes

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

type ListAttachmentByPiggyBankParams

type ListAttachmentByPiggyBankParams struct {
	// Unique identifier associated with this request.
	XTraceID OptUUID
	// The ID of the piggy bank.
	ID string
	// Page number. The default pagination is 50.
	Page OptInt
}

ListAttachmentByPiggyBankParams is parameters of listAttachmentByPiggyBank operation.

type ListAttachmentByPiggyBankRes

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

type ListAttachmentByTagParams

type ListAttachmentByTagParams struct {
	// Unique identifier associated with this request.
	XTraceID OptUUID
	// Either the tag itself or the tag ID.
	Tag string
	// Page number. The default pagination is 50.
	Page OptInt
}

ListAttachmentByTagParams is parameters of listAttachmentByTag operation.

type ListAttachmentByTagRes

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

type ListAttachmentByTransactionParams

type ListAttachmentByTransactionParams struct {
	// Unique identifier associated with this request.
	XTraceID OptUUID
	// The ID of the transaction.
	ID string
	// Page number. The default pagination is 50.
	Page OptInt
}

ListAttachmentByTransactionParams is parameters of listAttachmentByTransaction operation.

type ListAttachmentByTransactionRes

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

type ListAttachmentParams

type ListAttachmentParams struct {
	// Unique identifier associated with this request.
	XTraceID OptUUID
	// Page number. The default pagination is 50.
	Page OptInt
}

ListAttachmentParams is parameters of listAttachment operation.

type ListAttachmentRes

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

type ListAvailableBudgetByCurrencyParams

type ListAvailableBudgetByCurrencyParams struct {
	// Unique identifier associated with this request.
	XTraceID OptUUID
	// The currency code.
	Code string
	// Page number. The default pagination is 50.
	Page OptInt
}

ListAvailableBudgetByCurrencyParams is parameters of listAvailableBudgetByCurrency operation.

type ListAvailableBudgetByCurrencyRes

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

type ListAvailableBudgetParams

type ListAvailableBudgetParams struct {
	// Unique identifier associated with this request.
	XTraceID OptUUID
	// Page number. The default pagination is 50.
	Page OptInt
	// A date formatted YYYY-MM-DD.
	Start OptDate
	// A date formatted YYYY-MM-DD.
	End OptDate
}

ListAvailableBudgetParams is parameters of listAvailableBudget operation.

type ListAvailableBudgetRes

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

type ListBillByCurrencyParams

type ListBillByCurrencyParams struct {
	// Unique identifier associated with this request.
	XTraceID OptUUID
	// The currency code.
	Code string
	// Page number. The default pagination is 50.
	Page OptInt
}

ListBillByCurrencyParams is parameters of listBillByCurrency operation.

type ListBillByCurrencyRes

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

type ListBillByObjectGroupParams

type ListBillByObjectGroupParams struct {
	// Unique identifier associated with this request.
	XTraceID OptUUID
	// The ID of the account.
	ID string
	// Page number. The default pagination is per 50 items.
	Page OptInt
}

ListBillByObjectGroupParams is parameters of listBillByObjectGroup operation.

type ListBillByObjectGroupRes

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

type ListBillParams

type ListBillParams struct {
	// Unique identifier associated with this request.
	XTraceID OptUUID
	// Page number. The default pagination is 50.
	Page OptInt
	// A date formatted YYYY-MM-DD. If it is are added to the request, Firefly III will calculate the
	// appropriate payment and paid dates.
	Start OptDate
	// A date formatted YYYY-MM-DD. If it is added to the request, Firefly III will calculate the
	// appropriate payment and paid dates.
	End OptDate
}

ListBillParams is parameters of listBill operation.

type ListBillRes

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

type ListBudgetLimitByBudgetParams

type ListBudgetLimitByBudgetParams struct {
	// Unique identifier associated with this request.
	XTraceID OptUUID
	// The ID of the requested budget.
	ID string
	// A date formatted YYYY-MM-DD.
	Start OptDate
	// A date formatted YYYY-MM-DD.
	End OptDate
}

ListBudgetLimitByBudgetParams is parameters of listBudgetLimitByBudget operation.

type ListBudgetLimitByBudgetRes

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

type ListBudgetLimitByCurrencyParams

type ListBudgetLimitByCurrencyParams struct {
	// Unique identifier associated with this request.
	XTraceID OptUUID
	// The currency code.
	Code string
	// Page number. The default pagination is 50.
	Page OptInt
	// Start date for the budget limit list.
	Start OptDate
	// End date for the budget limit list.
	End OptDate
}

ListBudgetLimitByCurrencyParams is parameters of listBudgetLimitByCurrency operation.

type ListBudgetLimitByCurrencyRes

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

type ListBudgetLimitParams

type ListBudgetLimitParams struct {
	// Unique identifier associated with this request.
	XTraceID OptUUID
	// A date formatted YYYY-MM-DD.
	Start time.Time
	// A date formatted YYYY-MM-DD.
	End time.Time
}

ListBudgetLimitParams is parameters of listBudgetLimit operation.

type ListBudgetLimitRes

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

type ListBudgetParams

type ListBudgetParams struct {
	// Unique identifier associated with this request.
	XTraceID OptUUID
	// Page number. The default pagination is 50.
	Page OptInt
	// A date formatted YYYY-MM-DD, to get info on how much the user has spent. You must submit both
	// start and end.
	Start OptDate
	// A date formatted YYYY-MM-DD, to get info on how much the user has spent. You must submit both
	// start and end.
	End OptDate
}

ListBudgetParams is parameters of listBudget operation.

type ListBudgetRes

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

type ListCategoryParams

type ListCategoryParams struct {
	// Unique identifier associated with this request.
	XTraceID OptUUID
	// Page number. The default pagination is 50.
	Page OptInt
}

ListCategoryParams is parameters of listCategory operation.

type ListCategoryRes

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

type ListCurrencyParams

type ListCurrencyParams struct {
	// Unique identifier associated with this request.
	XTraceID OptUUID
	// Page number. The default pagination is 50.
	Page OptInt
}

ListCurrencyParams is parameters of listCurrency operation.

type ListCurrencyRes

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

type ListEventByPiggyBankParams

type ListEventByPiggyBankParams struct {
	// Unique identifier associated with this request.
	XTraceID OptUUID
	// The ID of the piggy bank.
	ID string
	// Page number. The default pagination is 50.
	Page OptInt
}

ListEventByPiggyBankParams is parameters of listEventByPiggyBank operation.

type ListEventByPiggyBankRes

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

type ListEventByTransactionParams

type ListEventByTransactionParams struct {
	// Unique identifier associated with this request.
	XTraceID OptUUID
	// The ID of the transaction.
	ID string
	// Page number. The default pagination is 50.
	Page OptInt
}

ListEventByTransactionParams is parameters of listEventByTransaction operation.

type ListEventByTransactionRes

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

type ListLinkTypeParams

type ListLinkTypeParams struct {
	// Unique identifier associated with this request.
	XTraceID OptUUID
	// Page number. The default pagination is 50 items.
	Page OptInt
}

ListLinkTypeParams is parameters of listLinkType operation.

type ListLinkTypeRes

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

type ListLinksByJournalParams

type ListLinksByJournalParams struct {
	// Unique identifier associated with this request.
	XTraceID OptUUID
	// The ID of the transaction journal / the split.
	ID string
	// Page number. The default pagination is 50.
	Page OptInt
}

ListLinksByJournalParams is parameters of listLinksByJournal operation.

type ListLinksByJournalRes

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

type ListObjectGroupsParams

type ListObjectGroupsParams struct {
	// Unique identifier associated with this request.
	XTraceID OptUUID
	// Page number. The default pagination is 50.
	Page OptInt
}

ListObjectGroupsParams is parameters of listObjectGroups operation.

type ListObjectGroupsRes

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

type ListPiggyBankByAccountParams

type ListPiggyBankByAccountParams struct {
	// Unique identifier associated with this request.
	XTraceID OptUUID
	// The ID of the account.
	ID string
	// Page number. The default pagination is per 50 items.
	Page OptInt
}

ListPiggyBankByAccountParams is parameters of listPiggyBankByAccount operation.

type ListPiggyBankByAccountRes

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

type ListPiggyBankByObjectGroupParams

type ListPiggyBankByObjectGroupParams struct {
	// Unique identifier associated with this request.
	XTraceID OptUUID
	// The ID of the account.
	ID string
	// Page number. The default pagination is per 50 items.
	Page OptInt
}

ListPiggyBankByObjectGroupParams is parameters of listPiggyBankByObjectGroup operation.

type ListPiggyBankByObjectGroupRes

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

type ListPiggyBankParams

type ListPiggyBankParams struct {
	// Unique identifier associated with this request.
	XTraceID OptUUID
	// Page number. The default pagination is 50.
	Page OptInt
}

ListPiggyBankParams is parameters of listPiggyBank operation.

type ListPiggyBankRes

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

type ListPreferenceParams

type ListPreferenceParams struct {
	// Unique identifier associated with this request.
	XTraceID OptUUID
	// Page number. The default pagination is 50.
	Page OptInt
}

ListPreferenceParams is parameters of listPreference operation.

type ListPreferenceRes

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

type ListRecurrenceByCurrencyParams

type ListRecurrenceByCurrencyParams struct {
	// Unique identifier associated with this request.
	XTraceID OptUUID
	// The currency code.
	Code string
	// Page number. The default pagination is 50.
	Page OptInt
}

ListRecurrenceByCurrencyParams is parameters of listRecurrenceByCurrency operation.

type ListRecurrenceByCurrencyRes

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

type ListRecurrenceParams

type ListRecurrenceParams struct {
	// Unique identifier associated with this request.
	XTraceID OptUUID
	// Page number. The default pagination is 50.
	Page OptInt
}

ListRecurrenceParams is parameters of listRecurrence operation.

type ListRecurrenceRes

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

type ListRuleByBillParams

type ListRuleByBillParams struct {
	// Unique identifier associated with this request.
	XTraceID OptUUID
	// The ID of the bill.
	ID string
}

ListRuleByBillParams is parameters of listRuleByBill operation.

type ListRuleByBillRes

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

type ListRuleByCurrencyParams

type ListRuleByCurrencyParams struct {
	// Unique identifier associated with this request.
	XTraceID OptUUID
	// The currency code.
	Code string
	// Page number. The default pagination per 50.
	Page OptInt
}

ListRuleByCurrencyParams is parameters of listRuleByCurrency operation.

type ListRuleByCurrencyRes

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

type ListRuleByGroupParams

type ListRuleByGroupParams struct {
	// Unique identifier associated with this request.
	XTraceID OptUUID
	// The ID of the rule group.
	ID string
	// Page number. The default pagination is 50.
	Page OptInt
}

ListRuleByGroupParams is parameters of listRuleByGroup operation.

type ListRuleByGroupRes

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

type ListRuleGroupParams

type ListRuleGroupParams struct {
	// Unique identifier associated with this request.
	XTraceID OptUUID
	// Page number. The default pagination is 50.
	Page OptInt
}

ListRuleGroupParams is parameters of listRuleGroup operation.

type ListRuleGroupRes

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

type ListRuleParams

type ListRuleParams struct {
	// Unique identifier associated with this request.
	XTraceID OptUUID
	// Page number. The default pagination is 50.
	Page OptInt
}

ListRuleParams is parameters of listRule operation.

type ListRuleRes

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

type ListTagParams

type ListTagParams struct {
	// Unique identifier associated with this request.
	XTraceID OptUUID
	// Page number.
	Page OptInt
}

ListTagParams is parameters of listTag operation.

type ListTagRes

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

type ListTransactionByAccountParams

type ListTransactionByAccountParams struct {
	// Unique identifier associated with this request.
	XTraceID OptUUID
	// The ID of the account.
	ID string
	// Page number. The default pagination is per 50 items.
	Page OptInt
	// Limits the number of results on one page.
	Limit OptInt
	// A date formatted YYYY-MM-DD.
	Start OptDate
	// A date formatted YYYY-MM-DD.
	End OptDate
	// Optional filter on the transaction type(s) returned.
	Type OptTransactionTypeFilter
}

ListTransactionByAccountParams is parameters of listTransactionByAccount operation.

type ListTransactionByAccountRes

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

type ListTransactionByBillParams

type ListTransactionByBillParams struct {
	// Unique identifier associated with this request.
	XTraceID OptUUID
	// The ID of the bill.
	ID string
	// A date formatted YYYY-MM-DD.
	Start OptDate
	// A date formatted YYYY-MM-DD.
	End OptDate
	// Optional filter on the transaction type(s) returned.
	Type OptTransactionTypeFilter
}

ListTransactionByBillParams is parameters of listTransactionByBill operation.

type ListTransactionByBillRes

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

type ListTransactionByBudgetLimitParams

type ListTransactionByBudgetLimitParams struct {
	// Unique identifier associated with this request.
	XTraceID OptUUID
	// The ID of the budget. The budget limit MUST be associated to the budget ID.
	ID string
	// The ID of the budget limit. The budget limit MUST be associated to the budget ID.
	LimitId string
	// Page number. The default pagination is 50.
	Page OptInt
	// Optional filter on the transaction type(s) returned.
	Type OptTransactionTypeFilter
}

ListTransactionByBudgetLimitParams is parameters of listTransactionByBudgetLimit operation.

type ListTransactionByBudgetLimitRes

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

type ListTransactionByBudgetParams

type ListTransactionByBudgetParams struct {
	// Unique identifier associated with this request.
	XTraceID OptUUID
	// The ID of the budget.
	ID string
	// Limits the number of results on one page.
	Limit OptInt
	// Page number. The default pagination is 50.
	Page OptInt
	// A date formatted YYYY-MM-DD.
	Start OptDate
	// A date formatted YYYY-MM-DD.
	End OptDate
	// Optional filter on the transaction type(s) returned.
	Type OptTransactionTypeFilter
}

ListTransactionByBudgetParams is parameters of listTransactionByBudget operation.

type ListTransactionByBudgetRes

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

type ListTransactionByCategoryParams

type ListTransactionByCategoryParams struct {
	// Unique identifier associated with this request.
	XTraceID OptUUID
	// The ID of the category.
	ID string
	// Page number. The default pagination is per 50.
	Page OptInt
	// A date formatted YYYY-MM-DD, to limit the result list.
	Start OptDate
	// A date formatted YYYY-MM-DD, to limit the result list.
	End OptDate
	// Optional filter on the transaction type(s) returned.
	Type OptTransactionTypeFilter
}

ListTransactionByCategoryParams is parameters of listTransactionByCategory operation.

type ListTransactionByCategoryRes

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

type ListTransactionByCurrencyParams

type ListTransactionByCurrencyParams struct {
	// Unique identifier associated with this request.
	XTraceID OptUUID
	// The currency code.
	Code string
	// Page number. The default pagination is per 50.
	Page OptInt
	// A date formatted YYYY-MM-DD, to limit the list of transactions.
	Start OptDate
	// A date formatted YYYY-MM-DD, to limit the list of transactions.
	End OptDate
	// Optional filter on the transaction type(s) returned.
	Type OptTransactionTypeFilter
}

ListTransactionByCurrencyParams is parameters of listTransactionByCurrency operation.

type ListTransactionByCurrencyRes

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

type ListTransactionByLinkTypeParams

type ListTransactionByLinkTypeParams struct {
	// Unique identifier associated with this request.
	XTraceID OptUUID
	// The ID of the link type.
	ID string
	// Page number. The default pagination is per 50 items.
	Page OptInt
	// A date formatted YYYY-MM-DD, to limit the results.
	Start OptDate
	// A date formatted YYYY-MM-DD, to limit the results.
	End OptDate
	// Optional filter on the transaction type(s) returned.
	Type OptTransactionTypeFilter
}

ListTransactionByLinkTypeParams is parameters of listTransactionByLinkType operation.

type ListTransactionByLinkTypeRes

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

type ListTransactionByRecurrenceParams

type ListTransactionByRecurrenceParams struct {
	// Unique identifier associated with this request.
	XTraceID OptUUID
	// The ID of the recurring transaction.
	ID string
	// Page number. The default pagination is 50.
	Page OptInt
	// A date formatted YYYY-MM-DD. Both the start and end date must be present.
	Start OptDate
	// A date formatted YYYY-MM-DD. Both the start and end date must be present.
	End OptDate
	// Optional filter on the transaction type(s) returned.
	Type OptTransactionTypeFilter
}

ListTransactionByRecurrenceParams is parameters of listTransactionByRecurrence operation.

type ListTransactionByRecurrenceRes

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

type ListTransactionByTagParams

type ListTransactionByTagParams struct {
	// Unique identifier associated with this request.
	XTraceID OptUUID
	// Either the tag itself or the tag ID.
	Tag string
	// Page number. The default pagination is 50.
	Page OptInt
	// A date formatted YYYY-MM-DD. This is the start date of the selected range (inclusive).
	Start OptDate
	// A date formatted YYYY-MM-DD. This is the end date of the selected range (inclusive).
	End OptDate
	// Optional filter on the transaction type(s) returned.
	Type OptTransactionTypeFilter
}

ListTransactionByTagParams is parameters of listTransactionByTag operation.

type ListTransactionByTagRes

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

type ListTransactionLinkParams

type ListTransactionLinkParams struct {
	// Unique identifier associated with this request.
	XTraceID OptUUID
	// Page number. The default pagination is per 50 items.
	Page OptInt
}

ListTransactionLinkParams is parameters of listTransactionLink operation.

type ListTransactionLinkRes

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

type ListTransactionParams

type ListTransactionParams struct {
	// Unique identifier associated with this request.
	XTraceID OptUUID
	// Page number. The default pagination is 50.
	Page OptInt
	// A date formatted YYYY-MM-DD. This is the start date of the selected range (inclusive).
	Start OptDate
	// A date formatted YYYY-MM-DD. This is the end date of the selected range (inclusive).
	End OptDate
	// Optional filter on the transaction type(s) returned.
	Type OptTransactionTypeFilter
}

ListTransactionParams is parameters of listTransaction operation.

type ListTransactionRes

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

type ListUserParams

type ListUserParams struct {
	// Unique identifier associated with this request.
	XTraceID OptUUID
	// The page number, if necessary. The default pagination is 50, so 50 users per page.
	Page OptInt
}

ListUserParams is parameters of listUser operation.

type ListUserRes

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

type ListWebhookParams

type ListWebhookParams struct {
	// Unique identifier associated with this request.
	XTraceID OptUUID
	// The page number, if necessary. The default pagination is 50, so 50 webhooks per page.
	Page OptInt
}

ListWebhookParams is parameters of listWebhook operation.

type ListWebhookRes

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

type Meta

type Meta struct {
	Pagination OptMetaPagination `json:"pagination"`
}

Ref: #/components/schemas/Meta

func (*Meta) Decode

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

Decode decodes Meta from json.

func (*Meta) Encode

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

Encode implements json.Marshaler.

func (*Meta) GetPagination

func (s *Meta) GetPagination() OptMetaPagination

GetPagination returns the value of Pagination.

func (*Meta) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*Meta) SetPagination

func (s *Meta) SetPagination(val OptMetaPagination)

SetPagination sets the value of Pagination.

func (*Meta) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

type MetaPagination

type MetaPagination struct {
	Total       OptInt `json:"total"`
	Count       OptInt `json:"count"`
	PerPage     OptInt `json:"per_page"`
	CurrentPage OptInt `json:"current_page"`
	TotalPages  OptInt `json:"total_pages"`
}

func (*MetaPagination) Decode

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

Decode decodes MetaPagination from json.

func (*MetaPagination) Encode

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

Encode implements json.Marshaler.

func (*MetaPagination) GetCount

func (s *MetaPagination) GetCount() OptInt

GetCount returns the value of Count.

func (*MetaPagination) GetCurrentPage

func (s *MetaPagination) GetCurrentPage() OptInt

GetCurrentPage returns the value of CurrentPage.

func (*MetaPagination) GetPerPage

func (s *MetaPagination) GetPerPage() OptInt

GetPerPage returns the value of PerPage.

func (*MetaPagination) GetTotal

func (s *MetaPagination) GetTotal() OptInt

GetTotal returns the value of Total.

func (*MetaPagination) GetTotalPages

func (s *MetaPagination) GetTotalPages() OptInt

GetTotalPages returns the value of TotalPages.

func (*MetaPagination) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*MetaPagination) SetCount

func (s *MetaPagination) SetCount(val OptInt)

SetCount sets the value of Count.

func (*MetaPagination) SetCurrentPage

func (s *MetaPagination) SetCurrentPage(val OptInt)

SetCurrentPage sets the value of CurrentPage.

func (*MetaPagination) SetPerPage

func (s *MetaPagination) SetPerPage(val OptInt)

SetPerPage sets the value of PerPage.

func (*MetaPagination) SetTotal

func (s *MetaPagination) SetTotal(val OptInt)

SetTotal sets the value of Total.

func (*MetaPagination) SetTotalPages

func (s *MetaPagination) SetTotalPages(val OptInt)

SetTotalPages sets the value of TotalPages.

func (*MetaPagination) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

type NilDate

type NilDate struct {
	Value time.Time
	Null  bool
}

NilDate is nullable time.Time.

func NewNilDate

func NewNilDate(v time.Time) NilDate

NewNilDate returns new NilDate with value set to v.

func (*NilDate) Decode

func (o *NilDate) Decode(d *jx.Decoder, format func(*jx.Decoder) (time.Time, error)) error

Decode decodes time.Time from json.

func (NilDate) Encode

func (o NilDate) Encode(e *jx.Encoder, format func(*jx.Encoder, time.Time))

Encode encodes time.Time as json.

func (NilDate) Get

func (o NilDate) Get() (v time.Time, ok bool)

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

func (NilDate) IsNull

func (o NilDate) IsNull() bool

IsSet returns true if value is Null.

func (NilDate) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (NilDate) Or

func (o NilDate) Or(d time.Time) time.Time

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

func (*NilDate) SetTo

func (o *NilDate) SetTo(v time.Time)

SetTo sets value to v.

func (*NilDate) SetToNull

func (o *NilDate) SetToNull()

SetNull sets value to null.

func (*NilDate) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

type NilString

type NilString struct {
	Value string
	Null  bool
}

NilString is nullable string.

func NewNilString

func NewNilString(v string) NilString

NewNilString returns new NilString with value set to v.

func (*NilString) Decode

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

Decode decodes string from json.

func (NilString) Encode

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

Encode encodes string as json.

func (NilString) Get

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

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

func (NilString) IsNull

func (o NilString) IsNull() bool

IsSet returns true if value is Null.

func (NilString) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (NilString) Or

func (o NilString) Or(d string) string

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

func (*NilString) SetTo

func (o *NilString) SetTo(v string)

SetTo sets value to v.

func (*NilString) SetToNull

func (o *NilString) SetToNull()

SetNull sets value to null.

func (*NilString) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

type NotFound

type NotFound struct {
	Message   OptString `json:"message"`
	Exception OptString `json:"exception"`
}

Ref: #/components/schemas/NotFound

func (*NotFound) Decode

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

Decode decodes NotFound from json.

func (*NotFound) Encode

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

Encode implements json.Marshaler.

func (*NotFound) GetException

func (s *NotFound) GetException() OptString

GetException returns the value of Exception.

func (*NotFound) GetMessage

func (s *NotFound) GetMessage() OptString

GetMessage returns the value of Message.

func (*NotFound) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*NotFound) SetException

func (s *NotFound) SetException(val OptString)

SetException sets the value of Exception.

func (*NotFound) SetMessage

func (s *NotFound) SetMessage(val OptString)

SetMessage sets the value of Message.

func (*NotFound) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

type ObjectGroup

type ObjectGroup struct {
	CreatedAt OptDateTime `json:"created_at"`
	UpdatedAt OptDateTime `json:"updated_at"`
	Title     string      `json:"title"`
	// Order of the object group.
	Order int32 `json:"order"`
}

Ref: #/components/schemas/ObjectGroup

func (*ObjectGroup) Decode

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

Decode decodes ObjectGroup from json.

func (*ObjectGroup) Encode

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

Encode implements json.Marshaler.

func (*ObjectGroup) GetCreatedAt

func (s *ObjectGroup) GetCreatedAt() OptDateTime

GetCreatedAt returns the value of CreatedAt.

func (*ObjectGroup) GetOrder

func (s *ObjectGroup) GetOrder() int32

GetOrder returns the value of Order.

func (*ObjectGroup) GetTitle

func (s *ObjectGroup) GetTitle() string

GetTitle returns the value of Title.

func (*ObjectGroup) GetUpdatedAt

func (s *ObjectGroup) GetUpdatedAt() OptDateTime

GetUpdatedAt returns the value of UpdatedAt.

func (*ObjectGroup) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*ObjectGroup) SetCreatedAt

func (s *ObjectGroup) SetCreatedAt(val OptDateTime)

SetCreatedAt sets the value of CreatedAt.

func (*ObjectGroup) SetOrder

func (s *ObjectGroup) SetOrder(val int32)

SetOrder sets the value of Order.

func (*ObjectGroup) SetTitle

func (s *ObjectGroup) SetTitle(val string)

SetTitle sets the value of Title.

func (*ObjectGroup) SetUpdatedAt

func (s *ObjectGroup) SetUpdatedAt(val OptDateTime)

SetUpdatedAt sets the value of UpdatedAt.

func (*ObjectGroup) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

type ObjectGroupArray

type ObjectGroupArray struct {
	Data []ObjectGroupRead `json:"data"`
	Meta Meta              `json:"meta"`
}

Ref: #/components/schemas/ObjectGroupArray

func (*ObjectGroupArray) Decode

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

Decode decodes ObjectGroupArray from json.

func (*ObjectGroupArray) Encode

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

Encode implements json.Marshaler.

func (*ObjectGroupArray) GetData

func (s *ObjectGroupArray) GetData() []ObjectGroupRead

GetData returns the value of Data.

func (*ObjectGroupArray) GetMeta

func (s *ObjectGroupArray) GetMeta() Meta

GetMeta returns the value of Meta.

func (*ObjectGroupArray) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*ObjectGroupArray) SetData

func (s *ObjectGroupArray) SetData(val []ObjectGroupRead)

SetData sets the value of Data.

func (*ObjectGroupArray) SetMeta

func (s *ObjectGroupArray) SetMeta(val Meta)

SetMeta sets the value of Meta.

func (*ObjectGroupArray) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

func (*ObjectGroupArray) Validate

func (s *ObjectGroupArray) Validate() error

type ObjectGroupRead

type ObjectGroupRead struct {
	// Immutable value.
	Type       string      `json:"type"`
	ID         string      `json:"id"`
	Attributes ObjectGroup `json:"attributes"`
}

Ref: #/components/schemas/ObjectGroupRead

func (*ObjectGroupRead) Decode

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

Decode decodes ObjectGroupRead from json.

func (*ObjectGroupRead) Encode

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

Encode implements json.Marshaler.

func (*ObjectGroupRead) GetAttributes

func (s *ObjectGroupRead) GetAttributes() ObjectGroup

GetAttributes returns the value of Attributes.

func (*ObjectGroupRead) GetID

func (s *ObjectGroupRead) GetID() string

GetID returns the value of ID.

func (*ObjectGroupRead) GetType

func (s *ObjectGroupRead) GetType() string

GetType returns the value of Type.

func (*ObjectGroupRead) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*ObjectGroupRead) SetAttributes

func (s *ObjectGroupRead) SetAttributes(val ObjectGroup)

SetAttributes sets the value of Attributes.

func (*ObjectGroupRead) SetID

func (s *ObjectGroupRead) SetID(val string)

SetID sets the value of ID.

func (*ObjectGroupRead) SetType

func (s *ObjectGroupRead) SetType(val string)

SetType sets the value of Type.

func (*ObjectGroupRead) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

type ObjectGroupSingle

type ObjectGroupSingle struct {
	Data ObjectGroupRead `json:"data"`
}

Ref: #/components/schemas/ObjectGroupSingle

func (*ObjectGroupSingle) Decode

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

Decode decodes ObjectGroupSingle from json.

func (*ObjectGroupSingle) Encode

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

Encode implements json.Marshaler.

func (*ObjectGroupSingle) GetData

func (s *ObjectGroupSingle) GetData() ObjectGroupRead

GetData returns the value of Data.

func (*ObjectGroupSingle) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*ObjectGroupSingle) SetData

func (s *ObjectGroupSingle) SetData(val ObjectGroupRead)

SetData sets the value of Data.

func (*ObjectGroupSingle) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

type ObjectGroupUpdate

type ObjectGroupUpdate struct {
	Title string `json:"title"`
	// Order of the object group.
	Order OptInt32 `json:"order"`
}

Ref: #/components/schemas/ObjectGroupUpdate

func (*ObjectGroupUpdate) Decode

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

Decode decodes ObjectGroupUpdate from json.

func (*ObjectGroupUpdate) Encode

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

Encode implements json.Marshaler.

func (*ObjectGroupUpdate) GetOrder

func (s *ObjectGroupUpdate) GetOrder() OptInt32

GetOrder returns the value of Order.

func (*ObjectGroupUpdate) GetTitle

func (s *ObjectGroupUpdate) GetTitle() string

GetTitle returns the value of Title.

func (*ObjectGroupUpdate) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*ObjectGroupUpdate) SetOrder

func (s *ObjectGroupUpdate) SetOrder(val OptInt32)

SetOrder sets the value of Order.

func (*ObjectGroupUpdate) SetTitle

func (s *ObjectGroupUpdate) SetTitle(val string)

SetTitle sets the value of Title.

func (*ObjectGroupUpdate) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

type ObjectLink struct {
	R0   OptObjectLink0 `json:"0"`
	Self OptURI         `json:"self"`
}

Ref: #/components/schemas/ObjectLink

func (*ObjectLink) Decode

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

Decode decodes ObjectLink from json.

func (*ObjectLink) Encode

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

Encode implements json.Marshaler.

func (*ObjectLink) GetR0

func (s *ObjectLink) GetR0() OptObjectLink0

GetR0 returns the value of R0.

func (*ObjectLink) GetSelf

func (s *ObjectLink) GetSelf() OptURI

GetSelf returns the value of Self.

func (*ObjectLink) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*ObjectLink) SetR0

func (s *ObjectLink) SetR0(val OptObjectLink0)

SetR0 sets the value of R0.

func (*ObjectLink) SetSelf

func (s *ObjectLink) SetSelf(val OptURI)

SetSelf sets the value of Self.

func (*ObjectLink) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

type ObjectLink0

type ObjectLink0 struct {
	Rel OptString `json:"rel"`
	URI OptString `json:"uri"`
}

func (*ObjectLink0) Decode

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

Decode decodes ObjectLink0 from json.

func (*ObjectLink0) Encode

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

Encode implements json.Marshaler.

func (*ObjectLink0) GetRel

func (s *ObjectLink0) GetRel() OptString

GetRel returns the value of Rel.

func (*ObjectLink0) GetURI

func (s *ObjectLink0) GetURI() OptString

GetURI returns the value of URI.

func (*ObjectLink0) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*ObjectLink0) SetRel

func (s *ObjectLink0) SetRel(val OptString)

SetRel sets the value of Rel.

func (*ObjectLink0) SetURI

func (s *ObjectLink0) SetURI(val OptString)

SetURI sets the value of URI.

func (*ObjectLink0) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

type OptAccountTypeFilter

type OptAccountTypeFilter struct {
	Value AccountTypeFilter
	Set   bool
}

OptAccountTypeFilter is optional AccountTypeFilter.

func NewOptAccountTypeFilter

func NewOptAccountTypeFilter(v AccountTypeFilter) OptAccountTypeFilter

NewOptAccountTypeFilter returns new OptAccountTypeFilter with value set to v.

func (OptAccountTypeFilter) Get

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

func (OptAccountTypeFilter) IsSet

func (o OptAccountTypeFilter) IsSet() bool

IsSet returns true if OptAccountTypeFilter was set.

func (OptAccountTypeFilter) Or

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

func (*OptAccountTypeFilter) Reset

func (o *OptAccountTypeFilter) Reset()

Reset unsets value.

func (*OptAccountTypeFilter) SetTo

SetTo sets value to v.

type OptAccountTypeProperty

type OptAccountTypeProperty struct {
	Value AccountTypeProperty
	Set   bool
}

OptAccountTypeProperty is optional AccountTypeProperty.

func NewOptAccountTypeProperty

func NewOptAccountTypeProperty(v AccountTypeProperty) OptAccountTypeProperty

NewOptAccountTypeProperty returns new OptAccountTypeProperty with value set to v.

func (*OptAccountTypeProperty) Decode

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

Decode decodes AccountTypeProperty from json.

func (OptAccountTypeProperty) Encode

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

Encode encodes AccountTypeProperty as json.

func (OptAccountTypeProperty) Get

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

func (OptAccountTypeProperty) IsSet

func (o OptAccountTypeProperty) IsSet() bool

IsSet returns true if OptAccountTypeProperty was set.

func (OptAccountTypeProperty) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (OptAccountTypeProperty) Or

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

func (*OptAccountTypeProperty) Reset

func (o *OptAccountTypeProperty) Reset()

Reset unsets value.

func (*OptAccountTypeProperty) SetTo

SetTo sets value to v.

func (*OptAccountTypeProperty) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

type OptBillRepeatFrequency

type OptBillRepeatFrequency struct {
	Value BillRepeatFrequency
	Set   bool
}

OptBillRepeatFrequency is optional BillRepeatFrequency.

func NewOptBillRepeatFrequency

func NewOptBillRepeatFrequency(v BillRepeatFrequency) OptBillRepeatFrequency

NewOptBillRepeatFrequency returns new OptBillRepeatFrequency with value set to v.

func (*OptBillRepeatFrequency) Decode

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

Decode decodes BillRepeatFrequency from json.

func (OptBillRepeatFrequency) Encode

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

Encode encodes BillRepeatFrequency as json.

func (OptBillRepeatFrequency) Get

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

func (OptBillRepeatFrequency) IsSet

func (o OptBillRepeatFrequency) IsSet() bool

IsSet returns true if OptBillRepeatFrequency was set.

func (OptBillRepeatFrequency) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (OptBillRepeatFrequency) Or

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

func (*OptBillRepeatFrequency) Reset

func (o *OptBillRepeatFrequency) Reset()

Reset unsets value.

func (*OptBillRepeatFrequency) SetTo

SetTo sets value to v.

func (*OptBillRepeatFrequency) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

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 OptChartDataSetEntries

type OptChartDataSetEntries struct {
	Value ChartDataSetEntries
	Set   bool
}

OptChartDataSetEntries is optional ChartDataSetEntries.

func NewOptChartDataSetEntries

func NewOptChartDataSetEntries(v ChartDataSetEntries) OptChartDataSetEntries

NewOptChartDataSetEntries returns new OptChartDataSetEntries with value set to v.

func (*OptChartDataSetEntries) Decode

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

Decode decodes ChartDataSetEntries from json.

func (OptChartDataSetEntries) Encode

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

Encode encodes ChartDataSetEntries as json.

func (OptChartDataSetEntries) Get

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

func (OptChartDataSetEntries) IsSet

func (o OptChartDataSetEntries) IsSet() bool

IsSet returns true if OptChartDataSetEntries was set.

func (OptChartDataSetEntries) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (OptChartDataSetEntries) Or

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

func (*OptChartDataSetEntries) Reset

func (o *OptChartDataSetEntries) Reset()

Reset unsets value.

func (*OptChartDataSetEntries) SetTo

SetTo sets value to v.

func (*OptChartDataSetEntries) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

type OptCronResultRow

type OptCronResultRow struct {
	Value CronResultRow
	Set   bool
}

OptCronResultRow is optional CronResultRow.

func NewOptCronResultRow

func NewOptCronResultRow(v CronResultRow) OptCronResultRow

NewOptCronResultRow returns new OptCronResultRow with value set to v.

func (*OptCronResultRow) Decode

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

Decode decodes CronResultRow from json.

func (OptCronResultRow) Encode

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

Encode encodes CronResultRow as json.

func (OptCronResultRow) Get

func (o OptCronResultRow) Get() (v CronResultRow, ok bool)

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

func (OptCronResultRow) IsSet

func (o OptCronResultRow) IsSet() bool

IsSet returns true if OptCronResultRow was set.

func (OptCronResultRow) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (OptCronResultRow) Or

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

func (*OptCronResultRow) Reset

func (o *OptCronResultRow) Reset()

Reset unsets value.

func (*OptCronResultRow) SetTo

func (o *OptCronResultRow) SetTo(v CronResultRow)

SetTo sets value to v.

func (*OptCronResultRow) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

type OptCurrencyUpdateDefault

type OptCurrencyUpdateDefault struct {
	Value CurrencyUpdateDefault
	Set   bool
}

OptCurrencyUpdateDefault is optional CurrencyUpdateDefault.

func NewOptCurrencyUpdateDefault

func NewOptCurrencyUpdateDefault(v CurrencyUpdateDefault) OptCurrencyUpdateDefault

NewOptCurrencyUpdateDefault returns new OptCurrencyUpdateDefault with value set to v.

func (*OptCurrencyUpdateDefault) Decode

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

Decode decodes CurrencyUpdateDefault from json.

func (OptCurrencyUpdateDefault) Encode

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

Encode encodes CurrencyUpdateDefault as json.

func (OptCurrencyUpdateDefault) Get

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

func (OptCurrencyUpdateDefault) IsSet

func (o OptCurrencyUpdateDefault) IsSet() bool

IsSet returns true if OptCurrencyUpdateDefault was set.

func (OptCurrencyUpdateDefault) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (OptCurrencyUpdateDefault) Or

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

func (*OptCurrencyUpdateDefault) Reset

func (o *OptCurrencyUpdateDefault) Reset()

Reset unsets value.

func (*OptCurrencyUpdateDefault) SetTo

SetTo sets value to v.

func (*OptCurrencyUpdateDefault) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

type OptDate

type OptDate struct {
	Value time.Time
	Set   bool
}

OptDate is optional time.Time.

func NewOptDate

func NewOptDate(v time.Time) OptDate

NewOptDate returns new OptDate with value set to v.

func (*OptDate) Decode

func (o *OptDate) Decode(d *jx.Decoder, format func(*jx.Decoder) (time.Time, error)) error

Decode decodes time.Time from json.

func (OptDate) Encode

func (o OptDate) Encode(e *jx.Encoder, format func(*jx.Encoder, time.Time))

Encode encodes time.Time as json.

func (OptDate) Get

func (o OptDate) Get() (v time.Time, ok bool)

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

func (OptDate) IsSet

func (o OptDate) IsSet() bool

IsSet returns true if OptDate was set.

func (OptDate) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (OptDate) Or

func (o OptDate) Or(d time.Time) time.Time

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

func (*OptDate) Reset

func (o *OptDate) Reset()

Reset unsets value.

func (*OptDate) SetTo

func (o *OptDate) SetTo(v time.Time)

SetTo sets value to v.

func (*OptDate) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

type OptDateTime

type OptDateTime struct {
	Value time.Time
	Set   bool
}

OptDateTime is optional time.Time.

func NewOptDateTime

func NewOptDateTime(v time.Time) OptDateTime

NewOptDateTime returns new OptDateTime with value set to v.

func (*OptDateTime) Decode

func (o *OptDateTime) Decode(d *jx.Decoder, format func(*jx.Decoder) (time.Time, error)) error

Decode decodes time.Time from json.

func (OptDateTime) Encode

func (o OptDateTime) Encode(e *jx.Encoder, format func(*jx.Encoder, time.Time))

Encode encodes time.Time as json.

func (OptDateTime) Get

func (o OptDateTime) Get() (v time.Time, ok bool)

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

func (OptDateTime) IsSet

func (o OptDateTime) IsSet() bool

IsSet returns true if OptDateTime was set.

func (OptDateTime) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (OptDateTime) Or

func (o OptDateTime) Or(d time.Time) time.Time

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

func (*OptDateTime) Reset

func (o *OptDateTime) Reset()

Reset unsets value.

func (*OptDateTime) SetTo

func (o *OptDateTime) SetTo(v time.Time)

SetTo sets value to v.

func (*OptDateTime) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

type OptExportFileFilter

type OptExportFileFilter struct {
	Value ExportFileFilter
	Set   bool
}

OptExportFileFilter is optional ExportFileFilter.

func NewOptExportFileFilter

func NewOptExportFileFilter(v ExportFileFilter) OptExportFileFilter

NewOptExportFileFilter returns new OptExportFileFilter with value set to v.

func (OptExportFileFilter) Get

func (o OptExportFileFilter) Get() (v ExportFileFilter, ok bool)

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

func (OptExportFileFilter) IsSet

func (o OptExportFileFilter) IsSet() bool

IsSet returns true if OptExportFileFilter was set.

func (OptExportFileFilter) Or

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

func (*OptExportFileFilter) Reset

func (o *OptExportFileFilter) Reset()

Reset unsets value.

func (*OptExportFileFilter) 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 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 OptInt32

type OptInt32 struct {
	Value int32
	Set   bool
}

OptInt32 is optional int32.

func NewOptInt32

func NewOptInt32(v int32) OptInt32

NewOptInt32 returns new OptInt32 with value set to v.

func (*OptInt32) Decode

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

Decode decodes int32 from json.

func (OptInt32) Encode

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

Encode encodes int32 as json.

func (OptInt32) Get

func (o OptInt32) Get() (v int32, ok bool)

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

func (OptInt32) IsSet

func (o OptInt32) IsSet() bool

IsSet returns true if OptInt32 was set.

func (OptInt32) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (OptInt32) Or

func (o OptInt32) Or(d int32) int32

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

func (*OptInt32) Reset

func (o *OptInt32) Reset()

Reset unsets value.

func (*OptInt32) SetTo

func (o *OptInt32) SetTo(v int32)

SetTo sets value to v.

func (*OptInt32) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

type OptMetaPagination

type OptMetaPagination struct {
	Value MetaPagination
	Set   bool
}

OptMetaPagination is optional MetaPagination.

func NewOptMetaPagination

func NewOptMetaPagination(v MetaPagination) OptMetaPagination

NewOptMetaPagination returns new OptMetaPagination with value set to v.

func (*OptMetaPagination) Decode

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

Decode decodes MetaPagination from json.

func (OptMetaPagination) Encode

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

Encode encodes MetaPagination as json.

func (OptMetaPagination) Get

func (o OptMetaPagination) Get() (v MetaPagination, ok bool)

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

func (OptMetaPagination) IsSet

func (o OptMetaPagination) IsSet() bool

IsSet returns true if OptMetaPagination was set.

func (OptMetaPagination) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (OptMetaPagination) Or

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

func (*OptMetaPagination) Reset

func (o *OptMetaPagination) Reset()

Reset unsets value.

func (*OptMetaPagination) SetTo

func (o *OptMetaPagination) SetTo(v MetaPagination)

SetTo sets value to v.

func (*OptMetaPagination) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

type OptNilAccountRoleProperty

type OptNilAccountRoleProperty struct {
	Value AccountRoleProperty
	Set   bool
	Null  bool
}

OptNilAccountRoleProperty is optional nullable AccountRoleProperty.

func NewOptNilAccountRoleProperty

func NewOptNilAccountRoleProperty(v AccountRoleProperty) OptNilAccountRoleProperty

NewOptNilAccountRoleProperty returns new OptNilAccountRoleProperty with value set to v.

func (*OptNilAccountRoleProperty) Decode

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

Decode decodes AccountRoleProperty from json.

func (OptNilAccountRoleProperty) Encode

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

Encode encodes AccountRoleProperty as json.

func (OptNilAccountRoleProperty) Get

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

func (OptNilAccountRoleProperty) IsNull

func (o OptNilAccountRoleProperty) IsNull() bool

IsSet returns true if value is Null.

func (OptNilAccountRoleProperty) IsSet

func (o OptNilAccountRoleProperty) IsSet() bool

IsSet returns true if OptNilAccountRoleProperty was set.

func (OptNilAccountRoleProperty) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (OptNilAccountRoleProperty) Or

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

func (*OptNilAccountRoleProperty) Reset

func (o *OptNilAccountRoleProperty) Reset()

Reset unsets value.

func (*OptNilAccountRoleProperty) SetTo

SetTo sets value to v.

func (*OptNilAccountRoleProperty) SetToNull

func (o *OptNilAccountRoleProperty) SetToNull()

SetNull sets value to null.

func (*OptNilAccountRoleProperty) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

type OptNilAutoBudgetPeriod

type OptNilAutoBudgetPeriod struct {
	Value AutoBudgetPeriod
	Set   bool
	Null  bool
}

OptNilAutoBudgetPeriod is optional nullable AutoBudgetPeriod.

func NewOptNilAutoBudgetPeriod

func NewOptNilAutoBudgetPeriod(v AutoBudgetPeriod) OptNilAutoBudgetPeriod

NewOptNilAutoBudgetPeriod returns new OptNilAutoBudgetPeriod with value set to v.

func (*OptNilAutoBudgetPeriod) Decode

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

Decode decodes AutoBudgetPeriod from json.

func (OptNilAutoBudgetPeriod) Encode

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

Encode encodes AutoBudgetPeriod as json.

func (OptNilAutoBudgetPeriod) Get

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

func (OptNilAutoBudgetPeriod) IsNull

func (o OptNilAutoBudgetPeriod) IsNull() bool

IsSet returns true if value is Null.

func (OptNilAutoBudgetPeriod) IsSet

func (o OptNilAutoBudgetPeriod) IsSet() bool

IsSet returns true if OptNilAutoBudgetPeriod was set.

func (OptNilAutoBudgetPeriod) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (OptNilAutoBudgetPeriod) Or

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

func (*OptNilAutoBudgetPeriod) Reset

func (o *OptNilAutoBudgetPeriod) Reset()

Reset unsets value.

func (*OptNilAutoBudgetPeriod) SetTo

SetTo sets value to v.

func (*OptNilAutoBudgetPeriod) SetToNull

func (o *OptNilAutoBudgetPeriod) SetToNull()

SetNull sets value to null.

func (*OptNilAutoBudgetPeriod) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

type OptNilAutoBudgetType

type OptNilAutoBudgetType struct {
	Value AutoBudgetType
	Set   bool
	Null  bool
}

OptNilAutoBudgetType is optional nullable AutoBudgetType.

func NewOptNilAutoBudgetType

func NewOptNilAutoBudgetType(v AutoBudgetType) OptNilAutoBudgetType

NewOptNilAutoBudgetType returns new OptNilAutoBudgetType with value set to v.

func (*OptNilAutoBudgetType) Decode

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

Decode decodes AutoBudgetType from json.

func (OptNilAutoBudgetType) Encode

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

Encode encodes AutoBudgetType as json.

func (OptNilAutoBudgetType) Get

func (o OptNilAutoBudgetType) Get() (v AutoBudgetType, ok bool)

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

func (OptNilAutoBudgetType) IsNull

func (o OptNilAutoBudgetType) IsNull() bool

IsSet returns true if value is Null.

func (OptNilAutoBudgetType) IsSet

func (o OptNilAutoBudgetType) IsSet() bool

IsSet returns true if OptNilAutoBudgetType was set.

func (OptNilAutoBudgetType) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (OptNilAutoBudgetType) Or

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

func (*OptNilAutoBudgetType) Reset

func (o *OptNilAutoBudgetType) Reset()

Reset unsets value.

func (*OptNilAutoBudgetType) SetTo

SetTo sets value to v.

func (*OptNilAutoBudgetType) SetToNull

func (o *OptNilAutoBudgetType) SetToNull()

SetNull sets value to null.

func (*OptNilAutoBudgetType) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

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 OptNilCreditCardType

type OptNilCreditCardType struct {
	Value CreditCardType
	Set   bool
	Null  bool
}

OptNilCreditCardType is optional nullable CreditCardType.

func NewOptNilCreditCardType

func NewOptNilCreditCardType(v CreditCardType) OptNilCreditCardType

NewOptNilCreditCardType returns new OptNilCreditCardType with value set to v.

func (*OptNilCreditCardType) Decode

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

Decode decodes CreditCardType from json.

func (OptNilCreditCardType) Encode

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

Encode encodes CreditCardType as json.

func (OptNilCreditCardType) Get

func (o OptNilCreditCardType) Get() (v CreditCardType, ok bool)

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

func (OptNilCreditCardType) IsNull

func (o OptNilCreditCardType) IsNull() bool

IsSet returns true if value is Null.

func (OptNilCreditCardType) IsSet

func (o OptNilCreditCardType) IsSet() bool

IsSet returns true if OptNilCreditCardType was set.

func (OptNilCreditCardType) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (OptNilCreditCardType) Or

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

func (*OptNilCreditCardType) Reset

func (o *OptNilCreditCardType) Reset()

Reset unsets value.

func (*OptNilCreditCardType) SetTo

SetTo sets value to v.

func (*OptNilCreditCardType) SetToNull

func (o *OptNilCreditCardType) SetToNull()

SetNull sets value to null.

func (*OptNilCreditCardType) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

type OptNilDate

type OptNilDate struct {
	Value time.Time
	Set   bool
	Null  bool
}

OptNilDate is optional nullable time.Time.

func NewOptNilDate

func NewOptNilDate(v time.Time) OptNilDate

NewOptNilDate returns new OptNilDate with value set to v.

func (*OptNilDate) Decode

func (o *OptNilDate) Decode(d *jx.Decoder, format func(*jx.Decoder) (time.Time, error)) error

Decode decodes time.Time from json.

func (OptNilDate) Encode

func (o OptNilDate) Encode(e *jx.Encoder, format func(*jx.Encoder, time.Time))

Encode encodes time.Time as json.

func (OptNilDate) Get

func (o OptNilDate) Get() (v time.Time, ok bool)

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

func (OptNilDate) IsNull

func (o OptNilDate) IsNull() bool

IsSet returns true if value is Null.

func (OptNilDate) IsSet

func (o OptNilDate) IsSet() bool

IsSet returns true if OptNilDate was set.

func (OptNilDate) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (OptNilDate) Or

func (o OptNilDate) Or(d time.Time) time.Time

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

func (*OptNilDate) Reset

func (o *OptNilDate) Reset()

Reset unsets value.

func (*OptNilDate) SetTo

func (o *OptNilDate) SetTo(v time.Time)

SetTo sets value to v.

func (*OptNilDate) SetToNull

func (o *OptNilDate) SetToNull()

SetNull sets value to null.

func (*OptNilDate) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

type OptNilDateTime

type OptNilDateTime struct {
	Value time.Time
	Set   bool
	Null  bool
}

OptNilDateTime is optional nullable time.Time.

func NewOptNilDateTime

func NewOptNilDateTime(v time.Time) OptNilDateTime

NewOptNilDateTime returns new OptNilDateTime with value set to v.

func (*OptNilDateTime) Decode

func (o *OptNilDateTime) Decode(d *jx.Decoder, format func(*jx.Decoder) (time.Time, error)) error

Decode decodes time.Time from json.

func (OptNilDateTime) Encode

func (o OptNilDateTime) Encode(e *jx.Encoder, format func(*jx.Encoder, time.Time))

Encode encodes time.Time as json.

func (OptNilDateTime) Get

func (o OptNilDateTime) Get() (v time.Time, ok bool)

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

func (OptNilDateTime) IsNull

func (o OptNilDateTime) IsNull() bool

IsSet returns true if value is Null.

func (OptNilDateTime) IsSet

func (o OptNilDateTime) IsSet() bool

IsSet returns true if OptNilDateTime was set.

func (OptNilDateTime) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (OptNilDateTime) Or

func (o OptNilDateTime) Or(d time.Time) time.Time

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

func (*OptNilDateTime) Reset

func (o *OptNilDateTime) Reset()

Reset unsets value.

func (*OptNilDateTime) SetTo

func (o *OptNilDateTime) SetTo(v time.Time)

SetTo sets value to v.

func (*OptNilDateTime) SetToNull

func (o *OptNilDateTime) SetToNull()

SetNull sets value to null.

func (*OptNilDateTime) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

type OptNilFloat32

type OptNilFloat32 struct {
	Value float32
	Set   bool
	Null  bool
}

OptNilFloat32 is optional nullable float32.

func NewOptNilFloat32

func NewOptNilFloat32(v float32) OptNilFloat32

NewOptNilFloat32 returns new OptNilFloat32 with value set to v.

func (*OptNilFloat32) Decode

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

Decode decodes float32 from json.

func (OptNilFloat32) Encode

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

Encode encodes float32 as json.

func (OptNilFloat32) Get

func (o OptNilFloat32) Get() (v float32, ok bool)

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

func (OptNilFloat32) IsNull

func (o OptNilFloat32) IsNull() bool

IsSet returns true if value is Null.

func (OptNilFloat32) IsSet

func (o OptNilFloat32) IsSet() bool

IsSet returns true if OptNilFloat32 was set.

func (OptNilFloat32) MarshalJSON

func (s OptNilFloat32) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (OptNilFloat32) Or

func (o OptNilFloat32) Or(d float32) float32

Or returns value if set, or given parameter if does not.

func (*OptNilFloat32) Reset

func (o *OptNilFloat32) Reset()

Reset unsets value.

func (*OptNilFloat32) SetTo

func (o *OptNilFloat32) SetTo(v float32)

SetTo sets value to v.

func (*OptNilFloat32) SetToNull

func (o *OptNilFloat32) SetToNull()

SetNull sets value to null.

func (*OptNilFloat32) UnmarshalJSON

func (s *OptNilFloat32) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

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) Decode

func (o *OptNilFloat64) Decode(d *jx.Decoder) error

Decode decodes float64 from json.

func (OptNilFloat64) Encode

func (o OptNilFloat64) Encode(e *jx.Encoder)

Encode encodes float64 as json.

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) MarshalJSON

func (s OptNilFloat64) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

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.

func (*OptNilFloat64) UnmarshalJSON

func (s *OptNilFloat64) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type OptNilInt32

type OptNilInt32 struct {
	Value int32
	Set   bool
	Null  bool
}

OptNilInt32 is optional nullable int32.

func NewOptNilInt32

func NewOptNilInt32(v int32) OptNilInt32

NewOptNilInt32 returns new OptNilInt32 with value set to v.

func (*OptNilInt32) Decode

func (o *OptNilInt32) Decode(d *jx.Decoder) error

Decode decodes int32 from json.

func (OptNilInt32) Encode

func (o OptNilInt32) Encode(e *jx.Encoder)

Encode encodes int32 as json.

func (OptNilInt32) Get

func (o OptNilInt32) Get() (v int32, ok bool)

Get returns value and boolean that denotes whether value was set.

func (OptNilInt32) IsNull

func (o OptNilInt32) IsNull() bool

IsSet returns true if value is Null.

func (OptNilInt32) IsSet

func (o OptNilInt32) IsSet() bool

IsSet returns true if OptNilInt32 was set.

func (OptNilInt32) MarshalJSON

func (s OptNilInt32) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (OptNilInt32) Or

func (o OptNilInt32) Or(d int32) int32

Or returns value if set, or given parameter if does not.

func (*OptNilInt32) Reset

func (o *OptNilInt32) Reset()

Reset unsets value.

func (*OptNilInt32) SetTo

func (o *OptNilInt32) SetTo(v int32)

SetTo sets value to v.

func (*OptNilInt32) SetToNull

func (o *OptNilInt32) SetToNull()

SetNull sets value to null.

func (*OptNilInt32) UnmarshalJSON

func (s *OptNilInt32) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type OptNilInterestPeriod

type OptNilInterestPeriod struct {
	Value InterestPeriod
	Set   bool
	Null  bool
}

OptNilInterestPeriod is optional nullable InterestPeriod.

func NewOptNilInterestPeriod

func NewOptNilInterestPeriod(v InterestPeriod) OptNilInterestPeriod

NewOptNilInterestPeriod returns new OptNilInterestPeriod with value set to v.

func (*OptNilInterestPeriod) Decode

func (o *OptNilInterestPeriod) Decode(d *jx.Decoder) error

Decode decodes InterestPeriod from json.

func (OptNilInterestPeriod) Encode

func (o OptNilInterestPeriod) Encode(e *jx.Encoder)

Encode encodes InterestPeriod as json.

func (OptNilInterestPeriod) Get

func (o OptNilInterestPeriod) Get() (v InterestPeriod, ok bool)

Get returns value and boolean that denotes whether value was set.

func (OptNilInterestPeriod) IsNull

func (o OptNilInterestPeriod) IsNull() bool

IsSet returns true if value is Null.

func (OptNilInterestPeriod) IsSet

func (o OptNilInterestPeriod) IsSet() bool

IsSet returns true if OptNilInterestPeriod was set.

func (OptNilInterestPeriod) MarshalJSON

func (s OptNilInterestPeriod) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (OptNilInterestPeriod) Or

Or returns value if set, or given parameter if does not.

func (*OptNilInterestPeriod) Reset

func (o *OptNilInterestPeriod) Reset()

Reset unsets value.

func (*OptNilInterestPeriod) SetTo

SetTo sets value to v.

func (*OptNilInterestPeriod) SetToNull

func (o *OptNilInterestPeriod) SetToNull()

SetNull sets value to null.

func (*OptNilInterestPeriod) UnmarshalJSON

func (s *OptNilInterestPeriod) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type OptNilLiabilityDirection

type OptNilLiabilityDirection struct {
	Value LiabilityDirection
	Set   bool
	Null  bool
}

OptNilLiabilityDirection is optional nullable LiabilityDirection.

func NewOptNilLiabilityDirection

func NewOptNilLiabilityDirection(v LiabilityDirection) OptNilLiabilityDirection

NewOptNilLiabilityDirection returns new OptNilLiabilityDirection with value set to v.

func (*OptNilLiabilityDirection) Decode

func (o *OptNilLiabilityDirection) Decode(d *jx.Decoder) error

Decode decodes LiabilityDirection from json.

func (OptNilLiabilityDirection) Encode

func (o OptNilLiabilityDirection) Encode(e *jx.Encoder)

Encode encodes LiabilityDirection as json.

func (OptNilLiabilityDirection) Get

Get returns value and boolean that denotes whether value was set.

func (OptNilLiabilityDirection) IsNull

func (o OptNilLiabilityDirection) IsNull() bool

IsSet returns true if value is Null.

func (OptNilLiabilityDirection) IsSet

func (o OptNilLiabilityDirection) IsSet() bool

IsSet returns true if OptNilLiabilityDirection was set.

func (OptNilLiabilityDirection) MarshalJSON

func (s OptNilLiabilityDirection) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (OptNilLiabilityDirection) Or

Or returns value if set, or given parameter if does not.

func (*OptNilLiabilityDirection) Reset

func (o *OptNilLiabilityDirection) Reset()

Reset unsets value.

func (*OptNilLiabilityDirection) SetTo

SetTo sets value to v.

func (*OptNilLiabilityDirection) SetToNull

func (o *OptNilLiabilityDirection) SetToNull()

SetNull sets value to null.

func (*OptNilLiabilityDirection) UnmarshalJSON

func (s *OptNilLiabilityDirection) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type OptNilLiabilityType

type OptNilLiabilityType struct {
	Value LiabilityType
	Set   bool
	Null  bool
}

OptNilLiabilityType is optional nullable LiabilityType.

func NewOptNilLiabilityType

func NewOptNilLiabilityType(v LiabilityType) OptNilLiabilityType

NewOptNilLiabilityType returns new OptNilLiabilityType with value set to v.

func (*OptNilLiabilityType) Decode

func (o *OptNilLiabilityType) Decode(d *jx.Decoder) error

Decode decodes LiabilityType from json.

func (OptNilLiabilityType) Encode

func (o OptNilLiabilityType) Encode(e *jx.Encoder)

Encode encodes LiabilityType as json.

func (OptNilLiabilityType) Get

func (o OptNilLiabilityType) Get() (v LiabilityType, ok bool)

Get returns value and boolean that denotes whether value was set.

func (OptNilLiabilityType) IsNull

func (o OptNilLiabilityType) IsNull() bool

IsSet returns true if value is Null.

func (OptNilLiabilityType) IsSet

func (o OptNilLiabilityType) IsSet() bool

IsSet returns true if OptNilLiabilityType was set.

func (OptNilLiabilityType) MarshalJSON

func (s OptNilLiabilityType) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (OptNilLiabilityType) Or

Or returns value if set, or given parameter if does not.

func (*OptNilLiabilityType) Reset

func (o *OptNilLiabilityType) Reset()

Reset unsets value.

func (*OptNilLiabilityType) SetTo

func (o *OptNilLiabilityType) SetTo(v LiabilityType)

SetTo sets value to v.

func (*OptNilLiabilityType) SetToNull

func (o *OptNilLiabilityType) SetToNull()

SetNull sets value to null.

func (*OptNilLiabilityType) UnmarshalJSON

func (s *OptNilLiabilityType) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

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 OptNilStringArray

type OptNilStringArray struct {
	Value []string
	Set   bool
	Null  bool
}

OptNilStringArray is optional nullable []string.

func NewOptNilStringArray

func NewOptNilStringArray(v []string) OptNilStringArray

NewOptNilStringArray returns new OptNilStringArray with value set to v.

func (*OptNilStringArray) Decode

func (o *OptNilStringArray) Decode(d *jx.Decoder) error

Decode decodes []string from json.

func (OptNilStringArray) Encode

func (o OptNilStringArray) Encode(e *jx.Encoder)

Encode encodes []string as json.

func (OptNilStringArray) Get

func (o OptNilStringArray) Get() (v []string, ok bool)

Get returns value and boolean that denotes whether value was set.

func (OptNilStringArray) IsNull

func (o OptNilStringArray) IsNull() bool

IsSet returns true if value is Null.

func (OptNilStringArray) IsSet

func (o OptNilStringArray) IsSet() bool

IsSet returns true if OptNilStringArray was set.

func (OptNilStringArray) MarshalJSON

func (s OptNilStringArray) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (OptNilStringArray) Or

func (o OptNilStringArray) Or(d []string) []string

Or returns value if set, or given parameter if does not.

func (*OptNilStringArray) Reset

func (o *OptNilStringArray) Reset()

Reset unsets value.

func (*OptNilStringArray) SetTo

func (o *OptNilStringArray) SetTo(v []string)

SetTo sets value to v.

func (*OptNilStringArray) SetToNull

func (o *OptNilStringArray) SetToNull()

SetNull sets value to null.

func (*OptNilStringArray) UnmarshalJSON

func (s *OptNilStringArray) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type OptNilUserBlockedCodeProperty

type OptNilUserBlockedCodeProperty struct {
	Value UserBlockedCodeProperty
	Set   bool
	Null  bool
}

OptNilUserBlockedCodeProperty is optional nullable UserBlockedCodeProperty.

func NewOptNilUserBlockedCodeProperty

func NewOptNilUserBlockedCodeProperty(v UserBlockedCodeProperty) OptNilUserBlockedCodeProperty

NewOptNilUserBlockedCodeProperty returns new OptNilUserBlockedCodeProperty with value set to v.

func (*OptNilUserBlockedCodeProperty) Decode

Decode decodes UserBlockedCodeProperty from json.

func (OptNilUserBlockedCodeProperty) Encode

Encode encodes UserBlockedCodeProperty as json.

func (OptNilUserBlockedCodeProperty) Get

Get returns value and boolean that denotes whether value was set.

func (OptNilUserBlockedCodeProperty) IsNull

IsSet returns true if value is Null.

func (OptNilUserBlockedCodeProperty) IsSet

IsSet returns true if OptNilUserBlockedCodeProperty was set.

func (OptNilUserBlockedCodeProperty) MarshalJSON

func (s OptNilUserBlockedCodeProperty) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (OptNilUserBlockedCodeProperty) Or

Or returns value if set, or given parameter if does not.

func (*OptNilUserBlockedCodeProperty) Reset

func (o *OptNilUserBlockedCodeProperty) Reset()

Reset unsets value.

func (*OptNilUserBlockedCodeProperty) SetTo

SetTo sets value to v.

func (*OptNilUserBlockedCodeProperty) SetToNull

func (o *OptNilUserBlockedCodeProperty) SetToNull()

SetNull sets value to null.

func (*OptNilUserBlockedCodeProperty) UnmarshalJSON

func (s *OptNilUserBlockedCodeProperty) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type OptNilUserRoleProperty

type OptNilUserRoleProperty struct {
	Value UserRoleProperty
	Set   bool
	Null  bool
}

OptNilUserRoleProperty is optional nullable UserRoleProperty.

func NewOptNilUserRoleProperty

func NewOptNilUserRoleProperty(v UserRoleProperty) OptNilUserRoleProperty

NewOptNilUserRoleProperty returns new OptNilUserRoleProperty with value set to v.

func (*OptNilUserRoleProperty) Decode

func (o *OptNilUserRoleProperty) Decode(d *jx.Decoder) error

Decode decodes UserRoleProperty from json.

func (OptNilUserRoleProperty) Encode

func (o OptNilUserRoleProperty) Encode(e *jx.Encoder)

Encode encodes UserRoleProperty as json.

func (OptNilUserRoleProperty) Get

Get returns value and boolean that denotes whether value was set.

func (OptNilUserRoleProperty) IsNull

func (o OptNilUserRoleProperty) IsNull() bool

IsSet returns true if value is Null.

func (OptNilUserRoleProperty) IsSet

func (o OptNilUserRoleProperty) IsSet() bool

IsSet returns true if OptNilUserRoleProperty was set.

func (OptNilUserRoleProperty) MarshalJSON

func (s OptNilUserRoleProperty) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (OptNilUserRoleProperty) Or

Or returns value if set, or given parameter if does not.

func (*OptNilUserRoleProperty) Reset

func (o *OptNilUserRoleProperty) Reset()

Reset unsets value.

func (*OptNilUserRoleProperty) SetTo

SetTo sets value to v.

func (*OptNilUserRoleProperty) SetToNull

func (o *OptNilUserRoleProperty) SetToNull()

SetNull sets value to null.

func (*OptNilUserRoleProperty) UnmarshalJSON

func (s *OptNilUserRoleProperty) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type OptObjectLink0

type OptObjectLink0 struct {
	Value ObjectLink0
	Set   bool
}

OptObjectLink0 is optional ObjectLink0.

func NewOptObjectLink0

func NewOptObjectLink0(v ObjectLink0) OptObjectLink0

NewOptObjectLink0 returns new OptObjectLink0 with value set to v.

func (*OptObjectLink0) Decode

func (o *OptObjectLink0) Decode(d *jx.Decoder) error

Decode decodes ObjectLink0 from json.

func (OptObjectLink0) Encode

func (o OptObjectLink0) Encode(e *jx.Encoder)

Encode encodes ObjectLink0 as json.

func (OptObjectLink0) Get

func (o OptObjectLink0) Get() (v ObjectLink0, ok bool)

Get returns value and boolean that denotes whether value was set.

func (OptObjectLink0) IsSet

func (o OptObjectLink0) IsSet() bool

IsSet returns true if OptObjectLink0 was set.

func (OptObjectLink0) MarshalJSON

func (s OptObjectLink0) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (OptObjectLink0) Or

Or returns value if set, or given parameter if does not.

func (*OptObjectLink0) Reset

func (o *OptObjectLink0) Reset()

Reset unsets value.

func (*OptObjectLink0) SetTo

func (o *OptObjectLink0) SetTo(v ObjectLink0)

SetTo sets value to v.

func (*OptObjectLink0) UnmarshalJSON

func (s *OptObjectLink0) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type OptRecurrenceRepetitionType

type OptRecurrenceRepetitionType struct {
	Value RecurrenceRepetitionType
	Set   bool
}

OptRecurrenceRepetitionType is optional RecurrenceRepetitionType.

func NewOptRecurrenceRepetitionType

func NewOptRecurrenceRepetitionType(v RecurrenceRepetitionType) OptRecurrenceRepetitionType

NewOptRecurrenceRepetitionType returns new OptRecurrenceRepetitionType with value set to v.

func (*OptRecurrenceRepetitionType) Decode

Decode decodes RecurrenceRepetitionType from json.

func (OptRecurrenceRepetitionType) Encode

func (o OptRecurrenceRepetitionType) Encode(e *jx.Encoder)

Encode encodes RecurrenceRepetitionType as json.

func (OptRecurrenceRepetitionType) Get

Get returns value and boolean that denotes whether value was set.

func (OptRecurrenceRepetitionType) IsSet

IsSet returns true if OptRecurrenceRepetitionType was set.

func (OptRecurrenceRepetitionType) MarshalJSON

func (s OptRecurrenceRepetitionType) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (OptRecurrenceRepetitionType) Or

Or returns value if set, or given parameter if does not.

func (*OptRecurrenceRepetitionType) Reset

func (o *OptRecurrenceRepetitionType) Reset()

Reset unsets value.

func (*OptRecurrenceRepetitionType) SetTo

SetTo sets value to v.

func (*OptRecurrenceRepetitionType) UnmarshalJSON

func (s *OptRecurrenceRepetitionType) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type OptRecurrenceTransactionType

type OptRecurrenceTransactionType struct {
	Value RecurrenceTransactionType
	Set   bool
}

OptRecurrenceTransactionType is optional RecurrenceTransactionType.

func NewOptRecurrenceTransactionType

func NewOptRecurrenceTransactionType(v RecurrenceTransactionType) OptRecurrenceTransactionType

NewOptRecurrenceTransactionType returns new OptRecurrenceTransactionType with value set to v.

func (*OptRecurrenceTransactionType) Decode

Decode decodes RecurrenceTransactionType from json.

func (OptRecurrenceTransactionType) Encode

Encode encodes RecurrenceTransactionType as json.

func (OptRecurrenceTransactionType) Get

Get returns value and boolean that denotes whether value was set.

func (OptRecurrenceTransactionType) IsSet

IsSet returns true if OptRecurrenceTransactionType was set.

func (OptRecurrenceTransactionType) MarshalJSON

func (s OptRecurrenceTransactionType) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (OptRecurrenceTransactionType) Or

Or returns value if set, or given parameter if does not.

func (*OptRecurrenceTransactionType) Reset

func (o *OptRecurrenceTransactionType) Reset()

Reset unsets value.

func (*OptRecurrenceTransactionType) SetTo

SetTo sets value to v.

func (*OptRecurrenceTransactionType) UnmarshalJSON

func (s *OptRecurrenceTransactionType) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type OptRuleActionKeyword

type OptRuleActionKeyword struct {
	Value RuleActionKeyword
	Set   bool
}

OptRuleActionKeyword is optional RuleActionKeyword.

func NewOptRuleActionKeyword

func NewOptRuleActionKeyword(v RuleActionKeyword) OptRuleActionKeyword

NewOptRuleActionKeyword returns new OptRuleActionKeyword with value set to v.

func (*OptRuleActionKeyword) Decode

func (o *OptRuleActionKeyword) Decode(d *jx.Decoder) error

Decode decodes RuleActionKeyword from json.

func (OptRuleActionKeyword) Encode

func (o OptRuleActionKeyword) Encode(e *jx.Encoder)

Encode encodes RuleActionKeyword as json.

func (OptRuleActionKeyword) Get

Get returns value and boolean that denotes whether value was set.

func (OptRuleActionKeyword) IsSet

func (o OptRuleActionKeyword) IsSet() bool

IsSet returns true if OptRuleActionKeyword was set.

func (OptRuleActionKeyword) MarshalJSON

func (s OptRuleActionKeyword) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (OptRuleActionKeyword) Or

Or returns value if set, or given parameter if does not.

func (*OptRuleActionKeyword) Reset

func (o *OptRuleActionKeyword) Reset()

Reset unsets value.

func (*OptRuleActionKeyword) SetTo

SetTo sets value to v.

func (*OptRuleActionKeyword) UnmarshalJSON

func (s *OptRuleActionKeyword) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type OptRuleTriggerKeyword

type OptRuleTriggerKeyword struct {
	Value RuleTriggerKeyword
	Set   bool
}

OptRuleTriggerKeyword is optional RuleTriggerKeyword.

func NewOptRuleTriggerKeyword

func NewOptRuleTriggerKeyword(v RuleTriggerKeyword) OptRuleTriggerKeyword

NewOptRuleTriggerKeyword returns new OptRuleTriggerKeyword with value set to v.

func (*OptRuleTriggerKeyword) Decode

func (o *OptRuleTriggerKeyword) Decode(d *jx.Decoder) error

Decode decodes RuleTriggerKeyword from json.

func (OptRuleTriggerKeyword) Encode

func (o OptRuleTriggerKeyword) Encode(e *jx.Encoder)

Encode encodes RuleTriggerKeyword as json.

func (OptRuleTriggerKeyword) Get

Get returns value and boolean that denotes whether value was set.

func (OptRuleTriggerKeyword) IsSet

func (o OptRuleTriggerKeyword) IsSet() bool

IsSet returns true if OptRuleTriggerKeyword was set.

func (OptRuleTriggerKeyword) MarshalJSON

func (s OptRuleTriggerKeyword) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (OptRuleTriggerKeyword) Or

Or returns value if set, or given parameter if does not.

func (*OptRuleTriggerKeyword) Reset

func (o *OptRuleTriggerKeyword) Reset()

Reset unsets value.

func (*OptRuleTriggerKeyword) SetTo

SetTo sets value to v.

func (*OptRuleTriggerKeyword) UnmarshalJSON

func (s *OptRuleTriggerKeyword) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type OptRuleTriggerType

type OptRuleTriggerType struct {
	Value RuleTriggerType
	Set   bool
}

OptRuleTriggerType is optional RuleTriggerType.

func NewOptRuleTriggerType

func NewOptRuleTriggerType(v RuleTriggerType) OptRuleTriggerType

NewOptRuleTriggerType returns new OptRuleTriggerType with value set to v.

func (*OptRuleTriggerType) Decode

func (o *OptRuleTriggerType) Decode(d *jx.Decoder) error

Decode decodes RuleTriggerType from json.

func (OptRuleTriggerType) Encode

func (o OptRuleTriggerType) Encode(e *jx.Encoder)

Encode encodes RuleTriggerType as json.

func (OptRuleTriggerType) Get

func (o OptRuleTriggerType) Get() (v RuleTriggerType, ok bool)

Get returns value and boolean that denotes whether value was set.

func (OptRuleTriggerType) IsSet

func (o OptRuleTriggerType) IsSet() bool

IsSet returns true if OptRuleTriggerType was set.

func (OptRuleTriggerType) MarshalJSON

func (s OptRuleTriggerType) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (OptRuleTriggerType) Or

Or returns value if set, or given parameter if does not.

func (*OptRuleTriggerType) Reset

func (o *OptRuleTriggerType) Reset()

Reset unsets value.

func (*OptRuleTriggerType) SetTo

func (o *OptRuleTriggerType) SetTo(v RuleTriggerType)

SetTo sets value to v.

func (*OptRuleTriggerType) UnmarshalJSON

func (s *OptRuleTriggerType) UnmarshalJSON(data []byte) error

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 OptSystemInfoData

type OptSystemInfoData struct {
	Value SystemInfoData
	Set   bool
}

OptSystemInfoData is optional SystemInfoData.

func NewOptSystemInfoData

func NewOptSystemInfoData(v SystemInfoData) OptSystemInfoData

NewOptSystemInfoData returns new OptSystemInfoData with value set to v.

func (*OptSystemInfoData) Decode

func (o *OptSystemInfoData) Decode(d *jx.Decoder) error

Decode decodes SystemInfoData from json.

func (OptSystemInfoData) Encode

func (o OptSystemInfoData) Encode(e *jx.Encoder)

Encode encodes SystemInfoData as json.

func (OptSystemInfoData) Get

func (o OptSystemInfoData) Get() (v SystemInfoData, ok bool)

Get returns value and boolean that denotes whether value was set.

func (OptSystemInfoData) IsSet

func (o OptSystemInfoData) IsSet() bool

IsSet returns true if OptSystemInfoData was set.

func (OptSystemInfoData) MarshalJSON

func (s OptSystemInfoData) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (OptSystemInfoData) Or

Or returns value if set, or given parameter if does not.

func (*OptSystemInfoData) Reset

func (o *OptSystemInfoData) Reset()

Reset unsets value.

func (*OptSystemInfoData) SetTo

func (o *OptSystemInfoData) SetTo(v SystemInfoData)

SetTo sets value to v.

func (*OptSystemInfoData) UnmarshalJSON

func (s *OptSystemInfoData) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type OptTransactionTypeFilter

type OptTransactionTypeFilter struct {
	Value TransactionTypeFilter
	Set   bool
}

OptTransactionTypeFilter is optional TransactionTypeFilter.

func NewOptTransactionTypeFilter

func NewOptTransactionTypeFilter(v TransactionTypeFilter) OptTransactionTypeFilter

NewOptTransactionTypeFilter returns new OptTransactionTypeFilter with value set to v.

func (OptTransactionTypeFilter) Get

Get returns value and boolean that denotes whether value was set.

func (OptTransactionTypeFilter) IsSet

func (o OptTransactionTypeFilter) IsSet() bool

IsSet returns true if OptTransactionTypeFilter was set.

func (OptTransactionTypeFilter) Or

Or returns value if set, or given parameter if does not.

func (*OptTransactionTypeFilter) Reset

func (o *OptTransactionTypeFilter) Reset()

Reset unsets value.

func (*OptTransactionTypeFilter) SetTo

SetTo sets value to v.

type OptTransactionTypeProperty

type OptTransactionTypeProperty struct {
	Value TransactionTypeProperty
	Set   bool
}

OptTransactionTypeProperty is optional TransactionTypeProperty.

func NewOptTransactionTypeProperty

func NewOptTransactionTypeProperty(v TransactionTypeProperty) OptTransactionTypeProperty

NewOptTransactionTypeProperty returns new OptTransactionTypeProperty with value set to v.

func (*OptTransactionTypeProperty) Decode

Decode decodes TransactionTypeProperty from json.

func (OptTransactionTypeProperty) Encode

func (o OptTransactionTypeProperty) Encode(e *jx.Encoder)

Encode encodes TransactionTypeProperty as json.

func (OptTransactionTypeProperty) Get

Get returns value and boolean that denotes whether value was set.

func (OptTransactionTypeProperty) IsSet

func (o OptTransactionTypeProperty) IsSet() bool

IsSet returns true if OptTransactionTypeProperty was set.

func (OptTransactionTypeProperty) MarshalJSON

func (s OptTransactionTypeProperty) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (OptTransactionTypeProperty) Or

Or returns value if set, or given parameter if does not.

func (*OptTransactionTypeProperty) Reset

func (o *OptTransactionTypeProperty) Reset()

Reset unsets value.

func (*OptTransactionTypeProperty) SetTo

SetTo sets value to v.

func (*OptTransactionTypeProperty) UnmarshalJSON

func (s *OptTransactionTypeProperty) 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 OptUUID

type OptUUID struct {
	Value uuid.UUID
	Set   bool
}

OptUUID is optional uuid.UUID.

func NewOptUUID

func NewOptUUID(v uuid.UUID) OptUUID

NewOptUUID returns new OptUUID with value set to v.

func (OptUUID) Get

func (o OptUUID) Get() (v uuid.UUID, ok bool)

Get returns value and boolean that denotes whether value was set.

func (OptUUID) IsSet

func (o OptUUID) IsSet() bool

IsSet returns true if OptUUID was set.

func (OptUUID) Or

func (o OptUUID) Or(d uuid.UUID) uuid.UUID

Or returns value if set, or given parameter if does not.

func (*OptUUID) Reset

func (o *OptUUID) Reset()

Reset unsets value.

func (*OptUUID) SetTo

func (o *OptUUID) SetTo(v uuid.UUID)

SetTo sets value to v.

type OptValidationErrorErrors

type OptValidationErrorErrors struct {
	Value ValidationErrorErrors
	Set   bool
}

OptValidationErrorErrors is optional ValidationErrorErrors.

func NewOptValidationErrorErrors

func NewOptValidationErrorErrors(v ValidationErrorErrors) OptValidationErrorErrors

NewOptValidationErrorErrors returns new OptValidationErrorErrors with value set to v.

func (*OptValidationErrorErrors) Decode

func (o *OptValidationErrorErrors) Decode(d *jx.Decoder) error

Decode decodes ValidationErrorErrors from json.

func (OptValidationErrorErrors) Encode

func (o OptValidationErrorErrors) Encode(e *jx.Encoder)

Encode encodes ValidationErrorErrors as json.

func (OptValidationErrorErrors) Get

Get returns value and boolean that denotes whether value was set.

func (OptValidationErrorErrors) IsSet

func (o OptValidationErrorErrors) IsSet() bool

IsSet returns true if OptValidationErrorErrors was set.

func (OptValidationErrorErrors) MarshalJSON

func (s OptValidationErrorErrors) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (OptValidationErrorErrors) Or

Or returns value if set, or given parameter if does not.

func (*OptValidationErrorErrors) Reset

func (o *OptValidationErrorErrors) Reset()

Reset unsets value.

func (*OptValidationErrorErrors) SetTo

SetTo sets value to v.

func (*OptValidationErrorErrors) UnmarshalJSON

func (s *OptValidationErrorErrors) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type OptWebhookDelivery

type OptWebhookDelivery struct {
	Value WebhookDelivery
	Set   bool
}

OptWebhookDelivery is optional WebhookDelivery.

func NewOptWebhookDelivery

func NewOptWebhookDelivery(v WebhookDelivery) OptWebhookDelivery

NewOptWebhookDelivery returns new OptWebhookDelivery with value set to v.

func (*OptWebhookDelivery) Decode

func (o *OptWebhookDelivery) Decode(d *jx.Decoder) error

Decode decodes WebhookDelivery from json.

func (OptWebhookDelivery) Encode

func (o OptWebhookDelivery) Encode(e *jx.Encoder)

Encode encodes WebhookDelivery as json.

func (OptWebhookDelivery) Get

func (o OptWebhookDelivery) Get() (v WebhookDelivery, ok bool)

Get returns value and boolean that denotes whether value was set.

func (OptWebhookDelivery) IsSet

func (o OptWebhookDelivery) IsSet() bool

IsSet returns true if OptWebhookDelivery was set.

func (OptWebhookDelivery) MarshalJSON

func (s OptWebhookDelivery) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (OptWebhookDelivery) Or

Or returns value if set, or given parameter if does not.

func (*OptWebhookDelivery) Reset

func (o *OptWebhookDelivery) Reset()

Reset unsets value.

func (*OptWebhookDelivery) SetTo

func (o *OptWebhookDelivery) SetTo(v WebhookDelivery)

SetTo sets value to v.

func (*OptWebhookDelivery) UnmarshalJSON

func (s *OptWebhookDelivery) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type OptWebhookResponse

type OptWebhookResponse struct {
	Value WebhookResponse
	Set   bool
}

OptWebhookResponse is optional WebhookResponse.

func NewOptWebhookResponse

func NewOptWebhookResponse(v WebhookResponse) OptWebhookResponse

NewOptWebhookResponse returns new OptWebhookResponse with value set to v.

func (*OptWebhookResponse) Decode

func (o *OptWebhookResponse) Decode(d *jx.Decoder) error

Decode decodes WebhookResponse from json.

func (OptWebhookResponse) Encode

func (o OptWebhookResponse) Encode(e *jx.Encoder)

Encode encodes WebhookResponse as json.

func (OptWebhookResponse) Get

func (o OptWebhookResponse) Get() (v WebhookResponse, ok bool)

Get returns value and boolean that denotes whether value was set.

func (OptWebhookResponse) IsSet

func (o OptWebhookResponse) IsSet() bool

IsSet returns true if OptWebhookResponse was set.

func (OptWebhookResponse) MarshalJSON

func (s OptWebhookResponse) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (OptWebhookResponse) Or

Or returns value if set, or given parameter if does not.

func (*OptWebhookResponse) Reset

func (o *OptWebhookResponse) Reset()

Reset unsets value.

func (*OptWebhookResponse) SetTo

func (o *OptWebhookResponse) SetTo(v WebhookResponse)

SetTo sets value to v.

func (*OptWebhookResponse) UnmarshalJSON

func (s *OptWebhookResponse) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type OptWebhookTrigger

type OptWebhookTrigger struct {
	Value WebhookTrigger
	Set   bool
}

OptWebhookTrigger is optional WebhookTrigger.

func NewOptWebhookTrigger

func NewOptWebhookTrigger(v WebhookTrigger) OptWebhookTrigger

NewOptWebhookTrigger returns new OptWebhookTrigger with value set to v.

func (*OptWebhookTrigger) Decode

func (o *OptWebhookTrigger) Decode(d *jx.Decoder) error

Decode decodes WebhookTrigger from json.

func (OptWebhookTrigger) Encode

func (o OptWebhookTrigger) Encode(e *jx.Encoder)

Encode encodes WebhookTrigger as json.

func (OptWebhookTrigger) Get

func (o OptWebhookTrigger) Get() (v WebhookTrigger, ok bool)

Get returns value and boolean that denotes whether value was set.

func (OptWebhookTrigger) IsSet

func (o OptWebhookTrigger) IsSet() bool

IsSet returns true if OptWebhookTrigger was set.

func (OptWebhookTrigger) MarshalJSON

func (s OptWebhookTrigger) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (OptWebhookTrigger) Or

Or returns value if set, or given parameter if does not.

func (*OptWebhookTrigger) Reset

func (o *OptWebhookTrigger) Reset()

Reset unsets value.

func (*OptWebhookTrigger) SetTo

func (o *OptWebhookTrigger) SetTo(v WebhookTrigger)

SetTo sets value to v.

func (*OptWebhookTrigger) UnmarshalJSON

func (s *OptWebhookTrigger) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type Option

type Option interface {
	ClientOption
}

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 PageLink struct {
	Self  OptURI `json:"self"`
	First OptURI `json:"first"`
	Next  OptURI `json:"next"`
	Prev  OptURI `json:"prev"`
	Last  OptURI `json:"last"`
}

Ref: #/components/schemas/PageLink

func (*PageLink) Decode

func (s *PageLink) Decode(d *jx.Decoder) error

Decode decodes PageLink from json.

func (*PageLink) Encode

func (s *PageLink) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*PageLink) GetFirst

func (s *PageLink) GetFirst() OptURI

GetFirst returns the value of First.

func (*PageLink) GetLast

func (s *PageLink) GetLast() OptURI

GetLast returns the value of Last.

func (*PageLink) GetNext

func (s *PageLink) GetNext() OptURI

GetNext returns the value of Next.

func (*PageLink) GetPrev

func (s *PageLink) GetPrev() OptURI

GetPrev returns the value of Prev.

func (*PageLink) GetSelf

func (s *PageLink) GetSelf() OptURI

GetSelf returns the value of Self.

func (*PageLink) MarshalJSON

func (s *PageLink) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*PageLink) SetFirst

func (s *PageLink) SetFirst(val OptURI)

SetFirst sets the value of First.

func (*PageLink) SetLast

func (s *PageLink) SetLast(val OptURI)

SetLast sets the value of Last.

func (*PageLink) SetNext

func (s *PageLink) SetNext(val OptURI)

SetNext sets the value of Next.

func (*PageLink) SetPrev

func (s *PageLink) SetPrev(val OptURI)

SetPrev sets the value of Prev.

func (*PageLink) SetSelf

func (s *PageLink) SetSelf(val OptURI)

SetSelf sets the value of Self.

func (*PageLink) UnmarshalJSON

func (s *PageLink) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type PiggyBank

type PiggyBank struct {
	CreatedAt OptDateTime `json:"created_at"`
	UpdatedAt OptDateTime `json:"updated_at"`
	// The ID of the asset account this piggy bank is connected to.
	AccountID string `json:"account_id"`
	// The name of the asset account this piggy bank is connected to.
	AccountName    OptString `json:"account_name"`
	Name           string    `json:"name"`
	CurrencyID     OptString `json:"currency_id"`
	CurrencyCode   OptString `json:"currency_code"`
	CurrencySymbol OptString `json:"currency_symbol"`
	// Number of decimals supported by the currency.
	CurrencyDecimalPlaces OptInt32      `json:"currency_decimal_places"`
	TargetAmount          NilString     `json:"target_amount"`
	Percentage            OptNilFloat32 `json:"percentage"`
	CurrentAmount         OptString     `json:"current_amount"`
	LeftToSave            OptNilString  `json:"left_to_save"`
	SavePerMonth          OptNilString  `json:"save_per_month"`
	// The date you started with this piggy bank.
	StartDate OptDate `json:"start_date"`
	// The date you intend to finish saving money.
	TargetDate OptNilDate   `json:"target_date"`
	Order      OptInt32     `json:"order"`
	Active     OptBool      `json:"active"`
	Notes      OptNilString `json:"notes"`
	// The group ID of the group this object is part of. NULL if no group.
	ObjectGroupID OptNilString `json:"object_group_id"`
	// The order of the group. At least 1, for the highest sorting.
	ObjectGroupOrder OptNilInt32 `json:"object_group_order"`
	// The name of the group. NULL if no group.
	ObjectGroupTitle OptNilString `json:"object_group_title"`
}

Ref: #/components/schemas/PiggyBank

func (*PiggyBank) Decode

func (s *PiggyBank) Decode(d *jx.Decoder) error

Decode decodes PiggyBank from json.

func (*PiggyBank) Encode

func (s *PiggyBank) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*PiggyBank) GetAccountID

func (s *PiggyBank) GetAccountID() string

GetAccountID returns the value of AccountID.

func (*PiggyBank) GetAccountName

func (s *PiggyBank) GetAccountName() OptString

GetAccountName returns the value of AccountName.

func (*PiggyBank) GetActive

func (s *PiggyBank) GetActive() OptBool

GetActive returns the value of Active.

func (*PiggyBank) GetCreatedAt

func (s *PiggyBank) GetCreatedAt() OptDateTime

GetCreatedAt returns the value of CreatedAt.

func (*PiggyBank) GetCurrencyCode

func (s *PiggyBank) GetCurrencyCode() OptString

GetCurrencyCode returns the value of CurrencyCode.

func (*PiggyBank) GetCurrencyDecimalPlaces

func (s *PiggyBank) GetCurrencyDecimalPlaces() OptInt32

GetCurrencyDecimalPlaces returns the value of CurrencyDecimalPlaces.

func (*PiggyBank) GetCurrencyID

func (s *PiggyBank) GetCurrencyID() OptString

GetCurrencyID returns the value of CurrencyID.

func (*PiggyBank) GetCurrencySymbol

func (s *PiggyBank) GetCurrencySymbol() OptString

GetCurrencySymbol returns the value of CurrencySymbol.

func (*PiggyBank) GetCurrentAmount

func (s *PiggyBank) GetCurrentAmount() OptString

GetCurrentAmount returns the value of CurrentAmount.

func (*PiggyBank) GetLeftToSave

func (s *PiggyBank) GetLeftToSave() OptNilString

GetLeftToSave returns the value of LeftToSave.

func (*PiggyBank) GetName

func (s *PiggyBank) GetName() string

GetName returns the value of Name.

func (*PiggyBank) GetNotes

func (s *PiggyBank) GetNotes() OptNilString

GetNotes returns the value of Notes.

func (*PiggyBank) GetObjectGroupID

func (s *PiggyBank) GetObjectGroupID() OptNilString

GetObjectGroupID returns the value of ObjectGroupID.

func (*PiggyBank) GetObjectGroupOrder

func (s *PiggyBank) GetObjectGroupOrder() OptNilInt32

GetObjectGroupOrder returns the value of ObjectGroupOrder.

func (*PiggyBank) GetObjectGroupTitle

func (s *PiggyBank) GetObjectGroupTitle() OptNilString

GetObjectGroupTitle returns the value of ObjectGroupTitle.

func (*PiggyBank) GetOrder

func (s *PiggyBank) GetOrder() OptInt32

GetOrder returns the value of Order.

func (*PiggyBank) GetPercentage

func (s *PiggyBank) GetPercentage() OptNilFloat32

GetPercentage returns the value of Percentage.

func (*PiggyBank) GetSavePerMonth

func (s *PiggyBank) GetSavePerMonth() OptNilString

GetSavePerMonth returns the value of SavePerMonth.

func (*PiggyBank) GetStartDate

func (s *PiggyBank) GetStartDate() OptDate

GetStartDate returns the value of StartDate.

func (*PiggyBank) GetTargetAmount

func (s *PiggyBank) GetTargetAmount() NilString

GetTargetAmount returns the value of TargetAmount.

func (*PiggyBank) GetTargetDate

func (s *PiggyBank) GetTargetDate() OptNilDate

GetTargetDate returns the value of TargetDate.

func (*PiggyBank) GetUpdatedAt

func (s *PiggyBank) GetUpdatedAt() OptDateTime

GetUpdatedAt returns the value of UpdatedAt.

func (*PiggyBank) MarshalJSON

func (s *PiggyBank) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*PiggyBank) SetAccountID

func (s *PiggyBank) SetAccountID(val string)

SetAccountID sets the value of AccountID.

func (*PiggyBank) SetAccountName

func (s *PiggyBank) SetAccountName(val OptString)

SetAccountName sets the value of AccountName.

func (*PiggyBank) SetActive

func (s *PiggyBank) SetActive(val OptBool)

SetActive sets the value of Active.

func (*PiggyBank) SetCreatedAt

func (s *PiggyBank) SetCreatedAt(val OptDateTime)

SetCreatedAt sets the value of CreatedAt.

func (*PiggyBank) SetCurrencyCode

func (s *PiggyBank) SetCurrencyCode(val OptString)

SetCurrencyCode sets the value of CurrencyCode.

func (*PiggyBank) SetCurrencyDecimalPlaces

func (s *PiggyBank) SetCurrencyDecimalPlaces(val OptInt32)

SetCurrencyDecimalPlaces sets the value of CurrencyDecimalPlaces.

func (*PiggyBank) SetCurrencyID

func (s *PiggyBank) SetCurrencyID(val OptString)

SetCurrencyID sets the value of CurrencyID.

func (*PiggyBank) SetCurrencySymbol

func (s *PiggyBank) SetCurrencySymbol(val OptString)

SetCurrencySymbol sets the value of CurrencySymbol.

func (*PiggyBank) SetCurrentAmount

func (s *PiggyBank) SetCurrentAmount(val OptString)

SetCurrentAmount sets the value of CurrentAmount.

func (*PiggyBank) SetLeftToSave

func (s *PiggyBank) SetLeftToSave(val OptNilString)

SetLeftToSave sets the value of LeftToSave.

func (*PiggyBank) SetName

func (s *PiggyBank) SetName(val string)

SetName sets the value of Name.

func (*PiggyBank) SetNotes

func (s *PiggyBank) SetNotes(val OptNilString)

SetNotes sets the value of Notes.

func (*PiggyBank) SetObjectGroupID

func (s *PiggyBank) SetObjectGroupID(val OptNilString)

SetObjectGroupID sets the value of ObjectGroupID.

func (*PiggyBank) SetObjectGroupOrder

func (s *PiggyBank) SetObjectGroupOrder(val OptNilInt32)

SetObjectGroupOrder sets the value of ObjectGroupOrder.

func (*PiggyBank) SetObjectGroupTitle

func (s *PiggyBank) SetObjectGroupTitle(val OptNilString)

SetObjectGroupTitle sets the value of ObjectGroupTitle.

func (*PiggyBank) SetOrder

func (s *PiggyBank) SetOrder(val OptInt32)

SetOrder sets the value of Order.

func (*PiggyBank) SetPercentage

func (s *PiggyBank) SetPercentage(val OptNilFloat32)

SetPercentage sets the value of Percentage.

func (*PiggyBank) SetSavePerMonth

func (s *PiggyBank) SetSavePerMonth(val OptNilString)

SetSavePerMonth sets the value of SavePerMonth.

func (*PiggyBank) SetStartDate

func (s *PiggyBank) SetStartDate(val OptDate)

SetStartDate sets the value of StartDate.

func (*PiggyBank) SetTargetAmount

func (s *PiggyBank) SetTargetAmount(val NilString)

SetTargetAmount sets the value of TargetAmount.

func (*PiggyBank) SetTargetDate

func (s *PiggyBank) SetTargetDate(val OptNilDate)

SetTargetDate sets the value of TargetDate.

func (*PiggyBank) SetUpdatedAt

func (s *PiggyBank) SetUpdatedAt(val OptDateTime)

SetUpdatedAt sets the value of UpdatedAt.

func (*PiggyBank) UnmarshalJSON

func (s *PiggyBank) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*PiggyBank) Validate

func (s *PiggyBank) Validate() error

type PiggyBankArray

type PiggyBankArray struct {
	Data  []PiggyBankRead `json:"data"`
	Meta  Meta            `json:"meta"`
	Links PageLink        `json:"links"`
}

Ref: #/components/schemas/PiggyBankArray

func (*PiggyBankArray) Decode

func (s *PiggyBankArray) Decode(d *jx.Decoder) error

Decode decodes PiggyBankArray from json.

func (*PiggyBankArray) Encode

func (s *PiggyBankArray) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*PiggyBankArray) GetData

func (s *PiggyBankArray) GetData() []PiggyBankRead

GetData returns the value of Data.

func (s *PiggyBankArray) GetLinks() PageLink

GetLinks returns the value of Links.

func (*PiggyBankArray) GetMeta

func (s *PiggyBankArray) GetMeta() Meta

GetMeta returns the value of Meta.

func (*PiggyBankArray) MarshalJSON

func (s *PiggyBankArray) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*PiggyBankArray) SetData

func (s *PiggyBankArray) SetData(val []PiggyBankRead)

SetData sets the value of Data.

func (s *PiggyBankArray) SetLinks(val PageLink)

SetLinks sets the value of Links.

func (*PiggyBankArray) SetMeta

func (s *PiggyBankArray) SetMeta(val Meta)

SetMeta sets the value of Meta.

func (*PiggyBankArray) UnmarshalJSON

func (s *PiggyBankArray) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*PiggyBankArray) Validate

func (s *PiggyBankArray) Validate() error

type PiggyBankEvent

type PiggyBankEvent struct {
	CreatedAt             OptDateTime `json:"created_at"`
	UpdatedAt             OptDateTime `json:"updated_at"`
	CurrencyID            OptString   `json:"currency_id"`
	CurrencyCode          OptString   `json:"currency_code"`
	CurrencySymbol        OptString   `json:"currency_symbol"`
	CurrencyDecimalPlaces OptInt32    `json:"currency_decimal_places"`
	Amount                OptString   `json:"amount"`
	// The journal associated with the event.
	TransactionJournalID OptString `json:"transaction_journal_id"`
	// The transaction group associated with the event.
	TransactionGroupID OptString `json:"transaction_group_id"`
}

Ref: #/components/schemas/PiggyBankEvent

func (*PiggyBankEvent) Decode

func (s *PiggyBankEvent) Decode(d *jx.Decoder) error

Decode decodes PiggyBankEvent from json.

func (*PiggyBankEvent) Encode

func (s *PiggyBankEvent) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*PiggyBankEvent) GetAmount

func (s *PiggyBankEvent) GetAmount() OptString

GetAmount returns the value of Amount.

func (*PiggyBankEvent) GetCreatedAt

func (s *PiggyBankEvent) GetCreatedAt() OptDateTime

GetCreatedAt returns the value of CreatedAt.

func (*PiggyBankEvent) GetCurrencyCode

func (s *PiggyBankEvent) GetCurrencyCode() OptString

GetCurrencyCode returns the value of CurrencyCode.

func (*PiggyBankEvent) GetCurrencyDecimalPlaces

func (s *PiggyBankEvent) GetCurrencyDecimalPlaces() OptInt32

GetCurrencyDecimalPlaces returns the value of CurrencyDecimalPlaces.

func (*PiggyBankEvent) GetCurrencyID

func (s *PiggyBankEvent) GetCurrencyID() OptString

GetCurrencyID returns the value of CurrencyID.

func (*PiggyBankEvent) GetCurrencySymbol

func (s *PiggyBankEvent) GetCurrencySymbol() OptString

GetCurrencySymbol returns the value of CurrencySymbol.

func (*PiggyBankEvent) GetTransactionGroupID

func (s *PiggyBankEvent) GetTransactionGroupID() OptString

GetTransactionGroupID returns the value of TransactionGroupID.

func (*PiggyBankEvent) GetTransactionJournalID

func (s *PiggyBankEvent) GetTransactionJournalID() OptString

GetTransactionJournalID returns the value of TransactionJournalID.

func (*PiggyBankEvent) GetUpdatedAt

func (s *PiggyBankEvent) GetUpdatedAt() OptDateTime

GetUpdatedAt returns the value of UpdatedAt.

func (*PiggyBankEvent) MarshalJSON

func (s *PiggyBankEvent) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*PiggyBankEvent) SetAmount

func (s *PiggyBankEvent) SetAmount(val OptString)

SetAmount sets the value of Amount.

func (*PiggyBankEvent) SetCreatedAt

func (s *PiggyBankEvent) SetCreatedAt(val OptDateTime)

SetCreatedAt sets the value of CreatedAt.

func (*PiggyBankEvent) SetCurrencyCode

func (s *PiggyBankEvent) SetCurrencyCode(val OptString)

SetCurrencyCode sets the value of CurrencyCode.

func (*PiggyBankEvent) SetCurrencyDecimalPlaces

func (s *PiggyBankEvent) SetCurrencyDecimalPlaces(val OptInt32)

SetCurrencyDecimalPlaces sets the value of CurrencyDecimalPlaces.

func (*PiggyBankEvent) SetCurrencyID

func (s *PiggyBankEvent) SetCurrencyID(val OptString)

SetCurrencyID sets the value of CurrencyID.

func (*PiggyBankEvent) SetCurrencySymbol

func (s *PiggyBankEvent) SetCurrencySymbol(val OptString)

SetCurrencySymbol sets the value of CurrencySymbol.

func (*PiggyBankEvent) SetTransactionGroupID

func (s *PiggyBankEvent) SetTransactionGroupID(val OptString)

SetTransactionGroupID sets the value of TransactionGroupID.

func (*PiggyBankEvent) SetTransactionJournalID

func (s *PiggyBankEvent) SetTransactionJournalID(val OptString)

SetTransactionJournalID sets the value of TransactionJournalID.

func (*PiggyBankEvent) SetUpdatedAt

func (s *PiggyBankEvent) SetUpdatedAt(val OptDateTime)

SetUpdatedAt sets the value of UpdatedAt.

func (*PiggyBankEvent) UnmarshalJSON

func (s *PiggyBankEvent) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type PiggyBankEventArray

type PiggyBankEventArray struct {
	Data  []PiggyBankEventRead `json:"data"`
	Meta  Meta                 `json:"meta"`
	Links PageLink             `json:"links"`
}

Ref: #/components/schemas/PiggyBankEventArray

func (*PiggyBankEventArray) Decode

func (s *PiggyBankEventArray) Decode(d *jx.Decoder) error

Decode decodes PiggyBankEventArray from json.

func (*PiggyBankEventArray) Encode

func (s *PiggyBankEventArray) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*PiggyBankEventArray) GetData

func (s *PiggyBankEventArray) GetData() []PiggyBankEventRead

GetData returns the value of Data.

func (s *PiggyBankEventArray) GetLinks() PageLink

GetLinks returns the value of Links.

func (*PiggyBankEventArray) GetMeta

func (s *PiggyBankEventArray) GetMeta() Meta

GetMeta returns the value of Meta.

func (*PiggyBankEventArray) MarshalJSON

func (s *PiggyBankEventArray) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*PiggyBankEventArray) SetData

func (s *PiggyBankEventArray) SetData(val []PiggyBankEventRead)

SetData sets the value of Data.

func (s *PiggyBankEventArray) SetLinks(val PageLink)

SetLinks sets the value of Links.

func (*PiggyBankEventArray) SetMeta

func (s *PiggyBankEventArray) SetMeta(val Meta)

SetMeta sets the value of Meta.

func (*PiggyBankEventArray) UnmarshalJSON

func (s *PiggyBankEventArray) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*PiggyBankEventArray) Validate

func (s *PiggyBankEventArray) Validate() error

type PiggyBankEventRead

type PiggyBankEventRead struct {
	// Immutable value.
	Type       string         `json:"type"`
	ID         string         `json:"id"`
	Attributes PiggyBankEvent `json:"attributes"`
	Links      ObjectLink     `json:"links"`
}

Ref: #/components/schemas/PiggyBankEventRead

func (*PiggyBankEventRead) Decode

func (s *PiggyBankEventRead) Decode(d *jx.Decoder) error

Decode decodes PiggyBankEventRead from json.

func (*PiggyBankEventRead) Encode

func (s *PiggyBankEventRead) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*PiggyBankEventRead) GetAttributes

func (s *PiggyBankEventRead) GetAttributes() PiggyBankEvent

GetAttributes returns the value of Attributes.

func (*PiggyBankEventRead) GetID

func (s *PiggyBankEventRead) GetID() string

GetID returns the value of ID.

func (s *PiggyBankEventRead) GetLinks() ObjectLink

GetLinks returns the value of Links.

func (*PiggyBankEventRead) GetType

func (s *PiggyBankEventRead) GetType() string

GetType returns the value of Type.

func (*PiggyBankEventRead) MarshalJSON

func (s *PiggyBankEventRead) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*PiggyBankEventRead) SetAttributes

func (s *PiggyBankEventRead) SetAttributes(val PiggyBankEvent)

SetAttributes sets the value of Attributes.

func (*PiggyBankEventRead) SetID

func (s *PiggyBankEventRead) SetID(val string)

SetID sets the value of ID.

func (s *PiggyBankEventRead) SetLinks(val ObjectLink)

SetLinks sets the value of Links.

func (*PiggyBankEventRead) SetType

func (s *PiggyBankEventRead) SetType(val string)

SetType sets the value of Type.

func (*PiggyBankEventRead) UnmarshalJSON

func (s *PiggyBankEventRead) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type PiggyBankRead

type PiggyBankRead struct {
	// Immutable value.
	Type       string     `json:"type"`
	ID         string     `json:"id"`
	Attributes PiggyBank  `json:"attributes"`
	Links      ObjectLink `json:"links"`
}

Ref: #/components/schemas/PiggyBankRead

func (*PiggyBankRead) Decode

func (s *PiggyBankRead) Decode(d *jx.Decoder) error

Decode decodes PiggyBankRead from json.

func (*PiggyBankRead) Encode

func (s *PiggyBankRead) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*PiggyBankRead) GetAttributes

func (s *PiggyBankRead) GetAttributes() PiggyBank

GetAttributes returns the value of Attributes.

func (*PiggyBankRead) GetID

func (s *PiggyBankRead) GetID() string

GetID returns the value of ID.

func (s *PiggyBankRead) GetLinks() ObjectLink

GetLinks returns the value of Links.

func (*PiggyBankRead) GetType

func (s *PiggyBankRead) GetType() string

GetType returns the value of Type.

func (*PiggyBankRead) MarshalJSON

func (s *PiggyBankRead) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*PiggyBankRead) SetAttributes

func (s *PiggyBankRead) SetAttributes(val PiggyBank)

SetAttributes sets the value of Attributes.

func (*PiggyBankRead) SetID

func (s *PiggyBankRead) SetID(val string)

SetID sets the value of ID.

func (s *PiggyBankRead) SetLinks(val ObjectLink)

SetLinks sets the value of Links.

func (*PiggyBankRead) SetType

func (s *PiggyBankRead) SetType(val string)

SetType sets the value of Type.

func (*PiggyBankRead) UnmarshalJSON

func (s *PiggyBankRead) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*PiggyBankRead) Validate

func (s *PiggyBankRead) Validate() error

type PiggyBankSingle

type PiggyBankSingle struct {
	Data PiggyBankRead `json:"data"`
}

Ref: #/components/schemas/PiggyBankSingle

func (*PiggyBankSingle) Decode

func (s *PiggyBankSingle) Decode(d *jx.Decoder) error

Decode decodes PiggyBankSingle from json.

func (*PiggyBankSingle) Encode

func (s *PiggyBankSingle) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*PiggyBankSingle) GetData

func (s *PiggyBankSingle) GetData() PiggyBankRead

GetData returns the value of Data.

func (*PiggyBankSingle) MarshalJSON

func (s *PiggyBankSingle) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*PiggyBankSingle) SetData

func (s *PiggyBankSingle) SetData(val PiggyBankRead)

SetData sets the value of Data.

func (*PiggyBankSingle) UnmarshalJSON

func (s *PiggyBankSingle) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*PiggyBankSingle) Validate

func (s *PiggyBankSingle) Validate() error

type PiggyBankStore

type PiggyBankStore struct {
	Name string `json:"name"`
	// The ID of the asset account this piggy bank is connected to.
	AccountID     string    `json:"account_id"`
	TargetAmount  NilString `json:"target_amount"`
	CurrentAmount OptString `json:"current_amount"`
	// The date you started with this piggy bank.
	StartDate OptDate `json:"start_date"`
	// The date you intend to finish saving money.
	TargetDate OptNilDate   `json:"target_date"`
	Order      OptInt32     `json:"order"`
	Active     OptBool      `json:"active"`
	Notes      OptNilString `json:"notes"`
	// The group ID of the group this object is part of. NULL if no group.
	ObjectGroupID OptNilString `json:"object_group_id"`
	// The name of the group. NULL if no group.
	ObjectGroupTitle OptNilString `json:"object_group_title"`
}

Ref: #/components/schemas/PiggyBankStore

func (*PiggyBankStore) Decode

func (s *PiggyBankStore) Decode(d *jx.Decoder) error

Decode decodes PiggyBankStore from json.

func (*PiggyBankStore) Encode

func (s *PiggyBankStore) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*PiggyBankStore) GetAccountID

func (s *PiggyBankStore) GetAccountID() string

GetAccountID returns the value of AccountID.

func (*PiggyBankStore) GetActive

func (s *PiggyBankStore) GetActive() OptBool

GetActive returns the value of Active.

func (*PiggyBankStore) GetCurrentAmount

func (s *PiggyBankStore) GetCurrentAmount() OptString

GetCurrentAmount returns the value of CurrentAmount.

func (*PiggyBankStore) GetName

func (s *PiggyBankStore) GetName() string

GetName returns the value of Name.

func (*PiggyBankStore) GetNotes

func (s *PiggyBankStore) GetNotes() OptNilString

GetNotes returns the value of Notes.

func (*PiggyBankStore) GetObjectGroupID

func (s *PiggyBankStore) GetObjectGroupID() OptNilString

GetObjectGroupID returns the value of ObjectGroupID.

func (*PiggyBankStore) GetObjectGroupTitle

func (s *PiggyBankStore) GetObjectGroupTitle() OptNilString

GetObjectGroupTitle returns the value of ObjectGroupTitle.

func (*PiggyBankStore) GetOrder

func (s *PiggyBankStore) GetOrder() OptInt32

GetOrder returns the value of Order.

func (*PiggyBankStore) GetStartDate

func (s *PiggyBankStore) GetStartDate() OptDate

GetStartDate returns the value of StartDate.

func (*PiggyBankStore) GetTargetAmount

func (s *PiggyBankStore) GetTargetAmount() NilString

GetTargetAmount returns the value of TargetAmount.

func (*PiggyBankStore) GetTargetDate

func (s *PiggyBankStore) GetTargetDate() OptNilDate

GetTargetDate returns the value of TargetDate.

func (*PiggyBankStore) MarshalJSON

func (s *PiggyBankStore) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*PiggyBankStore) SetAccountID

func (s *PiggyBankStore) SetAccountID(val string)

SetAccountID sets the value of AccountID.

func (*PiggyBankStore) SetActive

func (s *PiggyBankStore) SetActive(val OptBool)

SetActive sets the value of Active.

func (*PiggyBankStore) SetCurrentAmount

func (s *PiggyBankStore) SetCurrentAmount(val OptString)

SetCurrentAmount sets the value of CurrentAmount.

func (*PiggyBankStore) SetName

func (s *PiggyBankStore) SetName(val string)

SetName sets the value of Name.

func (*PiggyBankStore) SetNotes

func (s *PiggyBankStore) SetNotes(val OptNilString)

SetNotes sets the value of Notes.

func (*PiggyBankStore) SetObjectGroupID

func (s *PiggyBankStore) SetObjectGroupID(val OptNilString)

SetObjectGroupID sets the value of ObjectGroupID.

func (*PiggyBankStore) SetObjectGroupTitle

func (s *PiggyBankStore) SetObjectGroupTitle(val OptNilString)

SetObjectGroupTitle sets the value of ObjectGroupTitle.

func (*PiggyBankStore) SetOrder

func (s *PiggyBankStore) SetOrder(val OptInt32)

SetOrder sets the value of Order.

func (*PiggyBankStore) SetStartDate

func (s *PiggyBankStore) SetStartDate(val OptDate)

SetStartDate sets the value of StartDate.

func (*PiggyBankStore) SetTargetAmount

func (s *PiggyBankStore) SetTargetAmount(val NilString)

SetTargetAmount sets the value of TargetAmount.

func (*PiggyBankStore) SetTargetDate

func (s *PiggyBankStore) SetTargetDate(val OptNilDate)

SetTargetDate sets the value of TargetDate.

func (*PiggyBankStore) UnmarshalJSON

func (s *PiggyBankStore) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type PiggyBankUpdate

type PiggyBankUpdate struct {
	Name OptString `json:"name"`
	// The ID of the asset account this piggy bank is connected to.
	AccountID     OptString    `json:"account_id"`
	CurrencyID    OptString    `json:"currency_id"`
	CurrencyCode  OptString    `json:"currency_code"`
	TargetAmount  OptNilString `json:"target_amount"`
	CurrentAmount OptString    `json:"current_amount"`
	// The date you started with this piggy bank.
	StartDate OptDate `json:"start_date"`
	// The date you intend to finish saving money.
	TargetDate OptNilDate   `json:"target_date"`
	Order      OptInt32     `json:"order"`
	Active     OptBool      `json:"active"`
	Notes      OptNilString `json:"notes"`
	// The group ID of the group this object is part of. NULL if no group.
	ObjectGroupID OptNilString `json:"object_group_id"`
	// The name of the group. NULL if no group.
	ObjectGroupTitle OptNilString `json:"object_group_title"`
}

Ref: #/components/schemas/PiggyBankUpdate

func (*PiggyBankUpdate) Decode

func (s *PiggyBankUpdate) Decode(d *jx.Decoder) error

Decode decodes PiggyBankUpdate from json.

func (*PiggyBankUpdate) Encode

func (s *PiggyBankUpdate) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*PiggyBankUpdate) GetAccountID

func (s *PiggyBankUpdate) GetAccountID() OptString

GetAccountID returns the value of AccountID.

func (*PiggyBankUpdate) GetActive

func (s *PiggyBankUpdate) GetActive() OptBool

GetActive returns the value of Active.

func (*PiggyBankUpdate) GetCurrencyCode

func (s *PiggyBankUpdate) GetCurrencyCode() OptString

GetCurrencyCode returns the value of CurrencyCode.

func (*PiggyBankUpdate) GetCurrencyID

func (s *PiggyBankUpdate) GetCurrencyID() OptString

GetCurrencyID returns the value of CurrencyID.

func (*PiggyBankUpdate) GetCurrentAmount

func (s *PiggyBankUpdate) GetCurrentAmount() OptString

GetCurrentAmount returns the value of CurrentAmount.

func (*PiggyBankUpdate) GetName

func (s *PiggyBankUpdate) GetName() OptString

GetName returns the value of Name.

func (*PiggyBankUpdate) GetNotes

func (s *PiggyBankUpdate) GetNotes() OptNilString

GetNotes returns the value of Notes.

func (*PiggyBankUpdate) GetObjectGroupID

func (s *PiggyBankUpdate) GetObjectGroupID() OptNilString

GetObjectGroupID returns the value of ObjectGroupID.

func (*PiggyBankUpdate) GetObjectGroupTitle

func (s *PiggyBankUpdate) GetObjectGroupTitle() OptNilString

GetObjectGroupTitle returns the value of ObjectGroupTitle.

func (*PiggyBankUpdate) GetOrder

func (s *PiggyBankUpdate) GetOrder() OptInt32

GetOrder returns the value of Order.

func (*PiggyBankUpdate) GetStartDate

func (s *PiggyBankUpdate) GetStartDate() OptDate

GetStartDate returns the value of StartDate.

func (*PiggyBankUpdate) GetTargetAmount

func (s *PiggyBankUpdate) GetTargetAmount() OptNilString

GetTargetAmount returns the value of TargetAmount.

func (*PiggyBankUpdate) GetTargetDate

func (s *PiggyBankUpdate) GetTargetDate() OptNilDate

GetTargetDate returns the value of TargetDate.

func (*PiggyBankUpdate) MarshalJSON

func (s *PiggyBankUpdate) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*PiggyBankUpdate) SetAccountID

func (s *PiggyBankUpdate) SetAccountID(val OptString)

SetAccountID sets the value of AccountID.

func (*PiggyBankUpdate) SetActive

func (s *PiggyBankUpdate) SetActive(val OptBool)

SetActive sets the value of Active.

func (*PiggyBankUpdate) SetCurrencyCode

func (s *PiggyBankUpdate) SetCurrencyCode(val OptString)

SetCurrencyCode sets the value of CurrencyCode.

func (*PiggyBankUpdate) SetCurrencyID

func (s *PiggyBankUpdate) SetCurrencyID(val OptString)

SetCurrencyID sets the value of CurrencyID.

func (*PiggyBankUpdate) SetCurrentAmount

func (s *PiggyBankUpdate) SetCurrentAmount(val OptString)

SetCurrentAmount sets the value of CurrentAmount.

func (*PiggyBankUpdate) SetName

func (s *PiggyBankUpdate) SetName(val OptString)

SetName sets the value of Name.

func (*PiggyBankUpdate) SetNotes

func (s *PiggyBankUpdate) SetNotes(val OptNilString)

SetNotes sets the value of Notes.

func (*PiggyBankUpdate) SetObjectGroupID

func (s *PiggyBankUpdate) SetObjectGroupID(val OptNilString)

SetObjectGroupID sets the value of ObjectGroupID.

func (*PiggyBankUpdate) SetObjectGroupTitle

func (s *PiggyBankUpdate) SetObjectGroupTitle(val OptNilString)

SetObjectGroupTitle sets the value of ObjectGroupTitle.

func (*PiggyBankUpdate) SetOrder

func (s *PiggyBankUpdate) SetOrder(val OptInt32)

SetOrder sets the value of Order.

func (*PiggyBankUpdate) SetStartDate

func (s *PiggyBankUpdate) SetStartDate(val OptDate)

SetStartDate sets the value of StartDate.

func (*PiggyBankUpdate) SetTargetAmount

func (s *PiggyBankUpdate) SetTargetAmount(val OptNilString)

SetTargetAmount sets the value of TargetAmount.

func (*PiggyBankUpdate) SetTargetDate

func (s *PiggyBankUpdate) SetTargetDate(val OptNilDate)

SetTargetDate sets the value of TargetDate.

func (*PiggyBankUpdate) UnmarshalJSON

func (s *PiggyBankUpdate) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type PolymorphicProperty

type PolymorphicProperty struct {
	Type                 PolymorphicPropertyType // switch on this field
	Bool                 bool
	String               string
	PolymorphicProperty2 PolymorphicProperty2
	StringArrayItemArray []StringArrayItem
}

Ref: #/components/schemas/PolymorphicProperty PolymorphicProperty represents sum type.

func NewBoolPolymorphicProperty

func NewBoolPolymorphicProperty(v bool) PolymorphicProperty

NewBoolPolymorphicProperty returns new PolymorphicProperty from bool.

func NewPolymorphicProperty2PolymorphicProperty

func NewPolymorphicProperty2PolymorphicProperty(v PolymorphicProperty2) PolymorphicProperty

NewPolymorphicProperty2PolymorphicProperty returns new PolymorphicProperty from PolymorphicProperty2.

func NewStringArrayItemArrayPolymorphicProperty

func NewStringArrayItemArrayPolymorphicProperty(v []StringArrayItem) PolymorphicProperty

NewStringArrayItemArrayPolymorphicProperty returns new PolymorphicProperty from []StringArrayItem.

func NewStringPolymorphicProperty

func NewStringPolymorphicProperty(v string) PolymorphicProperty

NewStringPolymorphicProperty returns new PolymorphicProperty from string.

func (*PolymorphicProperty) Decode

func (s *PolymorphicProperty) Decode(d *jx.Decoder) error

Decode decodes PolymorphicProperty from json.

func (PolymorphicProperty) Encode

func (s PolymorphicProperty) Encode(e *jx.Encoder)

Encode encodes PolymorphicProperty as json.

func (PolymorphicProperty) GetBool

func (s PolymorphicProperty) GetBool() (v bool, ok bool)

GetBool returns bool and true boolean if PolymorphicProperty is bool.

func (PolymorphicProperty) GetPolymorphicProperty2

func (s PolymorphicProperty) GetPolymorphicProperty2() (v PolymorphicProperty2, ok bool)

GetPolymorphicProperty2 returns PolymorphicProperty2 and true boolean if PolymorphicProperty is PolymorphicProperty2.

func (PolymorphicProperty) GetString

func (s PolymorphicProperty) GetString() (v string, ok bool)

GetString returns string and true boolean if PolymorphicProperty is string.

func (PolymorphicProperty) GetStringArrayItemArray

func (s PolymorphicProperty) GetStringArrayItemArray() (v []StringArrayItem, ok bool)

GetStringArrayItemArray returns []StringArrayItem and true boolean if PolymorphicProperty is []StringArrayItem.

func (PolymorphicProperty) IsBool

func (s PolymorphicProperty) IsBool() bool

IsBool reports whether PolymorphicProperty is bool.

func (PolymorphicProperty) IsPolymorphicProperty2

func (s PolymorphicProperty) IsPolymorphicProperty2() bool

IsPolymorphicProperty2 reports whether PolymorphicProperty is PolymorphicProperty2.

func (PolymorphicProperty) IsString

func (s PolymorphicProperty) IsString() bool

IsString reports whether PolymorphicProperty is string.

func (PolymorphicProperty) IsStringArrayItemArray

func (s PolymorphicProperty) IsStringArrayItemArray() bool

IsStringArrayItemArray reports whether PolymorphicProperty is []StringArrayItem.

func (PolymorphicProperty) MarshalJSON

func (s PolymorphicProperty) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*PolymorphicProperty) SetBool

func (s *PolymorphicProperty) SetBool(v bool)

SetBool sets PolymorphicProperty to bool.

func (*PolymorphicProperty) SetPolymorphicProperty2

func (s *PolymorphicProperty) SetPolymorphicProperty2(v PolymorphicProperty2)

SetPolymorphicProperty2 sets PolymorphicProperty to PolymorphicProperty2.

func (*PolymorphicProperty) SetString

func (s *PolymorphicProperty) SetString(v string)

SetString sets PolymorphicProperty to string.

func (*PolymorphicProperty) SetStringArrayItemArray

func (s *PolymorphicProperty) SetStringArrayItemArray(v []StringArrayItem)

SetStringArrayItemArray sets PolymorphicProperty to []StringArrayItem.

func (*PolymorphicProperty) UnmarshalJSON

func (s *PolymorphicProperty) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (PolymorphicProperty) Validate

func (s PolymorphicProperty) Validate() error

type PolymorphicProperty2

type PolymorphicProperty2 struct{}

func (*PolymorphicProperty2) Decode

func (s *PolymorphicProperty2) Decode(d *jx.Decoder) error

Decode decodes PolymorphicProperty2 from json.

func (*PolymorphicProperty2) Encode

func (s *PolymorphicProperty2) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*PolymorphicProperty2) MarshalJSON

func (s *PolymorphicProperty2) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*PolymorphicProperty2) UnmarshalJSON

func (s *PolymorphicProperty2) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type PolymorphicPropertyType

type PolymorphicPropertyType string

PolymorphicPropertyType is oneOf type of PolymorphicProperty.

const (
	BoolPolymorphicProperty                 PolymorphicPropertyType = "bool"
	StringPolymorphicProperty               PolymorphicPropertyType = "string"
	PolymorphicProperty2PolymorphicProperty PolymorphicPropertyType = "PolymorphicProperty2"
	StringArrayItemArrayPolymorphicProperty PolymorphicPropertyType = "[]StringArrayItem"
)

Possible values for PolymorphicPropertyType.

type Preference

type Preference struct {
	CreatedAt OptDateTime `json:"created_at"`
	UpdatedAt OptDateTime `json:"updated_at"`
	Name      string      `json:"name"`
	// The actual preference content.
	Data PolymorphicProperty `json:"data"`
}

Ref: #/components/schemas/Preference

func (*Preference) Decode

func (s *Preference) Decode(d *jx.Decoder) error

Decode decodes Preference from json.

func (*Preference) Encode

func (s *Preference) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*Preference) GetCreatedAt

func (s *Preference) GetCreatedAt() OptDateTime

GetCreatedAt returns the value of CreatedAt.

func (*Preference) GetData

func (s *Preference) GetData() PolymorphicProperty

GetData returns the value of Data.

func (*Preference) GetName

func (s *Preference) GetName() string

GetName returns the value of Name.

func (*Preference) GetUpdatedAt

func (s *Preference) GetUpdatedAt() OptDateTime

GetUpdatedAt returns the value of UpdatedAt.

func (*Preference) MarshalJSON

func (s *Preference) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*Preference) SetCreatedAt

func (s *Preference) SetCreatedAt(val OptDateTime)

SetCreatedAt sets the value of CreatedAt.

func (*Preference) SetData

func (s *Preference) SetData(val PolymorphicProperty)

SetData sets the value of Data.

func (*Preference) SetName

func (s *Preference) SetName(val string)

SetName sets the value of Name.

func (*Preference) SetUpdatedAt

func (s *Preference) SetUpdatedAt(val OptDateTime)

SetUpdatedAt sets the value of UpdatedAt.

func (*Preference) UnmarshalJSON

func (s *Preference) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*Preference) Validate

func (s *Preference) Validate() error

type PreferenceArray

type PreferenceArray struct {
	Data  []PreferenceRead `json:"data"`
	Meta  Meta             `json:"meta"`
	Links PageLink         `json:"links"`
}

Ref: #/components/schemas/PreferenceArray

func (*PreferenceArray) Decode

func (s *PreferenceArray) Decode(d *jx.Decoder) error

Decode decodes PreferenceArray from json.

func (*PreferenceArray) Encode

func (s *PreferenceArray) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*PreferenceArray) GetData

func (s *PreferenceArray) GetData() []PreferenceRead

GetData returns the value of Data.

func (s *PreferenceArray) GetLinks() PageLink

GetLinks returns the value of Links.

func (*PreferenceArray) GetMeta

func (s *PreferenceArray) GetMeta() Meta

GetMeta returns the value of Meta.

func (*PreferenceArray) MarshalJSON

func (s *PreferenceArray) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*PreferenceArray) SetData

func (s *PreferenceArray) SetData(val []PreferenceRead)

SetData sets the value of Data.

func (s *PreferenceArray) SetLinks(val PageLink)

SetLinks sets the value of Links.

func (*PreferenceArray) SetMeta

func (s *PreferenceArray) SetMeta(val Meta)

SetMeta sets the value of Meta.

func (*PreferenceArray) UnmarshalJSON

func (s *PreferenceArray) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*PreferenceArray) Validate

func (s *PreferenceArray) Validate() error

type PreferenceRead

type PreferenceRead struct {
	// Immutable value.
	Type       string     `json:"type"`
	ID         string     `json:"id"`
	Attributes Preference `json:"attributes"`
}

Ref: #/components/schemas/PreferenceRead

func (*PreferenceRead) Decode

func (s *PreferenceRead) Decode(d *jx.Decoder) error

Decode decodes PreferenceRead from json.

func (*PreferenceRead) Encode

func (s *PreferenceRead) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*PreferenceRead) GetAttributes

func (s *PreferenceRead) GetAttributes() Preference

GetAttributes returns the value of Attributes.

func (*PreferenceRead) GetID

func (s *PreferenceRead) GetID() string

GetID returns the value of ID.

func (*PreferenceRead) GetType

func (s *PreferenceRead) GetType() string

GetType returns the value of Type.

func (*PreferenceRead) MarshalJSON

func (s *PreferenceRead) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*PreferenceRead) SetAttributes

func (s *PreferenceRead) SetAttributes(val Preference)

SetAttributes sets the value of Attributes.

func (*PreferenceRead) SetID

func (s *PreferenceRead) SetID(val string)

SetID sets the value of ID.

func (*PreferenceRead) SetType

func (s *PreferenceRead) SetType(val string)

SetType sets the value of Type.

func (*PreferenceRead) UnmarshalJSON

func (s *PreferenceRead) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*PreferenceRead) Validate

func (s *PreferenceRead) Validate() error

type PreferenceSingle

type PreferenceSingle struct {
	Data PreferenceRead `json:"data"`
}

Ref: #/components/schemas/PreferenceSingle

func (*PreferenceSingle) Decode

func (s *PreferenceSingle) Decode(d *jx.Decoder) error

Decode decodes PreferenceSingle from json.

func (*PreferenceSingle) Encode

func (s *PreferenceSingle) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*PreferenceSingle) GetData

func (s *PreferenceSingle) GetData() PreferenceRead

GetData returns the value of Data.

func (*PreferenceSingle) MarshalJSON

func (s *PreferenceSingle) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*PreferenceSingle) SetData

func (s *PreferenceSingle) SetData(val PreferenceRead)

SetData sets the value of Data.

func (*PreferenceSingle) UnmarshalJSON

func (s *PreferenceSingle) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*PreferenceSingle) Validate

func (s *PreferenceSingle) Validate() error

type PreferenceUpdate

type PreferenceUpdate struct {
	// The actual preference content.
	Data PolymorphicProperty `json:"data"`
}

Ref: #/components/schemas/PreferenceUpdate

func (*PreferenceUpdate) Decode

func (s *PreferenceUpdate) Decode(d *jx.Decoder) error

Decode decodes PreferenceUpdate from json.

func (*PreferenceUpdate) Encode

func (s *PreferenceUpdate) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*PreferenceUpdate) GetData

GetData returns the value of Data.

func (*PreferenceUpdate) MarshalJSON

func (s *PreferenceUpdate) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*PreferenceUpdate) SetData

func (s *PreferenceUpdate) SetData(val PolymorphicProperty)

SetData sets the value of Data.

func (*PreferenceUpdate) UnmarshalJSON

func (s *PreferenceUpdate) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*PreferenceUpdate) Validate

func (s *PreferenceUpdate) Validate() error

type PurgeDataNoContent

type PurgeDataNoContent struct{}

PurgeDataNoContent is response for PurgeData operation.

type PurgeDataParams

type PurgeDataParams struct {
	// Unique identifier associated with this request.
	XTraceID OptUUID
}

PurgeDataParams is parameters of purgeData operation.

type PurgeDataRes

type PurgeDataRes interface {
	// contains filtered or unexported methods
}

type Recurrence

type Recurrence struct {
	CreatedAt OptDateTime                  `json:"created_at"`
	UpdatedAt OptDateTime                  `json:"updated_at"`
	Type      OptRecurrenceTransactionType `json:"type"`
	Title     OptString                    `json:"title"`
	// Not to be confused with the description of the actual transaction(s) being created.
	Description OptString `json:"description"`
	// First time the recurring transaction will fire. Must be after today.
	FirstDate OptDate `json:"first_date"`
	// Last time the recurring transaction has fired.
	LatestDate OptNilDate `json:"latest_date"`
	// Date until the recurring transaction can fire. Use either this field or repetitions.
	RepeatUntil OptNilDate `json:"repeat_until"`
	// Max number of created transactions. Use either this field or repeat_until.
	NrOfRepetitions OptNilInt32 `json:"nr_of_repetitions"`
	// Whether or not to fire the rules after the creation of a transaction.
	ApplyRules OptBool `json:"apply_rules"`
	// If the recurrence is even active.
	Active       OptBool                 `json:"active"`
	Notes        OptNilString            `json:"notes"`
	Repetitions  []RecurrenceRepetition  `json:"repetitions"`
	Transactions []RecurrenceTransaction `json:"transactions"`
}

Ref: #/components/schemas/Recurrence

func (*Recurrence) Decode

func (s *Recurrence) Decode(d *jx.Decoder) error

Decode decodes Recurrence from json.

func (*Recurrence) Encode

func (s *Recurrence) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*Recurrence) GetActive

func (s *Recurrence) GetActive() OptBool

GetActive returns the value of Active.

func (*Recurrence) GetApplyRules

func (s *Recurrence) GetApplyRules() OptBool

GetApplyRules returns the value of ApplyRules.

func (*Recurrence) GetCreatedAt

func (s *Recurrence) GetCreatedAt() OptDateTime

GetCreatedAt returns the value of CreatedAt.

func (*Recurrence) GetDescription

func (s *Recurrence) GetDescription() OptString

GetDescription returns the value of Description.

func (*Recurrence) GetFirstDate

func (s *Recurrence) GetFirstDate() OptDate

GetFirstDate returns the value of FirstDate.

func (*Recurrence) GetLatestDate

func (s *Recurrence) GetLatestDate() OptNilDate

GetLatestDate returns the value of LatestDate.

func (*Recurrence) GetNotes

func (s *Recurrence) GetNotes() OptNilString

GetNotes returns the value of Notes.

func (*Recurrence) GetNrOfRepetitions

func (s *Recurrence) GetNrOfRepetitions() OptNilInt32

GetNrOfRepetitions returns the value of NrOfRepetitions.

func (*Recurrence) GetRepeatUntil

func (s *Recurrence) GetRepeatUntil() OptNilDate

GetRepeatUntil returns the value of RepeatUntil.

func (*Recurrence) GetRepetitions

func (s *Recurrence) GetRepetitions() []RecurrenceRepetition

GetRepetitions returns the value of Repetitions.

func (*Recurrence) GetTitle

func (s *Recurrence) GetTitle() OptString

GetTitle returns the value of Title.

func (*Recurrence) GetTransactions

func (s *Recurrence) GetTransactions() []RecurrenceTransaction

GetTransactions returns the value of Transactions.

func (*Recurrence) GetType

GetType returns the value of Type.

func (*Recurrence) GetUpdatedAt

func (s *Recurrence) GetUpdatedAt() OptDateTime

GetUpdatedAt returns the value of UpdatedAt.

func (*Recurrence) MarshalJSON

func (s *Recurrence) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*Recurrence) SetActive

func (s *Recurrence) SetActive(val OptBool)

SetActive sets the value of Active.

func (*Recurrence) SetApplyRules

func (s *Recurrence) SetApplyRules(val OptBool)

SetApplyRules sets the value of ApplyRules.

func (*Recurrence) SetCreatedAt

func (s *Recurrence) SetCreatedAt(val OptDateTime)

SetCreatedAt sets the value of CreatedAt.

func (*Recurrence) SetDescription

func (s *Recurrence) SetDescription(val OptString)

SetDescription sets the value of Description.

func (*Recurrence) SetFirstDate

func (s *Recurrence) SetFirstDate(val OptDate)

SetFirstDate sets the value of FirstDate.

func (*Recurrence) SetLatestDate

func (s *Recurrence) SetLatestDate(val OptNilDate)

SetLatestDate sets the value of LatestDate.

func (*Recurrence) SetNotes

func (s *Recurrence) SetNotes(val OptNilString)

SetNotes sets the value of Notes.

func (*Recurrence) SetNrOfRepetitions

func (s *Recurrence) SetNrOfRepetitions(val OptNilInt32)

SetNrOfRepetitions sets the value of NrOfRepetitions.

func (*Recurrence) SetRepeatUntil

func (s *Recurrence) SetRepeatUntil(val OptNilDate)

SetRepeatUntil sets the value of RepeatUntil.

func (*Recurrence) SetRepetitions

func (s *Recurrence) SetRepetitions(val []RecurrenceRepetition)

SetRepetitions sets the value of Repetitions.

func (*Recurrence) SetTitle

func (s *Recurrence) SetTitle(val OptString)

SetTitle sets the value of Title.

func (*Recurrence) SetTransactions

func (s *Recurrence) SetTransactions(val []RecurrenceTransaction)

SetTransactions sets the value of Transactions.

func (*Recurrence) SetType

func (s *Recurrence) SetType(val OptRecurrenceTransactionType)

SetType sets the value of Type.

func (*Recurrence) SetUpdatedAt

func (s *Recurrence) SetUpdatedAt(val OptDateTime)

SetUpdatedAt sets the value of UpdatedAt.

func (*Recurrence) UnmarshalJSON

func (s *Recurrence) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*Recurrence) Validate

func (s *Recurrence) Validate() error

type RecurrenceArray

type RecurrenceArray struct {
	Data  []RecurrenceRead `json:"data"`
	Meta  Meta             `json:"meta"`
	Links PageLink         `json:"links"`
}

Ref: #/components/schemas/RecurrenceArray

func (*RecurrenceArray) Decode

func (s *RecurrenceArray) Decode(d *jx.Decoder) error

Decode decodes RecurrenceArray from json.

func (*RecurrenceArray) Encode

func (s *RecurrenceArray) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*RecurrenceArray) GetData

func (s *RecurrenceArray) GetData() []RecurrenceRead

GetData returns the value of Data.

func (s *RecurrenceArray) GetLinks() PageLink

GetLinks returns the value of Links.

func (*RecurrenceArray) GetMeta

func (s *RecurrenceArray) GetMeta() Meta

GetMeta returns the value of Meta.

func (*RecurrenceArray) MarshalJSON

func (s *RecurrenceArray) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*RecurrenceArray) SetData

func (s *RecurrenceArray) SetData(val []RecurrenceRead)

SetData sets the value of Data.

func (s *RecurrenceArray) SetLinks(val PageLink)

SetLinks sets the value of Links.

func (*RecurrenceArray) SetMeta

func (s *RecurrenceArray) SetMeta(val Meta)

SetMeta sets the value of Meta.

func (*RecurrenceArray) UnmarshalJSON

func (s *RecurrenceArray) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*RecurrenceArray) Validate

func (s *RecurrenceArray) Validate() error

type RecurrenceRead

type RecurrenceRead struct {
	// Immutable value.
	Type       string     `json:"type"`
	ID         string     `json:"id"`
	Attributes Recurrence `json:"attributes"`
	Links      ObjectLink `json:"links"`
}

Ref: #/components/schemas/RecurrenceRead

func (*RecurrenceRead) Decode

func (s *RecurrenceRead) Decode(d *jx.Decoder) error

Decode decodes RecurrenceRead from json.

func (*RecurrenceRead) Encode

func (s *RecurrenceRead) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*RecurrenceRead) GetAttributes

func (s *RecurrenceRead) GetAttributes() Recurrence

GetAttributes returns the value of Attributes.

func (*RecurrenceRead) GetID

func (s *RecurrenceRead) GetID() string

GetID returns the value of ID.

func (s *RecurrenceRead) GetLinks() ObjectLink

GetLinks returns the value of Links.

func (*RecurrenceRead) GetType

func (s *RecurrenceRead) GetType() string

GetType returns the value of Type.

func (*RecurrenceRead) MarshalJSON

func (s *RecurrenceRead) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*RecurrenceRead) SetAttributes

func (s *RecurrenceRead) SetAttributes(val Recurrence)

SetAttributes sets the value of Attributes.

func (*RecurrenceRead) SetID

func (s *RecurrenceRead) SetID(val string)

SetID sets the value of ID.

func (s *RecurrenceRead) SetLinks(val ObjectLink)

SetLinks sets the value of Links.

func (*RecurrenceRead) SetType

func (s *RecurrenceRead) SetType(val string)

SetType sets the value of Type.

func (*RecurrenceRead) UnmarshalJSON

func (s *RecurrenceRead) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*RecurrenceRead) Validate

func (s *RecurrenceRead) Validate() error

type RecurrenceRepetition

type RecurrenceRepetition struct {
	ID        OptString                `json:"id"`
	CreatedAt OptDateTime              `json:"created_at"`
	UpdatedAt OptDateTime              `json:"updated_at"`
	Type      RecurrenceRepetitionType `json:"type"`
	// Information that defined the type of repetition.
	// - For 'daily', this is empty.
	// - For 'weekly', it is day of the week between 1 and 7 (Monday - Sunday).
	// - For 'ndom', it is '1,2' or '4,5' or something else, where the first number is the week in the
	// month, and the second number is the day in the week (between 1 and 7). '2,3' means: the 2nd
	// Wednesday of the month
	// - For 'monthly' it is the day of the month (1 - 31)
	// - For yearly, it is a full date, ie '2018-09-17'. The year you use does not matter.
	Moment string `json:"moment"`
	// How many occurrences to skip. 0 means skip nothing. 1 means every other.
	Skip OptInt32 `json:"skip"`
	// How to respond when the recurring transaction falls in the weekend. Possible values:
	// 1. Do nothing, just create it
	// 2. Create no transaction.
	// 3. Skip to the previous Friday.
	// 4. Skip to the next Monday.
	Weekend OptInt32 `json:"weekend"`
	// Auto-generated repetition description.
	Description OptString `json:"description"`
	// Array of future dates when the repetition will apply to. Auto generated.
	Occurrences []time.Time `json:"occurrences"`
}

Ref: #/components/schemas/RecurrenceRepetition

func (*RecurrenceRepetition) Decode

func (s *RecurrenceRepetition) Decode(d *jx.Decoder) error

Decode decodes RecurrenceRepetition from json.

func (*RecurrenceRepetition) Encode

func (s *RecurrenceRepetition) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*RecurrenceRepetition) GetCreatedAt

func (s *RecurrenceRepetition) GetCreatedAt() OptDateTime

GetCreatedAt returns the value of CreatedAt.

func (*RecurrenceRepetition) GetDescription

func (s *RecurrenceRepetition) GetDescription() OptString

GetDescription returns the value of Description.

func (*RecurrenceRepetition) GetID

func (s *RecurrenceRepetition) GetID() OptString

GetID returns the value of ID.

func (*RecurrenceRepetition) GetMoment

func (s *RecurrenceRepetition) GetMoment() string

GetMoment returns the value of Moment.

func (*RecurrenceRepetition) GetOccurrences

func (s *RecurrenceRepetition) GetOccurrences() []time.Time

GetOccurrences returns the value of Occurrences.

func (*RecurrenceRepetition) GetSkip

func (s *RecurrenceRepetition) GetSkip() OptInt32

GetSkip returns the value of Skip.

func (*RecurrenceRepetition) GetType

GetType returns the value of Type.

func (*RecurrenceRepetition) GetUpdatedAt

func (s *RecurrenceRepetition) GetUpdatedAt() OptDateTime

GetUpdatedAt returns the value of UpdatedAt.

func (*RecurrenceRepetition) GetWeekend

func (s *RecurrenceRepetition) GetWeekend() OptInt32

GetWeekend returns the value of Weekend.

func (*RecurrenceRepetition) MarshalJSON

func (s *RecurrenceRepetition) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*RecurrenceRepetition) SetCreatedAt

func (s *RecurrenceRepetition) SetCreatedAt(val OptDateTime)

SetCreatedAt sets the value of CreatedAt.

func (*RecurrenceRepetition) SetDescription

func (s *RecurrenceRepetition) SetDescription(val OptString)

SetDescription sets the value of Description.

func (*RecurrenceRepetition) SetID

func (s *RecurrenceRepetition) SetID(val OptString)

SetID sets the value of ID.

func (*RecurrenceRepetition) SetMoment

func (s *RecurrenceRepetition) SetMoment(val string)

SetMoment sets the value of Moment.

func (*RecurrenceRepetition) SetOccurrences

func (s *RecurrenceRepetition) SetOccurrences(val []time.Time)

SetOccurrences sets the value of Occurrences.

func (*RecurrenceRepetition) SetSkip

func (s *RecurrenceRepetition) SetSkip(val OptInt32)

SetSkip sets the value of Skip.

func (*RecurrenceRepetition) SetType

SetType sets the value of Type.

func (*RecurrenceRepetition) SetUpdatedAt

func (s *RecurrenceRepetition) SetUpdatedAt(val OptDateTime)

SetUpdatedAt sets the value of UpdatedAt.

func (*RecurrenceRepetition) SetWeekend

func (s *RecurrenceRepetition) SetWeekend(val OptInt32)

SetWeekend sets the value of Weekend.

func (*RecurrenceRepetition) UnmarshalJSON

func (s *RecurrenceRepetition) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*RecurrenceRepetition) Validate

func (s *RecurrenceRepetition) Validate() error

type RecurrenceRepetitionStore

type RecurrenceRepetitionStore struct {
	Type RecurrenceRepetitionType `json:"type"`
	// Information that defined the type of repetition.
	// - For 'daily', this is empty.
	// - For 'weekly', it is day of the week between 1 and 7 (Monday - Sunday).
	// - For 'ndom', it is '1,2' or '4,5' or something else, where the first number is the week in the
	// month, and the second number is the day in the week (between 1 and 7). '2,3' means: the 2nd
	// Wednesday of the month
	// - For 'monthly' it is the day of the month (1 - 31)
	// - For yearly, it is a full date, ie '2018-09-17'. The year you use does not matter.
	Moment string `json:"moment"`
	// How many occurrences to skip. 0 means skip nothing. 1 means every other.
	Skip OptInt32 `json:"skip"`
	// How to respond when the recurring transaction falls in the weekend. Possible values:
	// 1. Do nothing, just create it
	// 2. Create no transaction.
	// 3. Skip to the previous Friday.
	// 4. Skip to the next Monday.
	Weekend OptInt32 `json:"weekend"`
}

Ref: #/components/schemas/RecurrenceRepetitionStore

func (*RecurrenceRepetitionStore) Decode

func (s *RecurrenceRepetitionStore) Decode(d *jx.Decoder) error

Decode decodes RecurrenceRepetitionStore from json.

func (*RecurrenceRepetitionStore) Encode

func (s *RecurrenceRepetitionStore) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*RecurrenceRepetitionStore) GetMoment

func (s *RecurrenceRepetitionStore) GetMoment() string

GetMoment returns the value of Moment.

func (*RecurrenceRepetitionStore) GetSkip

func (s *RecurrenceRepetitionStore) GetSkip() OptInt32

GetSkip returns the value of Skip.

func (*RecurrenceRepetitionStore) GetType

GetType returns the value of Type.

func (*RecurrenceRepetitionStore) GetWeekend

func (s *RecurrenceRepetitionStore) GetWeekend() OptInt32

GetWeekend returns the value of Weekend.

func (*RecurrenceRepetitionStore) MarshalJSON

func (s *RecurrenceRepetitionStore) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*RecurrenceRepetitionStore) SetMoment

func (s *RecurrenceRepetitionStore) SetMoment(val string)

SetMoment sets the value of Moment.

func (*RecurrenceRepetitionStore) SetSkip

func (s *RecurrenceRepetitionStore) SetSkip(val OptInt32)

SetSkip sets the value of Skip.

func (*RecurrenceRepetitionStore) SetType

SetType sets the value of Type.

func (*RecurrenceRepetitionStore) SetWeekend

func (s *RecurrenceRepetitionStore) SetWeekend(val OptInt32)

SetWeekend sets the value of Weekend.

func (*RecurrenceRepetitionStore) UnmarshalJSON

func (s *RecurrenceRepetitionStore) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*RecurrenceRepetitionStore) Validate

func (s *RecurrenceRepetitionStore) Validate() error

type RecurrenceRepetitionType

type RecurrenceRepetitionType string

The type of the repetition. ndom means: the n-th weekday of the month, where you can also specify which day of the week. Ref: #/components/schemas/RecurrenceRepetitionType

const (
	RecurrenceRepetitionTypeDaily   RecurrenceRepetitionType = "daily"
	RecurrenceRepetitionTypeWeekly  RecurrenceRepetitionType = "weekly"
	RecurrenceRepetitionTypeNdom    RecurrenceRepetitionType = "ndom"
	RecurrenceRepetitionTypeMonthly RecurrenceRepetitionType = "monthly"
	RecurrenceRepetitionTypeYearly  RecurrenceRepetitionType = "yearly"
)

func (RecurrenceRepetitionType) AllValues

AllValues returns all RecurrenceRepetitionType values.

func (*RecurrenceRepetitionType) Decode

func (s *RecurrenceRepetitionType) Decode(d *jx.Decoder) error

Decode decodes RecurrenceRepetitionType from json.

func (RecurrenceRepetitionType) Encode

func (s RecurrenceRepetitionType) Encode(e *jx.Encoder)

Encode encodes RecurrenceRepetitionType as json.

func (RecurrenceRepetitionType) MarshalJSON

func (s RecurrenceRepetitionType) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (RecurrenceRepetitionType) MarshalText

func (s RecurrenceRepetitionType) MarshalText() ([]byte, error)

MarshalText implements encoding.TextMarshaler.

func (*RecurrenceRepetitionType) UnmarshalJSON

func (s *RecurrenceRepetitionType) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*RecurrenceRepetitionType) UnmarshalText

func (s *RecurrenceRepetitionType) UnmarshalText(data []byte) error

UnmarshalText implements encoding.TextUnmarshaler.

func (RecurrenceRepetitionType) Validate

func (s RecurrenceRepetitionType) Validate() error

type RecurrenceRepetitionUpdate

type RecurrenceRepetitionUpdate struct {
	Type OptRecurrenceRepetitionType `json:"type"`
	// Information that defined the type of repetition.
	// - For 'daily', this is empty.
	// - For 'weekly', it is day of the week between 1 and 7 (Monday - Sunday).
	// - For 'ndom', it is '1,2' or '4,5' or something else, where the first number is the week in the
	// month, and the second number is the day in the week (between 1 and 7). '2,3' means: the 2nd
	// Wednesday of the month
	// - For 'monthly' it is the day of the month (1 - 31)
	// - For yearly, it is a full date, ie '2018-09-17'. The year you use does not matter.
	Moment OptString `json:"moment"`
	// How many occurrences to skip. 0 means skip nothing. 1 means every other.
	Skip OptInt32 `json:"skip"`
	// How to respond when the recurring transaction falls in the weekend. Possible values:
	// 1. Do nothing, just create it
	// 2. Create no transaction.
	// 3. Skip to the previous Friday.
	// 4. Skip to the next Monday.
	Weekend OptInt32 `json:"weekend"`
}

Ref: #/components/schemas/RecurrenceRepetitionUpdate

func (*RecurrenceRepetitionUpdate) Decode

Decode decodes RecurrenceRepetitionUpdate from json.

func (*RecurrenceRepetitionUpdate) Encode

func (s *RecurrenceRepetitionUpdate) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*RecurrenceRepetitionUpdate) GetMoment

func (s *RecurrenceRepetitionUpdate) GetMoment() OptString

GetMoment returns the value of Moment.

func (*RecurrenceRepetitionUpdate) GetSkip

func (s *RecurrenceRepetitionUpdate) GetSkip() OptInt32

GetSkip returns the value of Skip.

func (*RecurrenceRepetitionUpdate) GetType

GetType returns the value of Type.

func (*RecurrenceRepetitionUpdate) GetWeekend

func (s *RecurrenceRepetitionUpdate) GetWeekend() OptInt32

GetWeekend returns the value of Weekend.

func (*RecurrenceRepetitionUpdate) MarshalJSON

func (s *RecurrenceRepetitionUpdate) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*RecurrenceRepetitionUpdate) SetMoment

func (s *RecurrenceRepetitionUpdate) SetMoment(val OptString)

SetMoment sets the value of Moment.

func (*RecurrenceRepetitionUpdate) SetSkip

func (s *RecurrenceRepetitionUpdate) SetSkip(val OptInt32)

SetSkip sets the value of Skip.

func (*RecurrenceRepetitionUpdate) SetType

SetType sets the value of Type.

func (*RecurrenceRepetitionUpdate) SetWeekend

func (s *RecurrenceRepetitionUpdate) SetWeekend(val OptInt32)

SetWeekend sets the value of Weekend.

func (*RecurrenceRepetitionUpdate) UnmarshalJSON

func (s *RecurrenceRepetitionUpdate) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*RecurrenceRepetitionUpdate) Validate

func (s *RecurrenceRepetitionUpdate) Validate() error

type RecurrenceSingle

type RecurrenceSingle struct {
	Data RecurrenceRead `json:"data"`
}

Ref: #/components/schemas/RecurrenceSingle

func (*RecurrenceSingle) Decode

func (s *RecurrenceSingle) Decode(d *jx.Decoder) error

Decode decodes RecurrenceSingle from json.

func (*RecurrenceSingle) Encode

func (s *RecurrenceSingle) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*RecurrenceSingle) GetData

func (s *RecurrenceSingle) GetData() RecurrenceRead

GetData returns the value of Data.

func (*RecurrenceSingle) MarshalJSON

func (s *RecurrenceSingle) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*RecurrenceSingle) SetData

func (s *RecurrenceSingle) SetData(val RecurrenceRead)

SetData sets the value of Data.

func (*RecurrenceSingle) UnmarshalJSON

func (s *RecurrenceSingle) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*RecurrenceSingle) Validate

func (s *RecurrenceSingle) Validate() error

type RecurrenceStore

type RecurrenceStore struct {
	Type  RecurrenceTransactionType `json:"type"`
	Title string                    `json:"title"`
	// Not to be confused with the description of the actual transaction(s) being created.
	Description OptString `json:"description"`
	// First time the recurring transaction will fire. Must be after today.
	FirstDate time.Time `json:"first_date"`
	// Date until the recurring transaction can fire. Use either this field or repetitions.
	RepeatUntil NilDate `json:"repeat_until"`
	// Max number of created transactions. Use either this field or repeat_until.
	NrOfRepetitions OptNilInt32 `json:"nr_of_repetitions"`
	// Whether or not to fire the rules after the creation of a transaction.
	ApplyRules OptBool `json:"apply_rules"`
	// If the recurrence is even active.
	Active       OptBool                      `json:"active"`
	Notes        OptNilString                 `json:"notes"`
	Repetitions  []RecurrenceRepetitionStore  `json:"repetitions"`
	Transactions []RecurrenceTransactionStore `json:"transactions"`
}

Ref: #/components/schemas/RecurrenceStore

func (*RecurrenceStore) Decode

func (s *RecurrenceStore) Decode(d *jx.Decoder) error

Decode decodes RecurrenceStore from json.

func (*RecurrenceStore) Encode

func (s *RecurrenceStore) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*RecurrenceStore) GetActive

func (s *RecurrenceStore) GetActive() OptBool

GetActive returns the value of Active.

func (*RecurrenceStore) GetApplyRules

func (s *RecurrenceStore) GetApplyRules() OptBool

GetApplyRules returns the value of ApplyRules.

func (*RecurrenceStore) GetDescription

func (s *RecurrenceStore) GetDescription() OptString

GetDescription returns the value of Description.

func (*RecurrenceStore) GetFirstDate

func (s *RecurrenceStore) GetFirstDate() time.Time

GetFirstDate returns the value of FirstDate.

func (*RecurrenceStore) GetNotes

func (s *RecurrenceStore) GetNotes() OptNilString

GetNotes returns the value of Notes.

func (*RecurrenceStore) GetNrOfRepetitions

func (s *RecurrenceStore) GetNrOfRepetitions() OptNilInt32

GetNrOfRepetitions returns the value of NrOfRepetitions.

func (*RecurrenceStore) GetRepeatUntil

func (s *RecurrenceStore) GetRepeatUntil() NilDate

GetRepeatUntil returns the value of RepeatUntil.

func (*RecurrenceStore) GetRepetitions

func (s *RecurrenceStore) GetRepetitions() []RecurrenceRepetitionStore

GetRepetitions returns the value of Repetitions.

func (*RecurrenceStore) GetTitle

func (s *RecurrenceStore) GetTitle() string

GetTitle returns the value of Title.

func (*RecurrenceStore) GetTransactions

func (s *RecurrenceStore) GetTransactions() []RecurrenceTransactionStore

GetTransactions returns the value of Transactions.

func (*RecurrenceStore) GetType

GetType returns the value of Type.

func (*RecurrenceStore) MarshalJSON

func (s *RecurrenceStore) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*RecurrenceStore) SetActive

func (s *RecurrenceStore) SetActive(val OptBool)

SetActive sets the value of Active.

func (*RecurrenceStore) SetApplyRules

func (s *RecurrenceStore) SetApplyRules(val OptBool)

SetApplyRules sets the value of ApplyRules.

func (*RecurrenceStore) SetDescription

func (s *RecurrenceStore) SetDescription(val OptString)

SetDescription sets the value of Description.

func (*RecurrenceStore) SetFirstDate

func (s *RecurrenceStore) SetFirstDate(val time.Time)

SetFirstDate sets the value of FirstDate.

func (*RecurrenceStore) SetNotes

func (s *RecurrenceStore) SetNotes(val OptNilString)

SetNotes sets the value of Notes.

func (*RecurrenceStore) SetNrOfRepetitions

func (s *RecurrenceStore) SetNrOfRepetitions(val OptNilInt32)

SetNrOfRepetitions sets the value of NrOfRepetitions.

func (*RecurrenceStore) SetRepeatUntil

func (s *RecurrenceStore) SetRepeatUntil(val NilDate)

SetRepeatUntil sets the value of RepeatUntil.

func (*RecurrenceStore) SetRepetitions

func (s *RecurrenceStore) SetRepetitions(val []RecurrenceRepetitionStore)

SetRepetitions sets the value of Repetitions.

func (*RecurrenceStore) SetTitle

func (s *RecurrenceStore) SetTitle(val string)

SetTitle sets the value of Title.

func (*RecurrenceStore) SetTransactions

func (s *RecurrenceStore) SetTransactions(val []RecurrenceTransactionStore)

SetTransactions sets the value of Transactions.

func (*RecurrenceStore) SetType

SetType sets the value of Type.

func (*RecurrenceStore) UnmarshalJSON

func (s *RecurrenceStore) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*RecurrenceStore) Validate

func (s *RecurrenceStore) Validate() error

type RecurrenceTransaction

type RecurrenceTransaction struct {
	ID          OptString `json:"id"`
	Description string    `json:"description"`
	// Amount of the transaction.
	Amount string `json:"amount"`
	// Foreign amount of the transaction.
	ForeignAmount OptNilString `json:"foreign_amount"`
	// Submit either a currency_id or a currency_code.
	CurrencyID OptString `json:"currency_id"`
	// Submit either a currency_id or a currency_code.
	CurrencyCode   OptString `json:"currency_code"`
	CurrencySymbol OptString `json:"currency_symbol"`
	// Number of decimals in the currency.
	CurrencyDecimalPlaces OptInt32 `json:"currency_decimal_places"`
	// Submit either a foreign_currency_id or a foreign_currency_code, or neither.
	ForeignCurrencyID OptNilString `json:"foreign_currency_id"`
	// Submit either a foreign_currency_id or a foreign_currency_code, or neither.
	ForeignCurrencyCode   OptNilString `json:"foreign_currency_code"`
	ForeignCurrencySymbol OptNilString `json:"foreign_currency_symbol"`
	// Number of decimals in the currency.
	ForeignCurrencyDecimalPlaces OptNilInt32 `json:"foreign_currency_decimal_places"`
	// The budget ID for this transaction.
	BudgetID OptString `json:"budget_id"`
	// The name of the budget to be used. If the budget name is unknown, the ID will be used or the value
	// will be ignored.
	BudgetName OptNilString `json:"budget_name"`
	// Category ID for this transaction.
	CategoryID OptString `json:"category_id"`
	// Category name for this transaction.
	CategoryName OptString `json:"category_name"`
	// ID of the source account. Submit either this or source_name.
	SourceID OptString `json:"source_id"`
	// Name of the source account. Submit either this or source_id.
	SourceName OptString              `json:"source_name"`
	SourceIban OptNilString           `json:"source_iban"`
	SourceType OptAccountTypeProperty `json:"source_type"`
	// ID of the destination account. Submit either this or destination_name.
	DestinationID OptString `json:"destination_id"`
	// Name of the destination account. Submit either this or destination_id.
	DestinationName OptString              `json:"destination_name"`
	DestinationIban OptNilString           `json:"destination_iban"`
	DestinationType OptAccountTypeProperty `json:"destination_type"`
	// Array of tags.
	Tags OptNilStringArray `json:"tags"`
	// Optional. Use either this or the piggy_bank_name.
	PiggyBankID OptNilString `json:"piggy_bank_id"`
	// Optional. Use either this or the piggy_bank_id.
	PiggyBankName OptNilString `json:"piggy_bank_name"`
	// Optional. Use either this or the bill_name.
	BillID OptNilString `json:"bill_id"`
	// Optional. Use either this or the bill_id.
	BillName OptNilString `json:"bill_name"`
}

Ref: #/components/schemas/RecurrenceTransaction

func (*RecurrenceTransaction) Decode

func (s *RecurrenceTransaction) Decode(d *jx.Decoder) error

Decode decodes RecurrenceTransaction from json.

func (*RecurrenceTransaction) Encode

func (s *RecurrenceTransaction) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*RecurrenceTransaction) GetAmount

func (s *RecurrenceTransaction) GetAmount() string

GetAmount returns the value of Amount.

func (*RecurrenceTransaction) GetBillID

func (s *RecurrenceTransaction) GetBillID() OptNilString

GetBillID returns the value of BillID.

func (*RecurrenceTransaction) GetBillName

func (s *RecurrenceTransaction) GetBillName() OptNilString

GetBillName returns the value of BillName.

func (*RecurrenceTransaction) GetBudgetID

func (s *RecurrenceTransaction) GetBudgetID() OptString

GetBudgetID returns the value of BudgetID.

func (*RecurrenceTransaction) GetBudgetName

func (s *RecurrenceTransaction) GetBudgetName() OptNilString

GetBudgetName returns the value of BudgetName.

func (*RecurrenceTransaction) GetCategoryID

func (s *RecurrenceTransaction) GetCategoryID() OptString

GetCategoryID returns the value of CategoryID.

func (*RecurrenceTransaction) GetCategoryName

func (s *RecurrenceTransaction) GetCategoryName() OptString

GetCategoryName returns the value of CategoryName.

func (*RecurrenceTransaction) GetCurrencyCode

func (s *RecurrenceTransaction) GetCurrencyCode() OptString

GetCurrencyCode returns the value of CurrencyCode.

func (*RecurrenceTransaction) GetCurrencyDecimalPlaces

func (s *RecurrenceTransaction) GetCurrencyDecimalPlaces() OptInt32

GetCurrencyDecimalPlaces returns the value of CurrencyDecimalPlaces.

func (*RecurrenceTransaction) GetCurrencyID

func (s *RecurrenceTransaction) GetCurrencyID() OptString

GetCurrencyID returns the value of CurrencyID.

func (*RecurrenceTransaction) GetCurrencySymbol

func (s *RecurrenceTransaction) GetCurrencySymbol() OptString

GetCurrencySymbol returns the value of CurrencySymbol.

func (*RecurrenceTransaction) GetDescription

func (s *RecurrenceTransaction) GetDescription() string

GetDescription returns the value of Description.

func (*RecurrenceTransaction) GetDestinationID

func (s *RecurrenceTransaction) GetDestinationID() OptString

GetDestinationID returns the value of DestinationID.

func (*RecurrenceTransaction) GetDestinationIban

func (s *RecurrenceTransaction) GetDestinationIban() OptNilString

GetDestinationIban returns the value of DestinationIban.

func (*RecurrenceTransaction) GetDestinationName

func (s *RecurrenceTransaction) GetDestinationName() OptString

GetDestinationName returns the value of DestinationName.

func (*RecurrenceTransaction) GetDestinationType

func (s *RecurrenceTransaction) GetDestinationType() OptAccountTypeProperty

GetDestinationType returns the value of DestinationType.

func (*RecurrenceTransaction) GetForeignAmount

func (s *RecurrenceTransaction) GetForeignAmount() OptNilString

GetForeignAmount returns the value of ForeignAmount.

func (*RecurrenceTransaction) GetForeignCurrencyCode

func (s *RecurrenceTransaction) GetForeignCurrencyCode() OptNilString

GetForeignCurrencyCode returns the value of ForeignCurrencyCode.

func (*RecurrenceTransaction) GetForeignCurrencyDecimalPlaces

func (s *RecurrenceTransaction) GetForeignCurrencyDecimalPlaces() OptNilInt32

GetForeignCurrencyDecimalPlaces returns the value of ForeignCurrencyDecimalPlaces.

func (*RecurrenceTransaction) GetForeignCurrencyID

func (s *RecurrenceTransaction) GetForeignCurrencyID() OptNilString

GetForeignCurrencyID returns the value of ForeignCurrencyID.

func (*RecurrenceTransaction) GetForeignCurrencySymbol

func (s *RecurrenceTransaction) GetForeignCurrencySymbol() OptNilString

GetForeignCurrencySymbol returns the value of ForeignCurrencySymbol.

func (*RecurrenceTransaction) GetID

func (s *RecurrenceTransaction) GetID() OptString

GetID returns the value of ID.

func (*RecurrenceTransaction) GetPiggyBankID

func (s *RecurrenceTransaction) GetPiggyBankID() OptNilString

GetPiggyBankID returns the value of PiggyBankID.

func (*RecurrenceTransaction) GetPiggyBankName

func (s *RecurrenceTransaction) GetPiggyBankName() OptNilString

GetPiggyBankName returns the value of PiggyBankName.

func (*RecurrenceTransaction) GetSourceID

func (s *RecurrenceTransaction) GetSourceID() OptString

GetSourceID returns the value of SourceID.

func (*RecurrenceTransaction) GetSourceIban

func (s *RecurrenceTransaction) GetSourceIban() OptNilString

GetSourceIban returns the value of SourceIban.

func (*RecurrenceTransaction) GetSourceName

func (s *RecurrenceTransaction) GetSourceName() OptString

GetSourceName returns the value of SourceName.

func (*RecurrenceTransaction) GetSourceType

func (s *RecurrenceTransaction) GetSourceType() OptAccountTypeProperty

GetSourceType returns the value of SourceType.

func (*RecurrenceTransaction) GetTags

GetTags returns the value of Tags.

func (*RecurrenceTransaction) MarshalJSON

func (s *RecurrenceTransaction) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*RecurrenceTransaction) SetAmount

func (s *RecurrenceTransaction) SetAmount(val string)

SetAmount sets the value of Amount.

func (*RecurrenceTransaction) SetBillID

func (s *RecurrenceTransaction) SetBillID(val OptNilString)

SetBillID sets the value of BillID.

func (*RecurrenceTransaction) SetBillName

func (s *RecurrenceTransaction) SetBillName(val OptNilString)

SetBillName sets the value of BillName.

func (*RecurrenceTransaction) SetBudgetID

func (s *RecurrenceTransaction) SetBudgetID(val OptString)

SetBudgetID sets the value of BudgetID.

func (*RecurrenceTransaction) SetBudgetName

func (s *RecurrenceTransaction) SetBudgetName(val OptNilString)

SetBudgetName sets the value of BudgetName.

func (*RecurrenceTransaction) SetCategoryID

func (s *RecurrenceTransaction) SetCategoryID(val OptString)

SetCategoryID sets the value of CategoryID.

func (*RecurrenceTransaction) SetCategoryName

func (s *RecurrenceTransaction) SetCategoryName(val OptString)

SetCategoryName sets the value of CategoryName.

func (*RecurrenceTransaction) SetCurrencyCode

func (s *RecurrenceTransaction) SetCurrencyCode(val OptString)

SetCurrencyCode sets the value of CurrencyCode.

func (*RecurrenceTransaction) SetCurrencyDecimalPlaces

func (s *RecurrenceTransaction) SetCurrencyDecimalPlaces(val OptInt32)

SetCurrencyDecimalPlaces sets the value of CurrencyDecimalPlaces.

func (*RecurrenceTransaction) SetCurrencyID

func (s *RecurrenceTransaction) SetCurrencyID(val OptString)

SetCurrencyID sets the value of CurrencyID.

func (*RecurrenceTransaction) SetCurrencySymbol

func (s *RecurrenceTransaction) SetCurrencySymbol(val OptString)

SetCurrencySymbol sets the value of CurrencySymbol.

func (*RecurrenceTransaction) SetDescription

func (s *RecurrenceTransaction) SetDescription(val string)

SetDescription sets the value of Description.

func (*RecurrenceTransaction) SetDestinationID

func (s *RecurrenceTransaction) SetDestinationID(val OptString)

SetDestinationID sets the value of DestinationID.

func (*RecurrenceTransaction) SetDestinationIban

func (s *RecurrenceTransaction) SetDestinationIban(val OptNilString)

SetDestinationIban sets the value of DestinationIban.

func (*RecurrenceTransaction) SetDestinationName

func (s *RecurrenceTransaction) SetDestinationName(val OptString)

SetDestinationName sets the value of DestinationName.

func (*RecurrenceTransaction) SetDestinationType

func (s *RecurrenceTransaction) SetDestinationType(val OptAccountTypeProperty)

SetDestinationType sets the value of DestinationType.

func (*RecurrenceTransaction) SetForeignAmount

func (s *RecurrenceTransaction) SetForeignAmount(val OptNilString)

SetForeignAmount sets the value of ForeignAmount.

func (*RecurrenceTransaction) SetForeignCurrencyCode

func (s *RecurrenceTransaction) SetForeignCurrencyCode(val OptNilString)

SetForeignCurrencyCode sets the value of ForeignCurrencyCode.

func (*RecurrenceTransaction) SetForeignCurrencyDecimalPlaces

func (s *RecurrenceTransaction) SetForeignCurrencyDecimalPlaces(val OptNilInt32)

SetForeignCurrencyDecimalPlaces sets the value of ForeignCurrencyDecimalPlaces.

func (*RecurrenceTransaction) SetForeignCurrencyID

func (s *RecurrenceTransaction) SetForeignCurrencyID(val OptNilString)

SetForeignCurrencyID sets the value of ForeignCurrencyID.

func (*RecurrenceTransaction) SetForeignCurrencySymbol

func (s *RecurrenceTransaction) SetForeignCurrencySymbol(val OptNilString)

SetForeignCurrencySymbol sets the value of ForeignCurrencySymbol.

func (*RecurrenceTransaction) SetID

func (s *RecurrenceTransaction) SetID(val OptString)

SetID sets the value of ID.

func (*RecurrenceTransaction) SetPiggyBankID

func (s *RecurrenceTransaction) SetPiggyBankID(val OptNilString)

SetPiggyBankID sets the value of PiggyBankID.

func (*RecurrenceTransaction) SetPiggyBankName

func (s *RecurrenceTransaction) SetPiggyBankName(val OptNilString)

SetPiggyBankName sets the value of PiggyBankName.

func (*RecurrenceTransaction) SetSourceID

func (s *RecurrenceTransaction) SetSourceID(val OptString)

SetSourceID sets the value of SourceID.

func (*RecurrenceTransaction) SetSourceIban

func (s *RecurrenceTransaction) SetSourceIban(val OptNilString)

SetSourceIban sets the value of SourceIban.

func (*RecurrenceTransaction) SetSourceName

func (s *RecurrenceTransaction) SetSourceName(val OptString)

SetSourceName sets the value of SourceName.

func (*RecurrenceTransaction) SetSourceType

func (s *RecurrenceTransaction) SetSourceType(val OptAccountTypeProperty)

SetSourceType sets the value of SourceType.

func (*RecurrenceTransaction) SetTags

func (s *RecurrenceTransaction) SetTags(val OptNilStringArray)

SetTags sets the value of Tags.

func (*RecurrenceTransaction) UnmarshalJSON

func (s *RecurrenceTransaction) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*RecurrenceTransaction) Validate

func (s *RecurrenceTransaction) Validate() error

type RecurrenceTransactionStore

type RecurrenceTransactionStore struct {
	Description string `json:"description"`
	// Amount of the transaction.
	Amount string `json:"amount"`
	// Foreign amount of the transaction.
	ForeignAmount OptNilString `json:"foreign_amount"`
	// Submit either a currency_id or a currency_code.
	CurrencyID OptString `json:"currency_id"`
	// Submit either a currency_id or a currency_code.
	CurrencyCode OptString `json:"currency_code"`
	// Submit either a foreign_currency_id or a foreign_currency_code, or neither.
	ForeignCurrencyID OptNilString `json:"foreign_currency_id"`
	// Submit either a foreign_currency_id or a foreign_currency_code, or neither.
	ForeignCurrencyCode OptNilString `json:"foreign_currency_code"`
	// The budget ID for this transaction.
	BudgetID OptString `json:"budget_id"`
	// Category ID for this transaction.
	CategoryID OptString `json:"category_id"`
	// ID of the source account.
	SourceID string `json:"source_id"`
	// ID of the destination account.
	DestinationID string `json:"destination_id"`
	// Array of tags.
	Tags OptNilStringArray `json:"tags"`
	// Optional.
	PiggyBankID OptNilString `json:"piggy_bank_id"`
	// Optional.
	BillID OptNilString `json:"bill_id"`
}

Ref: #/components/schemas/RecurrenceTransactionStore

func (*RecurrenceTransactionStore) Decode

Decode decodes RecurrenceTransactionStore from json.

func (*RecurrenceTransactionStore) Encode

func (s *RecurrenceTransactionStore) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*RecurrenceTransactionStore) GetAmount

func (s *RecurrenceTransactionStore) GetAmount() string

GetAmount returns the value of Amount.

func (*RecurrenceTransactionStore) GetBillID

GetBillID returns the value of BillID.

func (*RecurrenceTransactionStore) GetBudgetID

func (s *RecurrenceTransactionStore) GetBudgetID() OptString

GetBudgetID returns the value of BudgetID.

func (*RecurrenceTransactionStore) GetCategoryID

func (s *RecurrenceTransactionStore) GetCategoryID() OptString

GetCategoryID returns the value of CategoryID.

func (*RecurrenceTransactionStore) GetCurrencyCode

func (s *RecurrenceTransactionStore) GetCurrencyCode() OptString

GetCurrencyCode returns the value of CurrencyCode.

func (*RecurrenceTransactionStore) GetCurrencyID

func (s *RecurrenceTransactionStore) GetCurrencyID() OptString

GetCurrencyID returns the value of CurrencyID.

func (*RecurrenceTransactionStore) GetDescription

func (s *RecurrenceTransactionStore) GetDescription() string

GetDescription returns the value of Description.

func (*RecurrenceTransactionStore) GetDestinationID

func (s *RecurrenceTransactionStore) GetDestinationID() string

GetDestinationID returns the value of DestinationID.

func (*RecurrenceTransactionStore) GetForeignAmount

func (s *RecurrenceTransactionStore) GetForeignAmount() OptNilString

GetForeignAmount returns the value of ForeignAmount.

func (*RecurrenceTransactionStore) GetForeignCurrencyCode

func (s *RecurrenceTransactionStore) GetForeignCurrencyCode() OptNilString

GetForeignCurrencyCode returns the value of ForeignCurrencyCode.

func (*RecurrenceTransactionStore) GetForeignCurrencyID

func (s *RecurrenceTransactionStore) GetForeignCurrencyID() OptNilString

GetForeignCurrencyID returns the value of ForeignCurrencyID.

func (*RecurrenceTransactionStore) GetPiggyBankID

func (s *RecurrenceTransactionStore) GetPiggyBankID() OptNilString

GetPiggyBankID returns the value of PiggyBankID.

func (*RecurrenceTransactionStore) GetSourceID

func (s *RecurrenceTransactionStore) GetSourceID() string

GetSourceID returns the value of SourceID.

func (*RecurrenceTransactionStore) GetTags

GetTags returns the value of Tags.

func (*RecurrenceTransactionStore) MarshalJSON

func (s *RecurrenceTransactionStore) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*RecurrenceTransactionStore) SetAmount

func (s *RecurrenceTransactionStore) SetAmount(val string)

SetAmount sets the value of Amount.

func (*RecurrenceTransactionStore) SetBillID

func (s *RecurrenceTransactionStore) SetBillID(val OptNilString)

SetBillID sets the value of BillID.

func (*RecurrenceTransactionStore) SetBudgetID

func (s *RecurrenceTransactionStore) SetBudgetID(val OptString)

SetBudgetID sets the value of BudgetID.

func (*RecurrenceTransactionStore) SetCategoryID

func (s *RecurrenceTransactionStore) SetCategoryID(val OptString)

SetCategoryID sets the value of CategoryID.

func (*RecurrenceTransactionStore) SetCurrencyCode

func (s *RecurrenceTransactionStore) SetCurrencyCode(val OptString)

SetCurrencyCode sets the value of CurrencyCode.

func (*RecurrenceTransactionStore) SetCurrencyID

func (s *RecurrenceTransactionStore) SetCurrencyID(val OptString)

SetCurrencyID sets the value of CurrencyID.

func (*RecurrenceTransactionStore) SetDescription

func (s *RecurrenceTransactionStore) SetDescription(val string)

SetDescription sets the value of Description.

func (*RecurrenceTransactionStore) SetDestinationID

func (s *RecurrenceTransactionStore) SetDestinationID(val string)

SetDestinationID sets the value of DestinationID.

func (*RecurrenceTransactionStore) SetForeignAmount

func (s *RecurrenceTransactionStore) SetForeignAmount(val OptNilString)

SetForeignAmount sets the value of ForeignAmount.

func (*RecurrenceTransactionStore) SetForeignCurrencyCode

func (s *RecurrenceTransactionStore) SetForeignCurrencyCode(val OptNilString)

SetForeignCurrencyCode sets the value of ForeignCurrencyCode.

func (*RecurrenceTransactionStore) SetForeignCurrencyID

func (s *RecurrenceTransactionStore) SetForeignCurrencyID(val OptNilString)

SetForeignCurrencyID sets the value of ForeignCurrencyID.

func (*RecurrenceTransactionStore) SetPiggyBankID

func (s *RecurrenceTransactionStore) SetPiggyBankID(val OptNilString)

SetPiggyBankID sets the value of PiggyBankID.

func (*RecurrenceTransactionStore) SetSourceID

func (s *RecurrenceTransactionStore) SetSourceID(val string)

SetSourceID sets the value of SourceID.

func (*RecurrenceTransactionStore) SetTags

SetTags sets the value of Tags.

func (*RecurrenceTransactionStore) UnmarshalJSON

func (s *RecurrenceTransactionStore) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*RecurrenceTransactionStore) Validate

func (s *RecurrenceTransactionStore) Validate() error

type RecurrenceTransactionType

type RecurrenceTransactionType string

Ref: #/components/schemas/RecurrenceTransactionType

const (
	RecurrenceTransactionTypeWithdrawal RecurrenceTransactionType = "withdrawal"
	RecurrenceTransactionTypeTransfer   RecurrenceTransactionType = "transfer"
	RecurrenceTransactionTypeDeposit    RecurrenceTransactionType = "deposit"
)

func (RecurrenceTransactionType) AllValues

AllValues returns all RecurrenceTransactionType values.

func (*RecurrenceTransactionType) Decode

func (s *RecurrenceTransactionType) Decode(d *jx.Decoder) error

Decode decodes RecurrenceTransactionType from json.

func (RecurrenceTransactionType) Encode

func (s RecurrenceTransactionType) Encode(e *jx.Encoder)

Encode encodes RecurrenceTransactionType as json.

func (RecurrenceTransactionType) MarshalJSON

func (s RecurrenceTransactionType) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (RecurrenceTransactionType) MarshalText

func (s RecurrenceTransactionType) MarshalText() ([]byte, error)

MarshalText implements encoding.TextMarshaler.

func (*RecurrenceTransactionType) UnmarshalJSON

func (s *RecurrenceTransactionType) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*RecurrenceTransactionType) UnmarshalText

func (s *RecurrenceTransactionType) UnmarshalText(data []byte) error

UnmarshalText implements encoding.TextUnmarshaler.

func (RecurrenceTransactionType) Validate

func (s RecurrenceTransactionType) Validate() error

type RecurrenceTransactionUpdate

type RecurrenceTransactionUpdate struct {
	ID          string    `json:"id"`
	Description OptString `json:"description"`
	// Amount of the transaction.
	Amount OptString `json:"amount"`
	// Foreign amount of the transaction.
	ForeignAmount OptNilString `json:"foreign_amount"`
	// Submit either a currency_id or a currency_code.
	CurrencyID OptString `json:"currency_id"`
	// Submit either a currency_id or a currency_code.
	CurrencyCode OptString `json:"currency_code"`
	// Submit either a foreign_currency_id or a foreign_currency_code, or neither.
	ForeignCurrencyID OptNilString `json:"foreign_currency_id"`
	// The budget ID for this transaction.
	BudgetID OptString `json:"budget_id"`
	// Category ID for this transaction.
	CategoryID OptString `json:"category_id"`
	// ID of the source account. Submit either this or source_name.
	SourceID OptString `json:"source_id"`
	// ID of the destination account. Submit either this or destination_name.
	DestinationID OptString `json:"destination_id"`
	// Array of tags.
	Tags        OptNilStringArray `json:"tags"`
	PiggyBankID OptNilString      `json:"piggy_bank_id"`
	// Optional.
	BillID OptNilString `json:"bill_id"`
}

Ref: #/components/schemas/RecurrenceTransactionUpdate

func (*RecurrenceTransactionUpdate) Decode

Decode decodes RecurrenceTransactionUpdate from json.

func (*RecurrenceTransactionUpdate) Encode

func (s *RecurrenceTransactionUpdate) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*RecurrenceTransactionUpdate) GetAmount

func (s *RecurrenceTransactionUpdate) GetAmount() OptString

GetAmount returns the value of Amount.

func (*RecurrenceTransactionUpdate) GetBillID

GetBillID returns the value of BillID.

func (*RecurrenceTransactionUpdate) GetBudgetID

func (s *RecurrenceTransactionUpdate) GetBudgetID() OptString

GetBudgetID returns the value of BudgetID.

func (*RecurrenceTransactionUpdate) GetCategoryID

func (s *RecurrenceTransactionUpdate) GetCategoryID() OptString

GetCategoryID returns the value of CategoryID.

func (*RecurrenceTransactionUpdate) GetCurrencyCode

func (s *RecurrenceTransactionUpdate) GetCurrencyCode() OptString

GetCurrencyCode returns the value of CurrencyCode.

func (*RecurrenceTransactionUpdate) GetCurrencyID

func (s *RecurrenceTransactionUpdate) GetCurrencyID() OptString

GetCurrencyID returns the value of CurrencyID.

func (*RecurrenceTransactionUpdate) GetDescription

func (s *RecurrenceTransactionUpdate) GetDescription() OptString

GetDescription returns the value of Description.

func (*RecurrenceTransactionUpdate) GetDestinationID

func (s *RecurrenceTransactionUpdate) GetDestinationID() OptString

GetDestinationID returns the value of DestinationID.

func (*RecurrenceTransactionUpdate) GetForeignAmount

func (s *RecurrenceTransactionUpdate) GetForeignAmount() OptNilString

GetForeignAmount returns the value of ForeignAmount.

func (*RecurrenceTransactionUpdate) GetForeignCurrencyID

func (s *RecurrenceTransactionUpdate) GetForeignCurrencyID() OptNilString

GetForeignCurrencyID returns the value of ForeignCurrencyID.

func (*RecurrenceTransactionUpdate) GetID

GetID returns the value of ID.

func (*RecurrenceTransactionUpdate) GetPiggyBankID

func (s *RecurrenceTransactionUpdate) GetPiggyBankID() OptNilString

GetPiggyBankID returns the value of PiggyBankID.

func (*RecurrenceTransactionUpdate) GetSourceID

func (s *RecurrenceTransactionUpdate) GetSourceID() OptString

GetSourceID returns the value of SourceID.

func (*RecurrenceTransactionUpdate) GetTags

GetTags returns the value of Tags.

func (*RecurrenceTransactionUpdate) MarshalJSON

func (s *RecurrenceTransactionUpdate) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*RecurrenceTransactionUpdate) SetAmount

func (s *RecurrenceTransactionUpdate) SetAmount(val OptString)

SetAmount sets the value of Amount.

func (*RecurrenceTransactionUpdate) SetBillID

func (s *RecurrenceTransactionUpdate) SetBillID(val OptNilString)

SetBillID sets the value of BillID.

func (*RecurrenceTransactionUpdate) SetBudgetID

func (s *RecurrenceTransactionUpdate) SetBudgetID(val OptString)

SetBudgetID sets the value of BudgetID.

func (*RecurrenceTransactionUpdate) SetCategoryID

func (s *RecurrenceTransactionUpdate) SetCategoryID(val OptString)

SetCategoryID sets the value of CategoryID.

func (*RecurrenceTransactionUpdate) SetCurrencyCode

func (s *RecurrenceTransactionUpdate) SetCurrencyCode(val OptString)

SetCurrencyCode sets the value of CurrencyCode.

func (*RecurrenceTransactionUpdate) SetCurrencyID

func (s *RecurrenceTransactionUpdate) SetCurrencyID(val OptString)

SetCurrencyID sets the value of CurrencyID.

func (*RecurrenceTransactionUpdate) SetDescription

func (s *RecurrenceTransactionUpdate) SetDescription(val OptString)

SetDescription sets the value of Description.

func (*RecurrenceTransactionUpdate) SetDestinationID

func (s *RecurrenceTransactionUpdate) SetDestinationID(val OptString)

SetDestinationID sets the value of DestinationID.

func (*RecurrenceTransactionUpdate) SetForeignAmount

func (s *RecurrenceTransactionUpdate) SetForeignAmount(val OptNilString)

SetForeignAmount sets the value of ForeignAmount.

func (*RecurrenceTransactionUpdate) SetForeignCurrencyID

func (s *RecurrenceTransactionUpdate) SetForeignCurrencyID(val OptNilString)

SetForeignCurrencyID sets the value of ForeignCurrencyID.

func (*RecurrenceTransactionUpdate) SetID

func (s *RecurrenceTransactionUpdate) SetID(val string)

SetID sets the value of ID.

func (*RecurrenceTransactionUpdate) SetPiggyBankID

func (s *RecurrenceTransactionUpdate) SetPiggyBankID(val OptNilString)

SetPiggyBankID sets the value of PiggyBankID.

func (*RecurrenceTransactionUpdate) SetSourceID

func (s *RecurrenceTransactionUpdate) SetSourceID(val OptString)

SetSourceID sets the value of SourceID.

func (*RecurrenceTransactionUpdate) SetTags

SetTags sets the value of Tags.

func (*RecurrenceTransactionUpdate) UnmarshalJSON

func (s *RecurrenceTransactionUpdate) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*RecurrenceTransactionUpdate) Validate

func (s *RecurrenceTransactionUpdate) Validate() error

type RecurrenceUpdate

type RecurrenceUpdate struct {
	Title OptString `json:"title"`
	// Not to be confused with the description of the actual transaction(s) being created.
	Description OptString `json:"description"`
	// First time the recurring transaction will fire.
	FirstDate OptDate `json:"first_date"`
	// Date until the recurring transaction can fire. After that date, it's basically inactive. Use
	// either this field or repetitions.
	RepeatUntil OptNilDate `json:"repeat_until"`
	// Max number of created transactions. Use either this field or repeat_until.
	NrOfRepetitions OptNilInt32 `json:"nr_of_repetitions"`
	// Whether or not to fire the rules after the creation of a transaction.
	ApplyRules OptBool `json:"apply_rules"`
	// If the recurrence is even active.
	Active       OptBool                       `json:"active"`
	Notes        OptNilString                  `json:"notes"`
	Repetitions  []RecurrenceRepetitionUpdate  `json:"repetitions"`
	Transactions []RecurrenceTransactionUpdate `json:"transactions"`
}

Ref: #/components/schemas/RecurrenceUpdate

func (*RecurrenceUpdate) Decode

func (s *RecurrenceUpdate) Decode(d *jx.Decoder) error

Decode decodes RecurrenceUpdate from json.

func (*RecurrenceUpdate) Encode

func (s *RecurrenceUpdate) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*RecurrenceUpdate) GetActive

func (s *RecurrenceUpdate) GetActive() OptBool

GetActive returns the value of Active.

func (*RecurrenceUpdate) GetApplyRules

func (s *RecurrenceUpdate) GetApplyRules() OptBool

GetApplyRules returns the value of ApplyRules.

func (*RecurrenceUpdate) GetDescription

func (s *RecurrenceUpdate) GetDescription() OptString

GetDescription returns the value of Description.

func (*RecurrenceUpdate) GetFirstDate

func (s *RecurrenceUpdate) GetFirstDate() OptDate

GetFirstDate returns the value of FirstDate.

func (*RecurrenceUpdate) GetNotes

func (s *RecurrenceUpdate) GetNotes() OptNilString

GetNotes returns the value of Notes.

func (*RecurrenceUpdate) GetNrOfRepetitions

func (s *RecurrenceUpdate) GetNrOfRepetitions() OptNilInt32

GetNrOfRepetitions returns the value of NrOfRepetitions.

func (*RecurrenceUpdate) GetRepeatUntil

func (s *RecurrenceUpdate) GetRepeatUntil() OptNilDate

GetRepeatUntil returns the value of RepeatUntil.

func (*RecurrenceUpdate) GetRepetitions

func (s *RecurrenceUpdate) GetRepetitions() []RecurrenceRepetitionUpdate

GetRepetitions returns the value of Repetitions.

func (*RecurrenceUpdate) GetTitle

func (s *RecurrenceUpdate) GetTitle() OptString

GetTitle returns the value of Title.

func (*RecurrenceUpdate) GetTransactions

func (s *RecurrenceUpdate) GetTransactions() []RecurrenceTransactionUpdate

GetTransactions returns the value of Transactions.

func (*RecurrenceUpdate) MarshalJSON

func (s *RecurrenceUpdate) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*RecurrenceUpdate) SetActive

func (s *RecurrenceUpdate) SetActive(val OptBool)

SetActive sets the value of Active.

func (*RecurrenceUpdate) SetApplyRules

func (s *RecurrenceUpdate) SetApplyRules(val OptBool)

SetApplyRules sets the value of ApplyRules.

func (*RecurrenceUpdate) SetDescription

func (s *RecurrenceUpdate) SetDescription(val OptString)

SetDescription sets the value of Description.

func (*RecurrenceUpdate) SetFirstDate

func (s *RecurrenceUpdate) SetFirstDate(val OptDate)

SetFirstDate sets the value of FirstDate.

func (*RecurrenceUpdate) SetNotes

func (s *RecurrenceUpdate) SetNotes(val OptNilString)

SetNotes sets the value of Notes.

func (*RecurrenceUpdate) SetNrOfRepetitions

func (s *RecurrenceUpdate) SetNrOfRepetitions(val OptNilInt32)

SetNrOfRepetitions sets the value of NrOfRepetitions.

func (*RecurrenceUpdate) SetRepeatUntil

func (s *RecurrenceUpdate) SetRepeatUntil(val OptNilDate)

SetRepeatUntil sets the value of RepeatUntil.

func (*RecurrenceUpdate) SetRepetitions

func (s *RecurrenceUpdate) SetRepetitions(val []RecurrenceRepetitionUpdate)

SetRepetitions sets the value of Repetitions.

func (*RecurrenceUpdate) SetTitle

func (s *RecurrenceUpdate) SetTitle(val OptString)

SetTitle sets the value of Title.

func (*RecurrenceUpdate) SetTransactions

func (s *RecurrenceUpdate) SetTransactions(val []RecurrenceTransactionUpdate)

SetTransactions sets the value of Transactions.

func (*RecurrenceUpdate) UnmarshalJSON

func (s *RecurrenceUpdate) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*RecurrenceUpdate) Validate

func (s *RecurrenceUpdate) Validate() error

type Rule

type Rule struct {
	CreatedAt   OptDateTime `json:"created_at"`
	UpdatedAt   OptDateTime `json:"updated_at"`
	Title       string      `json:"title"`
	Description OptString   `json:"description"`
	// ID of the rule group under which the rule must be stored. Either this field or rule_group_title is
	// mandatory.
	RuleGroupID string `json:"rule_group_id"`
	// Title of the rule group under which the rule must be stored. Either this field or rule_group_id is
	// mandatory.
	RuleGroupTitle OptString       `json:"rule_group_title"`
	Order          OptInt32        `json:"order"`
	Trigger        RuleTriggerType `json:"trigger"`
	// Whether or not the rule is even active. Default is true.
	Active OptBool `json:"active"`
	// If the rule is set to be strict, ALL triggers must hit in order for the rule to fire. Otherwise,
	// just one is enough. Default value is true.
	Strict OptBool `json:"strict"`
	// If this value is true and the rule is triggered, other rules  after this one in the group will be
	// skipped. Default value is false.
	StopProcessing OptBool       `json:"stop_processing"`
	Triggers       []RuleTrigger `json:"triggers"`
	Actions        []RuleAction  `json:"actions"`
}

Ref: #/components/schemas/Rule

func (*Rule) Decode

func (s *Rule) Decode(d *jx.Decoder) error

Decode decodes Rule from json.

func (*Rule) Encode

func (s *Rule) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*Rule) GetActions

func (s *Rule) GetActions() []RuleAction

GetActions returns the value of Actions.

func (*Rule) GetActive

func (s *Rule) GetActive() OptBool

GetActive returns the value of Active.

func (*Rule) GetCreatedAt

func (s *Rule) GetCreatedAt() OptDateTime

GetCreatedAt returns the value of CreatedAt.

func (*Rule) GetDescription

func (s *Rule) GetDescription() OptString

GetDescription returns the value of Description.

func (*Rule) GetOrder

func (s *Rule) GetOrder() OptInt32

GetOrder returns the value of Order.

func (*Rule) GetRuleGroupID

func (s *Rule) GetRuleGroupID() string

GetRuleGroupID returns the value of RuleGroupID.

func (*Rule) GetRuleGroupTitle

func (s *Rule) GetRuleGroupTitle() OptString

GetRuleGroupTitle returns the value of RuleGroupTitle.

func (*Rule) GetStopProcessing

func (s *Rule) GetStopProcessing() OptBool

GetStopProcessing returns the value of StopProcessing.

func (*Rule) GetStrict

func (s *Rule) GetStrict() OptBool

GetStrict returns the value of Strict.

func (*Rule) GetTitle

func (s *Rule) GetTitle() string

GetTitle returns the value of Title.

func (*Rule) GetTrigger

func (s *Rule) GetTrigger() RuleTriggerType

GetTrigger returns the value of Trigger.

func (*Rule) GetTriggers

func (s *Rule) GetTriggers() []RuleTrigger

GetTriggers returns the value of Triggers.

func (*Rule) GetUpdatedAt

func (s *Rule) GetUpdatedAt() OptDateTime

GetUpdatedAt returns the value of UpdatedAt.

func (*Rule) MarshalJSON

func (s *Rule) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*Rule) SetActions

func (s *Rule) SetActions(val []RuleAction)

SetActions sets the value of Actions.

func (*Rule) SetActive

func (s *Rule) SetActive(val OptBool)

SetActive sets the value of Active.

func (*Rule) SetCreatedAt

func (s *Rule) SetCreatedAt(val OptDateTime)

SetCreatedAt sets the value of CreatedAt.

func (*Rule) SetDescription

func (s *Rule) SetDescription(val OptString)

SetDescription sets the value of Description.

func (*Rule) SetOrder

func (s *Rule) SetOrder(val OptInt32)

SetOrder sets the value of Order.

func (*Rule) SetRuleGroupID

func (s *Rule) SetRuleGroupID(val string)

SetRuleGroupID sets the value of RuleGroupID.

func (*Rule) SetRuleGroupTitle

func (s *Rule) SetRuleGroupTitle(val OptString)

SetRuleGroupTitle sets the value of RuleGroupTitle.

func (*Rule) SetStopProcessing

func (s *Rule) SetStopProcessing(val OptBool)

SetStopProcessing sets the value of StopProcessing.

func (*Rule) SetStrict

func (s *Rule) SetStrict(val OptBool)

SetStrict sets the value of Strict.

func (*Rule) SetTitle

func (s *Rule) SetTitle(val string)

SetTitle sets the value of Title.

func (*Rule) SetTrigger

func (s *Rule) SetTrigger(val RuleTriggerType)

SetTrigger sets the value of Trigger.

func (*Rule) SetTriggers

func (s *Rule) SetTriggers(val []RuleTrigger)

SetTriggers sets the value of Triggers.

func (*Rule) SetUpdatedAt

func (s *Rule) SetUpdatedAt(val OptDateTime)

SetUpdatedAt sets the value of UpdatedAt.

func (*Rule) UnmarshalJSON

func (s *Rule) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*Rule) Validate

func (s *Rule) Validate() error

type RuleAction

type RuleAction struct {
	ID        OptString         `json:"id"`
	CreatedAt OptDateTime       `json:"created_at"`
	UpdatedAt OptDateTime       `json:"updated_at"`
	Type      RuleActionKeyword `json:"type"`
	// The accompanying value the action will set, change or update. Can be empty, but for some types
	// this value is mandatory.
	Value NilString `json:"value"`
	// Order of the action.
	Order OptInt32 `json:"order"`
	// If the action is active. Defaults to true.
	Active OptBool `json:"active"`
	// When true, other actions will not be fired after this action has fired. Defaults to false.
	StopProcessing OptBool `json:"stop_processing"`
}

Ref: #/components/schemas/RuleAction

func (*RuleAction) Decode

func (s *RuleAction) Decode(d *jx.Decoder) error

Decode decodes RuleAction from json.

func (*RuleAction) Encode

func (s *RuleAction) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*RuleAction) GetActive

func (s *RuleAction) GetActive() OptBool

GetActive returns the value of Active.

func (*RuleAction) GetCreatedAt

func (s *RuleAction) GetCreatedAt() OptDateTime

GetCreatedAt returns the value of CreatedAt.

func (*RuleAction) GetID

func (s *RuleAction) GetID() OptString

GetID returns the value of ID.

func (*RuleAction) GetOrder

func (s *RuleAction) GetOrder() OptInt32

GetOrder returns the value of Order.

func (*RuleAction) GetStopProcessing

func (s *RuleAction) GetStopProcessing() OptBool

GetStopProcessing returns the value of StopProcessing.

func (*RuleAction) GetType

func (s *RuleAction) GetType() RuleActionKeyword

GetType returns the value of Type.

func (*RuleAction) GetUpdatedAt

func (s *RuleAction) GetUpdatedAt() OptDateTime

GetUpdatedAt returns the value of UpdatedAt.

func (*RuleAction) GetValue

func (s *RuleAction) GetValue() NilString

GetValue returns the value of Value.

func (*RuleAction) MarshalJSON

func (s *RuleAction) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*RuleAction) SetActive

func (s *RuleAction) SetActive(val OptBool)

SetActive sets the value of Active.

func (*RuleAction) SetCreatedAt

func (s *RuleAction) SetCreatedAt(val OptDateTime)

SetCreatedAt sets the value of CreatedAt.

func (*RuleAction) SetID

func (s *RuleAction) SetID(val OptString)

SetID sets the value of ID.

func (*RuleAction) SetOrder

func (s *RuleAction) SetOrder(val OptInt32)

SetOrder sets the value of Order.

func (*RuleAction) SetStopProcessing

func (s *RuleAction) SetStopProcessing(val OptBool)

SetStopProcessing sets the value of StopProcessing.

func (*RuleAction) SetType

func (s *RuleAction) SetType(val RuleActionKeyword)

SetType sets the value of Type.

func (*RuleAction) SetUpdatedAt

func (s *RuleAction) SetUpdatedAt(val OptDateTime)

SetUpdatedAt sets the value of UpdatedAt.

func (*RuleAction) SetValue

func (s *RuleAction) SetValue(val NilString)

SetValue sets the value of Value.

func (*RuleAction) UnmarshalJSON

func (s *RuleAction) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*RuleAction) Validate

func (s *RuleAction) Validate() error

type RuleActionKeyword

type RuleActionKeyword string

The type of thing this action will do. A limited set is possible. Ref: #/components/schemas/RuleActionKeyword

const (
	RuleActionKeywordUserAction            RuleActionKeyword = "user_action"
	RuleActionKeywordSetCategory           RuleActionKeyword = "set_category"
	RuleActionKeywordClearCategory         RuleActionKeyword = "clear_category"
	RuleActionKeywordSetBudget             RuleActionKeyword = "set_budget"
	RuleActionKeywordClearBudget           RuleActionKeyword = "clear_budget"
	RuleActionKeywordAddTag                RuleActionKeyword = "add_tag"
	RuleActionKeywordRemoveTag             RuleActionKeyword = "remove_tag"
	RuleActionKeywordRemoveAllTags         RuleActionKeyword = "remove_all_tags"
	RuleActionKeywordSetDescription        RuleActionKeyword = "set_description"
	RuleActionKeywordAppendDescription     RuleActionKeyword = "append_description"
	RuleActionKeywordPrependDescription    RuleActionKeyword = "prepend_description"
	RuleActionKeywordSetSourceAccount      RuleActionKeyword = "set_source_account"
	RuleActionKeywordSetDestinationAccount RuleActionKeyword = "set_destination_account"
	RuleActionKeywordSetNotes              RuleActionKeyword = "set_notes"
	RuleActionKeywordAppendNotes           RuleActionKeyword = "append_notes"
	RuleActionKeywordPrependNotes          RuleActionKeyword = "prepend_notes"
	RuleActionKeywordClearNotes            RuleActionKeyword = "clear_notes"
	RuleActionKeywordLinkToBill            RuleActionKeyword = "link_to_bill"
	RuleActionKeywordConvertWithdrawal     RuleActionKeyword = "convert_withdrawal"
	RuleActionKeywordConvertDeposit        RuleActionKeyword = "convert_deposit"
	RuleActionKeywordConvertTransfer       RuleActionKeyword = "convert_transfer"
	RuleActionKeywordDeleteTransaction     RuleActionKeyword = "delete_transaction"
)

func (RuleActionKeyword) AllValues

func (RuleActionKeyword) AllValues() []RuleActionKeyword

AllValues returns all RuleActionKeyword values.

func (*RuleActionKeyword) Decode

func (s *RuleActionKeyword) Decode(d *jx.Decoder) error

Decode decodes RuleActionKeyword from json.

func (RuleActionKeyword) Encode

func (s RuleActionKeyword) Encode(e *jx.Encoder)

Encode encodes RuleActionKeyword as json.

func (RuleActionKeyword) MarshalJSON

func (s RuleActionKeyword) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (RuleActionKeyword) MarshalText

func (s RuleActionKeyword) MarshalText() ([]byte, error)

MarshalText implements encoding.TextMarshaler.

func (*RuleActionKeyword) UnmarshalJSON

func (s *RuleActionKeyword) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*RuleActionKeyword) UnmarshalText

func (s *RuleActionKeyword) UnmarshalText(data []byte) error

UnmarshalText implements encoding.TextUnmarshaler.

func (RuleActionKeyword) Validate

func (s RuleActionKeyword) Validate() error

type RuleActionStore

type RuleActionStore struct {
	Type RuleActionKeyword `json:"type"`
	// The accompanying value the action will set, change or update. Can be empty, but for some types
	// this value is mandatory.
	Value NilString `json:"value"`
	// Order of the action.
	Order OptInt32 `json:"order"`
	// If the action is active. Defaults to true.
	Active OptBool `json:"active"`
	// When true, other actions will not be fired after this action has fired. Defaults to false.
	StopProcessing OptBool `json:"stop_processing"`
}

Ref: #/components/schemas/RuleActionStore

func (*RuleActionStore) Decode

func (s *RuleActionStore) Decode(d *jx.Decoder) error

Decode decodes RuleActionStore from json.

func (*RuleActionStore) Encode

func (s *RuleActionStore) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*RuleActionStore) GetActive

func (s *RuleActionStore) GetActive() OptBool

GetActive returns the value of Active.

func (*RuleActionStore) GetOrder

func (s *RuleActionStore) GetOrder() OptInt32

GetOrder returns the value of Order.

func (*RuleActionStore) GetStopProcessing

func (s *RuleActionStore) GetStopProcessing() OptBool

GetStopProcessing returns the value of StopProcessing.

func (*RuleActionStore) GetType

func (s *RuleActionStore) GetType() RuleActionKeyword

GetType returns the value of Type.

func (*RuleActionStore) GetValue

func (s *RuleActionStore) GetValue() NilString

GetValue returns the value of Value.

func (*RuleActionStore) MarshalJSON

func (s *RuleActionStore) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*RuleActionStore) SetActive

func (s *RuleActionStore) SetActive(val OptBool)

SetActive sets the value of Active.

func (*RuleActionStore) SetOrder

func (s *RuleActionStore) SetOrder(val OptInt32)

SetOrder sets the value of Order.

func (*RuleActionStore) SetStopProcessing

func (s *RuleActionStore) SetStopProcessing(val OptBool)

SetStopProcessing sets the value of StopProcessing.

func (*RuleActionStore) SetType

func (s *RuleActionStore) SetType(val RuleActionKeyword)

SetType sets the value of Type.

func (*RuleActionStore) SetValue

func (s *RuleActionStore) SetValue(val NilString)

SetValue sets the value of Value.

func (*RuleActionStore) UnmarshalJSON

func (s *RuleActionStore) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*RuleActionStore) Validate

func (s *RuleActionStore) Validate() error

type RuleActionUpdate

type RuleActionUpdate struct {
	Type OptRuleActionKeyword `json:"type"`
	// The accompanying value the action will set, change or update. Can be empty, but for some types
	// this value is mandatory.
	Value OptNilString `json:"value"`
	// Order of the action.
	Order OptInt32 `json:"order"`
	// If the action is active.
	Active OptBool `json:"active"`
	// When true, other actions will not be fired after this action has fired.
	StopProcessing OptBool `json:"stop_processing"`
}

Ref: #/components/schemas/RuleActionUpdate

func (*RuleActionUpdate) Decode

func (s *RuleActionUpdate) Decode(d *jx.Decoder) error

Decode decodes RuleActionUpdate from json.

func (*RuleActionUpdate) Encode

func (s *RuleActionUpdate) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*RuleActionUpdate) GetActive

func (s *RuleActionUpdate) GetActive() OptBool

GetActive returns the value of Active.

func (*RuleActionUpdate) GetOrder

func (s *RuleActionUpdate) GetOrder() OptInt32

GetOrder returns the value of Order.

func (*RuleActionUpdate) GetStopProcessing

func (s *RuleActionUpdate) GetStopProcessing() OptBool

GetStopProcessing returns the value of StopProcessing.

func (*RuleActionUpdate) GetType

GetType returns the value of Type.

func (*RuleActionUpdate) GetValue

func (s *RuleActionUpdate) GetValue() OptNilString

GetValue returns the value of Value.

func (*RuleActionUpdate) MarshalJSON

func (s *RuleActionUpdate) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*RuleActionUpdate) SetActive

func (s *RuleActionUpdate) SetActive(val OptBool)

SetActive sets the value of Active.

func (*RuleActionUpdate) SetOrder

func (s *RuleActionUpdate) SetOrder(val OptInt32)

SetOrder sets the value of Order.

func (*RuleActionUpdate) SetStopProcessing

func (s *RuleActionUpdate) SetStopProcessing(val OptBool)

SetStopProcessing sets the value of StopProcessing.

func (*RuleActionUpdate) SetType

func (s *RuleActionUpdate) SetType(val OptRuleActionKeyword)

SetType sets the value of Type.

func (*RuleActionUpdate) SetValue

func (s *RuleActionUpdate) SetValue(val OptNilString)

SetValue sets the value of Value.

func (*RuleActionUpdate) UnmarshalJSON

func (s *RuleActionUpdate) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*RuleActionUpdate) Validate

func (s *RuleActionUpdate) Validate() error

type RuleArray

type RuleArray struct {
	Data  []RuleRead `json:"data"`
	Meta  Meta       `json:"meta"`
	Links PageLink   `json:"links"`
}

Ref: #/components/schemas/RuleArray

func (*RuleArray) Decode

func (s *RuleArray) Decode(d *jx.Decoder) error

Decode decodes RuleArray from json.

func (*RuleArray) Encode

func (s *RuleArray) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*RuleArray) GetData

func (s *RuleArray) GetData() []RuleRead

GetData returns the value of Data.

func (s *RuleArray) GetLinks() PageLink

GetLinks returns the value of Links.

func (*RuleArray) GetMeta

func (s *RuleArray) GetMeta() Meta

GetMeta returns the value of Meta.

func (*RuleArray) MarshalJSON

func (s *RuleArray) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*RuleArray) SetData

func (s *RuleArray) SetData(val []RuleRead)

SetData sets the value of Data.

func (s *RuleArray) SetLinks(val PageLink)

SetLinks sets the value of Links.

func (*RuleArray) SetMeta

func (s *RuleArray) SetMeta(val Meta)

SetMeta sets the value of Meta.

func (*RuleArray) UnmarshalJSON

func (s *RuleArray) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*RuleArray) Validate

func (s *RuleArray) Validate() error

type RuleGroup

type RuleGroup struct {
	CreatedAt   OptDateTime  `json:"created_at"`
	UpdatedAt   OptDateTime  `json:"updated_at"`
	Title       string       `json:"title"`
	Description OptNilString `json:"description"`
	Order       OptInt32     `json:"order"`
	Active      OptBool      `json:"active"`
}

Ref: #/components/schemas/RuleGroup

func (*RuleGroup) Decode

func (s *RuleGroup) Decode(d *jx.Decoder) error

Decode decodes RuleGroup from json.

func (*RuleGroup) Encode

func (s *RuleGroup) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*RuleGroup) GetActive

func (s *RuleGroup) GetActive() OptBool

GetActive returns the value of Active.

func (*RuleGroup) GetCreatedAt

func (s *RuleGroup) GetCreatedAt() OptDateTime

GetCreatedAt returns the value of CreatedAt.

func (*RuleGroup) GetDescription

func (s *RuleGroup) GetDescription() OptNilString

GetDescription returns the value of Description.

func (*RuleGroup) GetOrder

func (s *RuleGroup) GetOrder() OptInt32

GetOrder returns the value of Order.

func (*RuleGroup) GetTitle

func (s *RuleGroup) GetTitle() string

GetTitle returns the value of Title.

func (*RuleGroup) GetUpdatedAt

func (s *RuleGroup) GetUpdatedAt() OptDateTime

GetUpdatedAt returns the value of UpdatedAt.

func (*RuleGroup) MarshalJSON

func (s *RuleGroup) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*RuleGroup) SetActive

func (s *RuleGroup) SetActive(val OptBool)

SetActive sets the value of Active.

func (*RuleGroup) SetCreatedAt

func (s *RuleGroup) SetCreatedAt(val OptDateTime)

SetCreatedAt sets the value of CreatedAt.

func (*RuleGroup) SetDescription

func (s *RuleGroup) SetDescription(val OptNilString)

SetDescription sets the value of Description.

func (*RuleGroup) SetOrder

func (s *RuleGroup) SetOrder(val OptInt32)

SetOrder sets the value of Order.

func (*RuleGroup) SetTitle

func (s *RuleGroup) SetTitle(val string)

SetTitle sets the value of Title.

func (*RuleGroup) SetUpdatedAt

func (s *RuleGroup) SetUpdatedAt(val OptDateTime)

SetUpdatedAt sets the value of UpdatedAt.

func (*RuleGroup) UnmarshalJSON

func (s *RuleGroup) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type RuleGroupArray

type RuleGroupArray struct {
	Data  []RuleGroupRead `json:"data"`
	Meta  Meta            `json:"meta"`
	Links PageLink        `json:"links"`
}

Ref: #/components/schemas/RuleGroupArray

func (*RuleGroupArray) Decode

func (s *RuleGroupArray) Decode(d *jx.Decoder) error

Decode decodes RuleGroupArray from json.

func (*RuleGroupArray) Encode

func (s *RuleGroupArray) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*RuleGroupArray) GetData

func (s *RuleGroupArray) GetData() []RuleGroupRead

GetData returns the value of Data.

func (s *RuleGroupArray) GetLinks() PageLink

GetLinks returns the value of Links.

func (*RuleGroupArray) GetMeta

func (s *RuleGroupArray) GetMeta() Meta

GetMeta returns the value of Meta.

func (*RuleGroupArray) MarshalJSON

func (s *RuleGroupArray) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*RuleGroupArray) SetData

func (s *RuleGroupArray) SetData(val []RuleGroupRead)

SetData sets the value of Data.

func (s *RuleGroupArray) SetLinks(val PageLink)

SetLinks sets the value of Links.

func (*RuleGroupArray) SetMeta

func (s *RuleGroupArray) SetMeta(val Meta)

SetMeta sets the value of Meta.

func (*RuleGroupArray) UnmarshalJSON

func (s *RuleGroupArray) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*RuleGroupArray) Validate

func (s *RuleGroupArray) Validate() error

type RuleGroupRead

type RuleGroupRead struct {
	// Immutable value.
	Type       string     `json:"type"`
	ID         string     `json:"id"`
	Attributes RuleGroup  `json:"attributes"`
	Links      ObjectLink `json:"links"`
}

Ref: #/components/schemas/RuleGroupRead

func (*RuleGroupRead) Decode

func (s *RuleGroupRead) Decode(d *jx.Decoder) error

Decode decodes RuleGroupRead from json.

func (*RuleGroupRead) Encode

func (s *RuleGroupRead) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*RuleGroupRead) GetAttributes

func (s *RuleGroupRead) GetAttributes() RuleGroup

GetAttributes returns the value of Attributes.

func (*RuleGroupRead) GetID

func (s *RuleGroupRead) GetID() string

GetID returns the value of ID.

func (s *RuleGroupRead) GetLinks() ObjectLink

GetLinks returns the value of Links.

func (*RuleGroupRead) GetType

func (s *RuleGroupRead) GetType() string

GetType returns the value of Type.

func (*RuleGroupRead) MarshalJSON

func (s *RuleGroupRead) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*RuleGroupRead) SetAttributes

func (s *RuleGroupRead) SetAttributes(val RuleGroup)

SetAttributes sets the value of Attributes.

func (*RuleGroupRead) SetID

func (s *RuleGroupRead) SetID(val string)

SetID sets the value of ID.

func (s *RuleGroupRead) SetLinks(val ObjectLink)

SetLinks sets the value of Links.

func (*RuleGroupRead) SetType

func (s *RuleGroupRead) SetType(val string)

SetType sets the value of Type.

func (*RuleGroupRead) UnmarshalJSON

func (s *RuleGroupRead) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type RuleGroupSingle

type RuleGroupSingle struct {
	Data RuleGroupRead `json:"data"`
}

Ref: #/components/schemas/RuleGroupSingle

func (*RuleGroupSingle) Decode

func (s *RuleGroupSingle) Decode(d *jx.Decoder) error

Decode decodes RuleGroupSingle from json.

func (*RuleGroupSingle) Encode

func (s *RuleGroupSingle) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*RuleGroupSingle) GetData

func (s *RuleGroupSingle) GetData() RuleGroupRead

GetData returns the value of Data.

func (*RuleGroupSingle) MarshalJSON

func (s *RuleGroupSingle) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*RuleGroupSingle) SetData

func (s *RuleGroupSingle) SetData(val RuleGroupRead)

SetData sets the value of Data.

func (*RuleGroupSingle) UnmarshalJSON

func (s *RuleGroupSingle) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type RuleGroupStore

type RuleGroupStore struct {
	Title       string       `json:"title"`
	Description OptNilString `json:"description"`
	Order       OptInt32     `json:"order"`
	Active      OptBool      `json:"active"`
}

Ref: #/components/schemas/RuleGroupStore

func (*RuleGroupStore) Decode

func (s *RuleGroupStore) Decode(d *jx.Decoder) error

Decode decodes RuleGroupStore from json.

func (*RuleGroupStore) Encode

func (s *RuleGroupStore) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*RuleGroupStore) GetActive

func (s *RuleGroupStore) GetActive() OptBool

GetActive returns the value of Active.

func (*RuleGroupStore) GetDescription

func (s *RuleGroupStore) GetDescription() OptNilString

GetDescription returns the value of Description.

func (*RuleGroupStore) GetOrder

func (s *RuleGroupStore) GetOrder() OptInt32

GetOrder returns the value of Order.

func (*RuleGroupStore) GetTitle

func (s *RuleGroupStore) GetTitle() string

GetTitle returns the value of Title.

func (*RuleGroupStore) MarshalJSON

func (s *RuleGroupStore) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*RuleGroupStore) SetActive

func (s *RuleGroupStore) SetActive(val OptBool)

SetActive sets the value of Active.

func (*RuleGroupStore) SetDescription

func (s *RuleGroupStore) SetDescription(val OptNilString)

SetDescription sets the value of Description.

func (*RuleGroupStore) SetOrder

func (s *RuleGroupStore) SetOrder(val OptInt32)

SetOrder sets the value of Order.

func (*RuleGroupStore) SetTitle

func (s *RuleGroupStore) SetTitle(val string)

SetTitle sets the value of Title.

func (*RuleGroupStore) UnmarshalJSON

func (s *RuleGroupStore) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type RuleGroupUpdate

type RuleGroupUpdate struct {
	Title       OptString    `json:"title"`
	Description OptNilString `json:"description"`
	Order       OptInt32     `json:"order"`
	Active      OptBool      `json:"active"`
}

Ref: #/components/schemas/RuleGroupUpdate

func (*RuleGroupUpdate) Decode

func (s *RuleGroupUpdate) Decode(d *jx.Decoder) error

Decode decodes RuleGroupUpdate from json.

func (*RuleGroupUpdate) Encode

func (s *RuleGroupUpdate) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*RuleGroupUpdate) GetActive

func (s *RuleGroupUpdate) GetActive() OptBool

GetActive returns the value of Active.

func (*RuleGroupUpdate) GetDescription

func (s *RuleGroupUpdate) GetDescription() OptNilString

GetDescription returns the value of Description.

func (*RuleGroupUpdate) GetOrder

func (s *RuleGroupUpdate) GetOrder() OptInt32

GetOrder returns the value of Order.

func (*RuleGroupUpdate) GetTitle

func (s *RuleGroupUpdate) GetTitle() OptString

GetTitle returns the value of Title.

func (*RuleGroupUpdate) MarshalJSON

func (s *RuleGroupUpdate) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*RuleGroupUpdate) SetActive

func (s *RuleGroupUpdate) SetActive(val OptBool)

SetActive sets the value of Active.

func (*RuleGroupUpdate) SetDescription

func (s *RuleGroupUpdate) SetDescription(val OptNilString)

SetDescription sets the value of Description.

func (*RuleGroupUpdate) SetOrder

func (s *RuleGroupUpdate) SetOrder(val OptInt32)

SetOrder sets the value of Order.

func (*RuleGroupUpdate) SetTitle

func (s *RuleGroupUpdate) SetTitle(val OptString)

SetTitle sets the value of Title.

func (*RuleGroupUpdate) UnmarshalJSON

func (s *RuleGroupUpdate) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type RuleRead

type RuleRead struct {
	// Immutable value.
	Type       string     `json:"type"`
	ID         string     `json:"id"`
	Attributes Rule       `json:"attributes"`
	Links      ObjectLink `json:"links"`
}

Ref: #/components/schemas/RuleRead

func (*RuleRead) Decode

func (s *RuleRead) Decode(d *jx.Decoder) error

Decode decodes RuleRead from json.

func (*RuleRead) Encode

func (s *RuleRead) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*RuleRead) GetAttributes

func (s *RuleRead) GetAttributes() Rule

GetAttributes returns the value of Attributes.

func (*RuleRead) GetID

func (s *RuleRead) GetID() string

GetID returns the value of ID.

func (s *RuleRead) GetLinks() ObjectLink

GetLinks returns the value of Links.

func (*RuleRead) GetType

func (s *RuleRead) GetType() string

GetType returns the value of Type.

func (*RuleRead) MarshalJSON

func (s *RuleRead) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*RuleRead) SetAttributes

func (s *RuleRead) SetAttributes(val Rule)

SetAttributes sets the value of Attributes.

func (*RuleRead) SetID

func (s *RuleRead) SetID(val string)

SetID sets the value of ID.

func (s *RuleRead) SetLinks(val ObjectLink)

SetLinks sets the value of Links.

func (*RuleRead) SetType

func (s *RuleRead) SetType(val string)

SetType sets the value of Type.

func (*RuleRead) UnmarshalJSON

func (s *RuleRead) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*RuleRead) Validate

func (s *RuleRead) Validate() error

type RuleSingle

type RuleSingle struct {
	Data RuleRead `json:"data"`
}

Ref: #/components/schemas/RuleSingle

func (*RuleSingle) Decode

func (s *RuleSingle) Decode(d *jx.Decoder) error

Decode decodes RuleSingle from json.

func (*RuleSingle) Encode

func (s *RuleSingle) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*RuleSingle) GetData

func (s *RuleSingle) GetData() RuleRead

GetData returns the value of Data.

func (*RuleSingle) MarshalJSON

func (s *RuleSingle) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*RuleSingle) SetData

func (s *RuleSingle) SetData(val RuleRead)

SetData sets the value of Data.

func (*RuleSingle) UnmarshalJSON

func (s *RuleSingle) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*RuleSingle) Validate

func (s *RuleSingle) Validate() error

type RuleStore

type RuleStore struct {
	Title       string    `json:"title"`
	Description OptString `json:"description"`
	// ID of the rule group under which the rule must be stored. Either this field or rule_group_title is
	// mandatory.
	RuleGroupID string `json:"rule_group_id"`
	// Title of the rule group under which the rule must be stored. Either this field or rule_group_id is
	// mandatory.
	RuleGroupTitle OptString       `json:"rule_group_title"`
	Order          OptInt32        `json:"order"`
	Trigger        RuleTriggerType `json:"trigger"`
	// Whether or not the rule is even active. Default is true.
	Active OptBool `json:"active"`
	// If the rule is set to be strict, ALL triggers must hit in order for the rule to fire. Otherwise,
	// just one is enough. Default value is true.
	Strict OptBool `json:"strict"`
	// If this value is true and the rule is triggered, other rules  after this one in the group will be
	// skipped. Default value is false.
	StopProcessing OptBool            `json:"stop_processing"`
	Triggers       []RuleTriggerStore `json:"triggers"`
	Actions        []RuleActionStore  `json:"actions"`
}

Ref: #/components/schemas/RuleStore

func (*RuleStore) Decode

func (s *RuleStore) Decode(d *jx.Decoder) error

Decode decodes RuleStore from json.

func (*RuleStore) Encode

func (s *RuleStore) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*RuleStore) GetActions

func (s *RuleStore) GetActions() []RuleActionStore

GetActions returns the value of Actions.

func (*RuleStore) GetActive

func (s *RuleStore) GetActive() OptBool

GetActive returns the value of Active.

func (*RuleStore) GetDescription

func (s *RuleStore) GetDescription() OptString

GetDescription returns the value of Description.

func (*RuleStore) GetOrder

func (s *RuleStore) GetOrder() OptInt32

GetOrder returns the value of Order.

func (*RuleStore) GetRuleGroupID

func (s *RuleStore) GetRuleGroupID() string

GetRuleGroupID returns the value of RuleGroupID.

func (*RuleStore) GetRuleGroupTitle

func (s *RuleStore) GetRuleGroupTitle() OptString

GetRuleGroupTitle returns the value of RuleGroupTitle.

func (*RuleStore) GetStopProcessing

func (s *RuleStore) GetStopProcessing() OptBool

GetStopProcessing returns the value of StopProcessing.

func (*RuleStore) GetStrict

func (s *RuleStore) GetStrict() OptBool

GetStrict returns the value of Strict.

func (*RuleStore) GetTitle

func (s *RuleStore) GetTitle() string

GetTitle returns the value of Title.

func (*RuleStore) GetTrigger

func (s *RuleStore) GetTrigger() RuleTriggerType

GetTrigger returns the value of Trigger.

func (*RuleStore) GetTriggers

func (s *RuleStore) GetTriggers() []RuleTriggerStore

GetTriggers returns the value of Triggers.

func (*RuleStore) MarshalJSON

func (s *RuleStore) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*RuleStore) SetActions

func (s *RuleStore) SetActions(val []RuleActionStore)

SetActions sets the value of Actions.

func (*RuleStore) SetActive

func (s *RuleStore) SetActive(val OptBool)

SetActive sets the value of Active.

func (*RuleStore) SetDescription

func (s *RuleStore) SetDescription(val OptString)

SetDescription sets the value of Description.

func (*RuleStore) SetOrder

func (s *RuleStore) SetOrder(val OptInt32)

SetOrder sets the value of Order.

func (*RuleStore) SetRuleGroupID

func (s *RuleStore) SetRuleGroupID(val string)

SetRuleGroupID sets the value of RuleGroupID.

func (*RuleStore) SetRuleGroupTitle

func (s *RuleStore) SetRuleGroupTitle(val OptString)

SetRuleGroupTitle sets the value of RuleGroupTitle.

func (*RuleStore) SetStopProcessing

func (s *RuleStore) SetStopProcessing(val OptBool)

SetStopProcessing sets the value of StopProcessing.

func (*RuleStore) SetStrict

func (s *RuleStore) SetStrict(val OptBool)

SetStrict sets the value of Strict.

func (*RuleStore) SetTitle

func (s *RuleStore) SetTitle(val string)

SetTitle sets the value of Title.

func (*RuleStore) SetTrigger

func (s *RuleStore) SetTrigger(val RuleTriggerType)

SetTrigger sets the value of Trigger.

func (*RuleStore) SetTriggers

func (s *RuleStore) SetTriggers(val []RuleTriggerStore)

SetTriggers sets the value of Triggers.

func (*RuleStore) UnmarshalJSON

func (s *RuleStore) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*RuleStore) Validate

func (s *RuleStore) Validate() error

type RuleTrigger

type RuleTrigger struct {
	ID        OptString          `json:"id"`
	CreatedAt OptDateTime        `json:"created_at"`
	UpdatedAt OptDateTime        `json:"updated_at"`
	Type      RuleTriggerKeyword `json:"type"`
	// The accompanying value the triggers responds to. This value is often mandatory, but this depends
	// on the triggers.
	Value string `json:"value"`
	// Order of the triggers.
	Order OptInt32 `json:"order"`
	// If the triggers is active. Defaults to true.
	Active OptBool `json:"active"`
	// When true, other triggers will not be checked if this triggers was triggered. Defaults to false.
	StopProcessing OptBool `json:"stop_processing"`
}

Ref: #/components/schemas/RuleTrigger

func (*RuleTrigger) Decode

func (s *RuleTrigger) Decode(d *jx.Decoder) error

Decode decodes RuleTrigger from json.

func (*RuleTrigger) Encode

func (s *RuleTrigger) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*RuleTrigger) GetActive

func (s *RuleTrigger) GetActive() OptBool

GetActive returns the value of Active.

func (*RuleTrigger) GetCreatedAt

func (s *RuleTrigger) GetCreatedAt() OptDateTime

GetCreatedAt returns the value of CreatedAt.

func (*RuleTrigger) GetID

func (s *RuleTrigger) GetID() OptString

GetID returns the value of ID.

func (*RuleTrigger) GetOrder

func (s *RuleTrigger) GetOrder() OptInt32

GetOrder returns the value of Order.

func (*RuleTrigger) GetStopProcessing

func (s *RuleTrigger) GetStopProcessing() OptBool

GetStopProcessing returns the value of StopProcessing.

func (*RuleTrigger) GetType

func (s *RuleTrigger) GetType() RuleTriggerKeyword

GetType returns the value of Type.

func (*RuleTrigger) GetUpdatedAt

func (s *RuleTrigger) GetUpdatedAt() OptDateTime

GetUpdatedAt returns the value of UpdatedAt.

func (*RuleTrigger) GetValue

func (s *RuleTrigger) GetValue() string

GetValue returns the value of Value.

func (*RuleTrigger) MarshalJSON

func (s *RuleTrigger) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*RuleTrigger) SetActive

func (s *RuleTrigger) SetActive(val OptBool)

SetActive sets the value of Active.

func (*RuleTrigger) SetCreatedAt

func (s *RuleTrigger) SetCreatedAt(val OptDateTime)

SetCreatedAt sets the value of CreatedAt.

func (*RuleTrigger) SetID

func (s *RuleTrigger) SetID(val OptString)

SetID sets the value of ID.

func (*RuleTrigger) SetOrder

func (s *RuleTrigger) SetOrder(val OptInt32)

SetOrder sets the value of Order.

func (*RuleTrigger) SetStopProcessing

func (s *RuleTrigger) SetStopProcessing(val OptBool)

SetStopProcessing sets the value of StopProcessing.

func (*RuleTrigger) SetType

func (s *RuleTrigger) SetType(val RuleTriggerKeyword)

SetType sets the value of Type.

func (*RuleTrigger) SetUpdatedAt

func (s *RuleTrigger) SetUpdatedAt(val OptDateTime)

SetUpdatedAt sets the value of UpdatedAt.

func (*RuleTrigger) SetValue

func (s *RuleTrigger) SetValue(val string)

SetValue sets the value of Value.

func (*RuleTrigger) UnmarshalJSON

func (s *RuleTrigger) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*RuleTrigger) Validate

func (s *RuleTrigger) Validate() error

type RuleTriggerKeyword

type RuleTriggerKeyword string

The type of thing this triggers responds to. A limited set is possible. Ref: #/components/schemas/RuleTriggerKeyword

const (
	RuleTriggerKeywordFromAccountStarts    RuleTriggerKeyword = "from_account_starts"
	RuleTriggerKeywordFromAccountEnds      RuleTriggerKeyword = "from_account_ends"
	RuleTriggerKeywordFromAccountIs        RuleTriggerKeyword = "from_account_is"
	RuleTriggerKeywordFromAccountContains  RuleTriggerKeyword = "from_account_contains"
	RuleTriggerKeywordToAccountStarts      RuleTriggerKeyword = "to_account_starts"
	RuleTriggerKeywordToAccountEnds        RuleTriggerKeyword = "to_account_ends"
	RuleTriggerKeywordToAccountIs          RuleTriggerKeyword = "to_account_is"
	RuleTriggerKeywordToAccountContains    RuleTriggerKeyword = "to_account_contains"
	RuleTriggerKeywordAmountLess           RuleTriggerKeyword = "amount_less"
	RuleTriggerKeywordAmountExactly        RuleTriggerKeyword = "amount_exactly"
	RuleTriggerKeywordAmountMore           RuleTriggerKeyword = "amount_more"
	RuleTriggerKeywordDescriptionStarts    RuleTriggerKeyword = "description_starts"
	RuleTriggerKeywordDescriptionEnds      RuleTriggerKeyword = "description_ends"
	RuleTriggerKeywordDescriptionContains  RuleTriggerKeyword = "description_contains"
	RuleTriggerKeywordDescriptionIs        RuleTriggerKeyword = "description_is"
	RuleTriggerKeywordTransactionType      RuleTriggerKeyword = "transaction_type"
	RuleTriggerKeywordCategoryIs           RuleTriggerKeyword = "category_is"
	RuleTriggerKeywordBudgetIs             RuleTriggerKeyword = "budget_is"
	RuleTriggerKeywordTagIs                RuleTriggerKeyword = "tag_is"
	RuleTriggerKeywordCurrencyIs           RuleTriggerKeyword = "currency_is"
	RuleTriggerKeywordHasAttachments       RuleTriggerKeyword = "has_attachments"
	RuleTriggerKeywordHasNoCategory        RuleTriggerKeyword = "has_no_category"
	RuleTriggerKeywordHasAnyCategory       RuleTriggerKeyword = "has_any_category"
	RuleTriggerKeywordHasNoBudget          RuleTriggerKeyword = "has_no_budget"
	RuleTriggerKeywordHasAnyBudget         RuleTriggerKeyword = "has_any_budget"
	RuleTriggerKeywordHasNoTag             RuleTriggerKeyword = "has_no_tag"
	RuleTriggerKeywordHasAnyTag            RuleTriggerKeyword = "has_any_tag"
	RuleTriggerKeywordNotesContains        RuleTriggerKeyword = "notes_contains"
	RuleTriggerKeywordNotesStart           RuleTriggerKeyword = "notes_start"
	RuleTriggerKeywordNotesEnd             RuleTriggerKeyword = "notes_end"
	RuleTriggerKeywordNotesAre             RuleTriggerKeyword = "notes_are"
	RuleTriggerKeywordNoNotes              RuleTriggerKeyword = "no_notes"
	RuleTriggerKeywordAnyNotes             RuleTriggerKeyword = "any_notes"
	RuleTriggerKeywordSourceAccountIs      RuleTriggerKeyword = "source_account_is"
	RuleTriggerKeywordDestinationAccountIs RuleTriggerKeyword = "destination_account_is"
	RuleTriggerKeywordSourceAccountStarts  RuleTriggerKeyword = "source_account_starts"
)

func (RuleTriggerKeyword) AllValues

func (RuleTriggerKeyword) AllValues() []RuleTriggerKeyword

AllValues returns all RuleTriggerKeyword values.

func (*RuleTriggerKeyword) Decode

func (s *RuleTriggerKeyword) Decode(d *jx.Decoder) error

Decode decodes RuleTriggerKeyword from json.

func (RuleTriggerKeyword) Encode

func (s RuleTriggerKeyword) Encode(e *jx.Encoder)

Encode encodes RuleTriggerKeyword as json.

func (RuleTriggerKeyword) MarshalJSON

func (s RuleTriggerKeyword) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (RuleTriggerKeyword) MarshalText

func (s RuleTriggerKeyword) MarshalText() ([]byte, error)

MarshalText implements encoding.TextMarshaler.

func (*RuleTriggerKeyword) UnmarshalJSON

func (s *RuleTriggerKeyword) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*RuleTriggerKeyword) UnmarshalText

func (s *RuleTriggerKeyword) UnmarshalText(data []byte) error

UnmarshalText implements encoding.TextUnmarshaler.

func (RuleTriggerKeyword) Validate

func (s RuleTriggerKeyword) Validate() error

type RuleTriggerStore

type RuleTriggerStore struct {
	Type RuleTriggerKeyword `json:"type"`
	// The accompanying value the triggers responds to. This value is often mandatory, but this depends
	// on the triggers.
	Value string `json:"value"`
	// Order of the triggers.
	Order OptInt32 `json:"order"`
	// If the triggers is active. Defaults to true.
	Active OptBool `json:"active"`
	// When true, other triggers will not be checked if this triggers was triggered. Defaults to false.
	StopProcessing OptBool `json:"stop_processing"`
}

Ref: #/components/schemas/RuleTriggerStore

func (*RuleTriggerStore) Decode

func (s *RuleTriggerStore) Decode(d *jx.Decoder) error

Decode decodes RuleTriggerStore from json.

func (*RuleTriggerStore) Encode

func (s *RuleTriggerStore) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*RuleTriggerStore) GetActive

func (s *RuleTriggerStore) GetActive() OptBool

GetActive returns the value of Active.

func (*RuleTriggerStore) GetOrder

func (s *RuleTriggerStore) GetOrder() OptInt32

GetOrder returns the value of Order.

func (*RuleTriggerStore) GetStopProcessing

func (s *RuleTriggerStore) GetStopProcessing() OptBool

GetStopProcessing returns the value of StopProcessing.

func (*RuleTriggerStore) GetType

func (s *RuleTriggerStore) GetType() RuleTriggerKeyword

GetType returns the value of Type.

func (*RuleTriggerStore) GetValue

func (s *RuleTriggerStore) GetValue() string

GetValue returns the value of Value.

func (*RuleTriggerStore) MarshalJSON

func (s *RuleTriggerStore) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*RuleTriggerStore) SetActive

func (s *RuleTriggerStore) SetActive(val OptBool)

SetActive sets the value of Active.

func (*RuleTriggerStore) SetOrder

func (s *RuleTriggerStore) SetOrder(val OptInt32)

SetOrder sets the value of Order.

func (*RuleTriggerStore) SetStopProcessing

func (s *RuleTriggerStore) SetStopProcessing(val OptBool)

SetStopProcessing sets the value of StopProcessing.

func (*RuleTriggerStore) SetType

func (s *RuleTriggerStore) SetType(val RuleTriggerKeyword)

SetType sets the value of Type.

func (*RuleTriggerStore) SetValue

func (s *RuleTriggerStore) SetValue(val string)

SetValue sets the value of Value.

func (*RuleTriggerStore) UnmarshalJSON

func (s *RuleTriggerStore) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*RuleTriggerStore) Validate

func (s *RuleTriggerStore) Validate() error

type RuleTriggerType

type RuleTriggerType string

Which action is necessary for the rule to fire? Use either store-journal or update-journal. Ref: #/components/schemas/RuleTriggerType

const (
	RuleTriggerTypeStoreJournal  RuleTriggerType = "store-journal"
	RuleTriggerTypeUpdateJournal RuleTriggerType = "update-journal"
)

func (RuleTriggerType) AllValues

func (RuleTriggerType) AllValues() []RuleTriggerType

AllValues returns all RuleTriggerType values.

func (*RuleTriggerType) Decode

func (s *RuleTriggerType) Decode(d *jx.Decoder) error

Decode decodes RuleTriggerType from json.

func (RuleTriggerType) Encode

func (s RuleTriggerType) Encode(e *jx.Encoder)

Encode encodes RuleTriggerType as json.

func (RuleTriggerType) MarshalJSON

func (s RuleTriggerType) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (RuleTriggerType) MarshalText

func (s RuleTriggerType) MarshalText() ([]byte, error)

MarshalText implements encoding.TextMarshaler.

func (*RuleTriggerType) UnmarshalJSON

func (s *RuleTriggerType) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*RuleTriggerType) UnmarshalText

func (s *RuleTriggerType) UnmarshalText(data []byte) error

UnmarshalText implements encoding.TextUnmarshaler.

func (RuleTriggerType) Validate

func (s RuleTriggerType) Validate() error

type RuleTriggerUpdate

type RuleTriggerUpdate struct {
	Type OptRuleTriggerKeyword `json:"type"`
	// The accompanying value the triggers responds to. This value is often mandatory, but this depends
	// on the triggers.
	Value OptString `json:"value"`
	// Order of the triggers.
	Order OptInt32 `json:"order"`
	// If the triggers is active.
	Active OptBool `json:"active"`
	// When true, other triggers will not be checked if this triggers was triggered.
	StopProcessing OptBool `json:"stop_processing"`
}

Ref: #/components/schemas/RuleTriggerUpdate

func (*RuleTriggerUpdate) Decode

func (s *RuleTriggerUpdate) Decode(d *jx.Decoder) error

Decode decodes RuleTriggerUpdate from json.

func (*RuleTriggerUpdate) Encode

func (s *RuleTriggerUpdate) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*RuleTriggerUpdate) GetActive

func (s *RuleTriggerUpdate) GetActive() OptBool

GetActive returns the value of Active.

func (*RuleTriggerUpdate) GetOrder

func (s *RuleTriggerUpdate) GetOrder() OptInt32

GetOrder returns the value of Order.

func (*RuleTriggerUpdate) GetStopProcessing

func (s *RuleTriggerUpdate) GetStopProcessing() OptBool

GetStopProcessing returns the value of StopProcessing.

func (*RuleTriggerUpdate) GetType

GetType returns the value of Type.

func (*RuleTriggerUpdate) GetValue

func (s *RuleTriggerUpdate) GetValue() OptString

GetValue returns the value of Value.

func (*RuleTriggerUpdate) MarshalJSON

func (s *RuleTriggerUpdate) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*RuleTriggerUpdate) SetActive

func (s *RuleTriggerUpdate) SetActive(val OptBool)

SetActive sets the value of Active.

func (*RuleTriggerUpdate) SetOrder

func (s *RuleTriggerUpdate) SetOrder(val OptInt32)

SetOrder sets the value of Order.

func (*RuleTriggerUpdate) SetStopProcessing

func (s *RuleTriggerUpdate) SetStopProcessing(val OptBool)

SetStopProcessing sets the value of StopProcessing.

func (*RuleTriggerUpdate) SetType

func (s *RuleTriggerUpdate) SetType(val OptRuleTriggerKeyword)

SetType sets the value of Type.

func (*RuleTriggerUpdate) SetValue

func (s *RuleTriggerUpdate) SetValue(val OptString)

SetValue sets the value of Value.

func (*RuleTriggerUpdate) UnmarshalJSON

func (s *RuleTriggerUpdate) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*RuleTriggerUpdate) Validate

func (s *RuleTriggerUpdate) Validate() error

type RuleUpdate

type RuleUpdate struct {
	Title       OptString `json:"title"`
	Description OptString `json:"description"`
	// ID of the rule group under which the rule must be stored. Either this field or rule_group_title is
	// mandatory.
	RuleGroupID OptString          `json:"rule_group_id"`
	Order       OptInt32           `json:"order"`
	Trigger     OptRuleTriggerType `json:"trigger"`
	// Whether or not the rule is even active. Default is true.
	Active OptBool `json:"active"`
	// If the rule is set to be strict, ALL triggers must hit in order for the rule to fire. Otherwise,
	// just one is enough. Default value is true.
	Strict OptBool `json:"strict"`
	// If this value is true and the rule is triggered, other rules  after this one in the group will be
	// skipped. Default value is false.
	StopProcessing OptBool             `json:"stop_processing"`
	Triggers       []RuleTriggerUpdate `json:"triggers"`
	Actions        []RuleActionUpdate  `json:"actions"`
}

Ref: #/components/schemas/RuleUpdate

func (*RuleUpdate) Decode

func (s *RuleUpdate) Decode(d *jx.Decoder) error

Decode decodes RuleUpdate from json.

func (*RuleUpdate) Encode

func (s *RuleUpdate) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*RuleUpdate) GetActions

func (s *RuleUpdate) GetActions() []RuleActionUpdate

GetActions returns the value of Actions.

func (*RuleUpdate) GetActive

func (s *RuleUpdate) GetActive() OptBool

GetActive returns the value of Active.

func (*RuleUpdate) GetDescription

func (s *RuleUpdate) GetDescription() OptString

GetDescription returns the value of Description.

func (*RuleUpdate) GetOrder

func (s *RuleUpdate) GetOrder() OptInt32

GetOrder returns the value of Order.

func (*RuleUpdate) GetRuleGroupID

func (s *RuleUpdate) GetRuleGroupID() OptString

GetRuleGroupID returns the value of RuleGroupID.

func (*RuleUpdate) GetStopProcessing

func (s *RuleUpdate) GetStopProcessing() OptBool

GetStopProcessing returns the value of StopProcessing.

func (*RuleUpdate) GetStrict

func (s *RuleUpdate) GetStrict() OptBool

GetStrict returns the value of Strict.

func (*RuleUpdate) GetTitle

func (s *RuleUpdate) GetTitle() OptString

GetTitle returns the value of Title.

func (*RuleUpdate) GetTrigger

func (s *RuleUpdate) GetTrigger() OptRuleTriggerType

GetTrigger returns the value of Trigger.

func (*RuleUpdate) GetTriggers

func (s *RuleUpdate) GetTriggers() []RuleTriggerUpdate

GetTriggers returns the value of Triggers.

func (*RuleUpdate) MarshalJSON

func (s *RuleUpdate) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*RuleUpdate) SetActions

func (s *RuleUpdate) SetActions(val []RuleActionUpdate)

SetActions sets the value of Actions.

func (*RuleUpdate) SetActive

func (s *RuleUpdate) SetActive(val OptBool)

SetActive sets the value of Active.

func (*RuleUpdate) SetDescription

func (s *RuleUpdate) SetDescription(val OptString)

SetDescription sets the value of Description.

func (*RuleUpdate) SetOrder

func (s *RuleUpdate) SetOrder(val OptInt32)

SetOrder sets the value of Order.

func (*RuleUpdate) SetRuleGroupID

func (s *RuleUpdate) SetRuleGroupID(val OptString)

SetRuleGroupID sets the value of RuleGroupID.

func (*RuleUpdate) SetStopProcessing

func (s *RuleUpdate) SetStopProcessing(val OptBool)

SetStopProcessing sets the value of StopProcessing.

func (*RuleUpdate) SetStrict

func (s *RuleUpdate) SetStrict(val OptBool)

SetStrict sets the value of Strict.

func (*RuleUpdate) SetTitle

func (s *RuleUpdate) SetTitle(val OptString)

SetTitle sets the value of Title.

func (*RuleUpdate) SetTrigger

func (s *RuleUpdate) SetTrigger(val OptRuleTriggerType)

SetTrigger sets the value of Trigger.

func (*RuleUpdate) SetTriggers

func (s *RuleUpdate) SetTriggers(val []RuleTriggerUpdate)

SetTriggers sets the value of Triggers.

func (*RuleUpdate) UnmarshalJSON

func (s *RuleUpdate) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*RuleUpdate) Validate

func (s *RuleUpdate) Validate() error

type SearchAccountsParams

type SearchAccountsParams struct {
	// Unique identifier associated with this request.
	XTraceID OptUUID
	// Page number. The default pagination is 50.
	Page OptInt
	// The query you wish to search for.
	Query string
	// The type of accounts you wish to limit the search to.
	Type OptAccountTypeFilter
	// The account field(s) you want to search in.
	Field AccountSearchFieldFilter
}

SearchAccountsParams is parameters of searchAccounts operation.

type SearchAccountsRes

type SearchAccountsRes interface {
	// contains filtered or unexported methods
}

type SearchTransactionsParams

type SearchTransactionsParams struct {
	// Unique identifier associated with this request.
	XTraceID OptUUID
	// The query you wish to search for.
	Query string
	// Page number. The default pagination is 50.
	Page OptInt
}

SearchTransactionsParams is parameters of searchTransactions operation.

type SearchTransactionsRes

type SearchTransactionsRes interface {
	// contains filtered or unexported methods
}

type SecuritySource

type SecuritySource interface {
	// FireflyIiiAuth provides firefly_iii_auth security value.
	// Default OAuth2 flow.
	FireflyIiiAuth(ctx context.Context, operationName string) (FireflyIiiAuth, error)
}

SecuritySource is provider of security values (tokens, passwords, etc.).

type SetConfigurationParams

type SetConfigurationParams struct {
	// Unique identifier associated with this request.
	XTraceID OptUUID
	// The name of the configuration value you want to update.
	Name ConfigValueUpdateFilter
}

SetConfigurationParams is parameters of setConfiguration operation.

type SetConfigurationRes

type SetConfigurationRes interface {
	// contains filtered or unexported methods
}

type ShortAccountTypeProperty

type ShortAccountTypeProperty string

Can only be one one these account types. import, initial-balance and reconciliation cannot be set manually. Ref: #/components/schemas/ShortAccountTypeProperty

const (
	ShortAccountTypePropertyAsset          ShortAccountTypeProperty = "asset"
	ShortAccountTypePropertyExpense        ShortAccountTypeProperty = "expense"
	ShortAccountTypePropertyImport         ShortAccountTypeProperty = "import"
	ShortAccountTypePropertyRevenue        ShortAccountTypeProperty = "revenue"
	ShortAccountTypePropertyCash           ShortAccountTypeProperty = "cash"
	ShortAccountTypePropertyLiability      ShortAccountTypeProperty = "liability"
	ShortAccountTypePropertyLiabilities    ShortAccountTypeProperty = "liabilities"
	ShortAccountTypePropertyInitialBalance ShortAccountTypeProperty = "initial-balance"
	ShortAccountTypePropertyReconciliation ShortAccountTypeProperty = "reconciliation"
)

func (ShortAccountTypeProperty) AllValues

AllValues returns all ShortAccountTypeProperty values.

func (*ShortAccountTypeProperty) Decode

func (s *ShortAccountTypeProperty) Decode(d *jx.Decoder) error

Decode decodes ShortAccountTypeProperty from json.

func (ShortAccountTypeProperty) Encode

func (s ShortAccountTypeProperty) Encode(e *jx.Encoder)

Encode encodes ShortAccountTypeProperty as json.

func (ShortAccountTypeProperty) MarshalJSON

func (s ShortAccountTypeProperty) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (ShortAccountTypeProperty) MarshalText

func (s ShortAccountTypeProperty) MarshalText() ([]byte, error)

MarshalText implements encoding.TextMarshaler.

func (*ShortAccountTypeProperty) UnmarshalJSON

func (s *ShortAccountTypeProperty) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*ShortAccountTypeProperty) UnmarshalText

func (s *ShortAccountTypeProperty) UnmarshalText(data []byte) error

UnmarshalText implements encoding.TextUnmarshaler.

func (ShortAccountTypeProperty) Validate

func (s ShortAccountTypeProperty) Validate() error

type StoreAccountParams

type StoreAccountParams struct {
	// Unique identifier associated with this request.
	XTraceID OptUUID
}

StoreAccountParams is parameters of storeAccount operation.

type StoreAccountRes

type StoreAccountRes interface {
	// contains filtered or unexported methods
}

type StoreAttachmentParams

type StoreAttachmentParams struct {
	// Unique identifier associated with this request.
	XTraceID OptUUID
}

StoreAttachmentParams is parameters of storeAttachment operation.

type StoreAttachmentRes

type StoreAttachmentRes interface {
	// contains filtered or unexported methods
}

type StoreBillParams

type StoreBillParams struct {
	// Unique identifier associated with this request.
	XTraceID OptUUID
}

StoreBillParams is parameters of storeBill operation.

type StoreBillRes

type StoreBillRes interface {
	// contains filtered or unexported methods
}

type StoreBudgetLimitParams

type StoreBudgetLimitParams struct {
	// Unique identifier associated with this request.
	XTraceID OptUUID
	// The ID of the budget.
	ID string
}

StoreBudgetLimitParams is parameters of storeBudgetLimit operation.

type StoreBudgetLimitRes

type StoreBudgetLimitRes interface {
	// contains filtered or unexported methods
}

type StoreBudgetParams

type StoreBudgetParams struct {
	// Unique identifier associated with this request.
	XTraceID OptUUID
}

StoreBudgetParams is parameters of storeBudget operation.

type StoreBudgetRes

type StoreBudgetRes interface {
	// contains filtered or unexported methods
}

type StoreCategoryParams

type StoreCategoryParams struct {
	// Unique identifier associated with this request.
	XTraceID OptUUID
}

StoreCategoryParams is parameters of storeCategory operation.

type StoreCategoryRes

type StoreCategoryRes interface {
	// contains filtered or unexported methods
}

type StoreCurrencyParams

type StoreCurrencyParams struct {
	// Unique identifier associated with this request.
	XTraceID OptUUID
}

StoreCurrencyParams is parameters of storeCurrency operation.

type StoreCurrencyRes

type StoreCurrencyRes interface {
	// contains filtered or unexported methods
}

type StoreLinkTypeParams

type StoreLinkTypeParams struct {
	// Unique identifier associated with this request.
	XTraceID OptUUID
}

StoreLinkTypeParams is parameters of storeLinkType operation.

type StoreLinkTypeRes

type StoreLinkTypeRes interface {
	// contains filtered or unexported methods
}

type StorePiggyBankParams

type StorePiggyBankParams struct {
	// Unique identifier associated with this request.
	XTraceID OptUUID
}

StorePiggyBankParams is parameters of storePiggyBank operation.

type StorePiggyBankRes

type StorePiggyBankRes interface {
	// contains filtered or unexported methods
}

type StorePreferenceParams

type StorePreferenceParams struct {
	// Unique identifier associated with this request.
	XTraceID OptUUID
}

StorePreferenceParams is parameters of storePreference operation.

type StorePreferenceRes

type StorePreferenceRes interface {
	// contains filtered or unexported methods
}

type StoreRecurrenceParams

type StoreRecurrenceParams struct {
	// Unique identifier associated with this request.
	XTraceID OptUUID
}

StoreRecurrenceParams is parameters of storeRecurrence operation.

type StoreRecurrenceRes

type StoreRecurrenceRes interface {
	// contains filtered or unexported methods
}

type StoreRuleGroupParams

type StoreRuleGroupParams struct {
	// Unique identifier associated with this request.
	XTraceID OptUUID
}

StoreRuleGroupParams is parameters of storeRuleGroup operation.

type StoreRuleGroupRes

type StoreRuleGroupRes interface {
	// contains filtered or unexported methods
}

type StoreRuleParams

type StoreRuleParams struct {
	// Unique identifier associated with this request.
	XTraceID OptUUID
}

StoreRuleParams is parameters of storeRule operation.

type StoreRuleRes

type StoreRuleRes interface {
	// contains filtered or unexported methods
}

type StoreTagParams

type StoreTagParams struct {
	// Unique identifier associated with this request.
	XTraceID OptUUID
}

StoreTagParams is parameters of storeTag operation.

type StoreTagRes

type StoreTagRes interface {
	// contains filtered or unexported methods
}

type StoreTransactionLinkParams

type StoreTransactionLinkParams struct {
	// Unique identifier associated with this request.
	XTraceID OptUUID
}

StoreTransactionLinkParams is parameters of storeTransactionLink operation.

type StoreTransactionLinkRes

type StoreTransactionLinkRes interface {
	// contains filtered or unexported methods
}

type StoreTransactionParams

type StoreTransactionParams struct {
	// Unique identifier associated with this request.
	XTraceID OptUUID
}

StoreTransactionParams is parameters of storeTransaction operation.

type StoreTransactionRes

type StoreTransactionRes interface {
	// contains filtered or unexported methods
}

type StoreUserParams

type StoreUserParams struct {
	// Unique identifier associated with this request.
	XTraceID OptUUID
}

StoreUserParams is parameters of storeUser operation.

type StoreUserRes

type StoreUserRes interface {
	// contains filtered or unexported methods
}

type StoreWebhookParams

type StoreWebhookParams struct {
	// Unique identifier associated with this request.
	XTraceID OptUUID
}

StoreWebhookParams is parameters of storeWebhook operation.

type StoreWebhookRes

type StoreWebhookRes interface {
	// contains filtered or unexported methods
}

type StringArrayItem

type StringArrayItem string

func (*StringArrayItem) Decode

func (s *StringArrayItem) Decode(d *jx.Decoder) error

Decode decodes StringArrayItem from json.

func (StringArrayItem) Encode

func (s StringArrayItem) Encode(e *jx.Encoder)

Encode encodes StringArrayItem as json.

func (StringArrayItem) MarshalJSON

func (s StringArrayItem) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*StringArrayItem) UnmarshalJSON

func (s *StringArrayItem) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type SubmitWebookInternalServerError

type SubmitWebookInternalServerError struct{}

SubmitWebookInternalServerError is response for SubmitWebook operation.

type SubmitWebookNoContent

type SubmitWebookNoContent struct{}

SubmitWebookNoContent is response for SubmitWebook operation.

type SubmitWebookNotFound

type SubmitWebookNotFound struct{}

SubmitWebookNotFound is response for SubmitWebook operation.

type SubmitWebookOK

type SubmitWebookOK struct{}

SubmitWebookOK is response for SubmitWebook operation.

type SubmitWebookParams

type SubmitWebookParams struct {
	// Unique identifier associated with this request.
	XTraceID OptUUID
	// The webhook ID.
	ID string
}

SubmitWebookParams is parameters of submitWebook operation.

type SubmitWebookRes

type SubmitWebookRes interface {
	// contains filtered or unexported methods
}

type SystemInfo

type SystemInfo struct {
	Data OptSystemInfoData `json:"data"`
}

Ref: #/components/schemas/SystemInfo

func (*SystemInfo) Decode

func (s *SystemInfo) Decode(d *jx.Decoder) error

Decode decodes SystemInfo from json.

func (*SystemInfo) Encode

func (s *SystemInfo) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*SystemInfo) GetData

func (s *SystemInfo) GetData() OptSystemInfoData

GetData returns the value of Data.

func (*SystemInfo) MarshalJSON

func (s *SystemInfo) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*SystemInfo) SetData

func (s *SystemInfo) SetData(val OptSystemInfoData)

SetData sets the value of Data.

func (*SystemInfo) UnmarshalJSON

func (s *SystemInfo) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type SystemInfoData

type SystemInfoData struct {
	Version    OptString `json:"version"`
	APIVersion OptString `json:"api_version"`
	PhpVersion OptString `json:"php_version"`
	Os         OptString `json:"os"`
	Driver     OptString `json:"driver"`
}

func (*SystemInfoData) Decode

func (s *SystemInfoData) Decode(d *jx.Decoder) error

Decode decodes SystemInfoData from json.

func (*SystemInfoData) Encode

func (s *SystemInfoData) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*SystemInfoData) GetAPIVersion

func (s *SystemInfoData) GetAPIVersion() OptString

GetAPIVersion returns the value of APIVersion.

func (*SystemInfoData) GetDriver

func (s *SystemInfoData) GetDriver() OptString

GetDriver returns the value of Driver.

func (*SystemInfoData) GetOs

func (s *SystemInfoData) GetOs() OptString

GetOs returns the value of Os.

func (*SystemInfoData) GetPhpVersion

func (s *SystemInfoData) GetPhpVersion() OptString

GetPhpVersion returns the value of PhpVersion.

func (*SystemInfoData) GetVersion

func (s *SystemInfoData) GetVersion() OptString

GetVersion returns the value of Version.

func (*SystemInfoData) MarshalJSON

func (s *SystemInfoData) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*SystemInfoData) SetAPIVersion

func (s *SystemInfoData) SetAPIVersion(val OptString)

SetAPIVersion sets the value of APIVersion.

func (*SystemInfoData) SetDriver

func (s *SystemInfoData) SetDriver(val OptString)

SetDriver sets the value of Driver.

func (*SystemInfoData) SetOs

func (s *SystemInfoData) SetOs(val OptString)

SetOs sets the value of Os.

func (*SystemInfoData) SetPhpVersion

func (s *SystemInfoData) SetPhpVersion(val OptString)

SetPhpVersion sets the value of PhpVersion.

func (*SystemInfoData) SetVersion

func (s *SystemInfoData) SetVersion(val OptString)

SetVersion sets the value of Version.

func (*SystemInfoData) UnmarshalJSON

func (s *SystemInfoData) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type TagArray

type TagArray struct {
	Data  []TagRead `json:"data"`
	Meta  Meta      `json:"meta"`
	Links PageLink  `json:"links"`
}

Ref: #/components/schemas/TagArray

func (*TagArray) Decode

func (s *TagArray) Decode(d *jx.Decoder) error

Decode decodes TagArray from json.

func (*TagArray) Encode

func (s *TagArray) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*TagArray) GetData

func (s *TagArray) GetData() []TagRead

GetData returns the value of Data.

func (s *TagArray) GetLinks() PageLink

GetLinks returns the value of Links.

func (*TagArray) GetMeta

func (s *TagArray) GetMeta() Meta

GetMeta returns the value of Meta.

func (*TagArray) MarshalJSON

func (s *TagArray) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*TagArray) SetData

func (s *TagArray) SetData(val []TagRead)

SetData sets the value of Data.

func (s *TagArray) SetLinks(val PageLink)

SetLinks sets the value of Links.

func (*TagArray) SetMeta

func (s *TagArray) SetMeta(val Meta)

SetMeta sets the value of Meta.

func (*TagArray) UnmarshalJSON

func (s *TagArray) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*TagArray) Validate

func (s *TagArray) Validate() error

type TagModel

type TagModel struct {
	CreatedAt OptDateTime `json:"created_at"`
	UpdatedAt OptDateTime `json:"updated_at"`
	// The tag.
	Tag string `json:"tag"`
	// The date to which the tag is applicable.
	Date        OptNilDate   `json:"date"`
	Description OptNilString `json:"description"`
	// Latitude of the tag's location, if applicable. Can be used to draw a map.
	Latitude OptNilFloat64 `json:"latitude"`
	// Latitude of the tag's location, if applicable. Can be used to draw a map.
	Longitude OptNilFloat64 `json:"longitude"`
	// Zoom level for the map, if drawn. This to set the box right. Unfortunately this is a proprietary
	// value because each map provider has different zoom levels.
	ZoomLevel OptNilInt32 `json:"zoom_level"`
}

Ref: #/components/schemas/TagModel

func (*TagModel) Decode

func (s *TagModel) Decode(d *jx.Decoder) error

Decode decodes TagModel from json.

func (*TagModel) Encode

func (s *TagModel) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*TagModel) GetCreatedAt

func (s *TagModel) GetCreatedAt() OptDateTime

GetCreatedAt returns the value of CreatedAt.

func (*TagModel) GetDate

func (s *TagModel) GetDate() OptNilDate

GetDate returns the value of Date.

func (*TagModel) GetDescription

func (s *TagModel) GetDescription() OptNilString

GetDescription returns the value of Description.

func (*TagModel) GetLatitude

func (s *TagModel) GetLatitude() OptNilFloat64

GetLatitude returns the value of Latitude.

func (*TagModel) GetLongitude

func (s *TagModel) GetLongitude() OptNilFloat64

GetLongitude returns the value of Longitude.

func (*TagModel) GetTag

func (s *TagModel) GetTag() string

GetTag returns the value of Tag.

func (*TagModel) GetUpdatedAt

func (s *TagModel) GetUpdatedAt() OptDateTime

GetUpdatedAt returns the value of UpdatedAt.

func (*TagModel) GetZoomLevel

func (s *TagModel) GetZoomLevel() OptNilInt32

GetZoomLevel returns the value of ZoomLevel.

func (*TagModel) MarshalJSON

func (s *TagModel) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*TagModel) SetCreatedAt

func (s *TagModel) SetCreatedAt(val OptDateTime)

SetCreatedAt sets the value of CreatedAt.

func (*TagModel) SetDate

func (s *TagModel) SetDate(val OptNilDate)

SetDate sets the value of Date.

func (*TagModel) SetDescription

func (s *TagModel) SetDescription(val OptNilString)

SetDescription sets the value of Description.

func (*TagModel) SetLatitude

func (s *TagModel) SetLatitude(val OptNilFloat64)

SetLatitude sets the value of Latitude.

func (*TagModel) SetLongitude

func (s *TagModel) SetLongitude(val OptNilFloat64)

SetLongitude sets the value of Longitude.

func (*TagModel) SetTag

func (s *TagModel) SetTag(val string)

SetTag sets the value of Tag.

func (*TagModel) SetUpdatedAt

func (s *TagModel) SetUpdatedAt(val OptDateTime)

SetUpdatedAt sets the value of UpdatedAt.

func (*TagModel) SetZoomLevel

func (s *TagModel) SetZoomLevel(val OptNilInt32)

SetZoomLevel sets the value of ZoomLevel.

func (*TagModel) UnmarshalJSON

func (s *TagModel) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*TagModel) Validate

func (s *TagModel) Validate() error

type TagModelStore

type TagModelStore struct {
	// The tag.
	Tag string `json:"tag"`
	// The date to which the tag is applicable.
	Date        OptNilDate   `json:"date"`
	Description OptNilString `json:"description"`
	// Latitude of the tag's location, if applicable. Can be used to draw a map.
	Latitude OptNilFloat64 `json:"latitude"`
	// Latitude of the tag's location, if applicable. Can be used to draw a map.
	Longitude OptNilFloat64 `json:"longitude"`
	// Zoom level for the map, if drawn. This to set the box right. Unfortunately this is a proprietary
	// value because each map provider has different zoom levels.
	ZoomLevel OptNilInt32 `json:"zoom_level"`
}

Ref: #/components/schemas/TagModelStore

func (*TagModelStore) Decode

func (s *TagModelStore) Decode(d *jx.Decoder) error

Decode decodes TagModelStore from json.

func (*TagModelStore) Encode

func (s *TagModelStore) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*TagModelStore) GetDate

func (s *TagModelStore) GetDate() OptNilDate

GetDate returns the value of Date.

func (*TagModelStore) GetDescription

func (s *TagModelStore) GetDescription() OptNilString

GetDescription returns the value of Description.

func (*TagModelStore) GetLatitude

func (s *TagModelStore) GetLatitude() OptNilFloat64

GetLatitude returns the value of Latitude.

func (*TagModelStore) GetLongitude

func (s *TagModelStore) GetLongitude() OptNilFloat64

GetLongitude returns the value of Longitude.

func (*TagModelStore) GetTag

func (s *TagModelStore) GetTag() string

GetTag returns the value of Tag.

func (*TagModelStore) GetZoomLevel

func (s *TagModelStore) GetZoomLevel() OptNilInt32

GetZoomLevel returns the value of ZoomLevel.

func (*TagModelStore) MarshalJSON

func (s *TagModelStore) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*TagModelStore) SetDate

func (s *TagModelStore) SetDate(val OptNilDate)

SetDate sets the value of Date.

func (*TagModelStore) SetDescription

func (s *TagModelStore) SetDescription(val OptNilString)

SetDescription sets the value of Description.

func (*TagModelStore) SetLatitude

func (s *TagModelStore) SetLatitude(val OptNilFloat64)

SetLatitude sets the value of Latitude.

func (*TagModelStore) SetLongitude

func (s *TagModelStore) SetLongitude(val OptNilFloat64)

SetLongitude sets the value of Longitude.

func (*TagModelStore) SetTag

func (s *TagModelStore) SetTag(val string)

SetTag sets the value of Tag.

func (*TagModelStore) SetZoomLevel

func (s *TagModelStore) SetZoomLevel(val OptNilInt32)

SetZoomLevel sets the value of ZoomLevel.

func (*TagModelStore) UnmarshalJSON

func (s *TagModelStore) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*TagModelStore) Validate

func (s *TagModelStore) Validate() error

type TagModelUpdate

type TagModelUpdate struct {
	// The tag.
	Tag OptString `json:"tag"`
	// The date to which the tag is applicable.
	Date        OptNilDate   `json:"date"`
	Description OptNilString `json:"description"`
	// Latitude of the tag's location, if applicable. Can be used to draw a map.
	Latitude OptNilFloat64 `json:"latitude"`
	// Latitude of the tag's location, if applicable. Can be used to draw a map.
	Longitude OptNilFloat64 `json:"longitude"`
	// Zoom level for the map, if drawn. This to set the box right. Unfortunately this is a proprietary
	// value because each map provider has different zoom levels.
	ZoomLevel OptNilInt32 `json:"zoom_level"`
}

Ref: #/components/schemas/TagModelUpdate

func (*TagModelUpdate) Decode

func (s *TagModelUpdate) Decode(d *jx.Decoder) error

Decode decodes TagModelUpdate from json.

func (*TagModelUpdate) Encode

func (s *TagModelUpdate) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*TagModelUpdate) GetDate

func (s *TagModelUpdate) GetDate() OptNilDate

GetDate returns the value of Date.

func (*TagModelUpdate) GetDescription

func (s *TagModelUpdate) GetDescription() OptNilString

GetDescription returns the value of Description.

func (*TagModelUpdate) GetLatitude

func (s *TagModelUpdate) GetLatitude() OptNilFloat64

GetLatitude returns the value of Latitude.

func (*TagModelUpdate) GetLongitude

func (s *TagModelUpdate) GetLongitude() OptNilFloat64

GetLongitude returns the value of Longitude.

func (*TagModelUpdate) GetTag

func (s *TagModelUpdate) GetTag() OptString

GetTag returns the value of Tag.

func (*TagModelUpdate) GetZoomLevel

func (s *TagModelUpdate) GetZoomLevel() OptNilInt32

GetZoomLevel returns the value of ZoomLevel.

func (*TagModelUpdate) MarshalJSON

func (s *TagModelUpdate) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*TagModelUpdate) SetDate

func (s *TagModelUpdate) SetDate(val OptNilDate)

SetDate sets the value of Date.

func (*TagModelUpdate) SetDescription

func (s *TagModelUpdate) SetDescription(val OptNilString)

SetDescription sets the value of Description.

func (*TagModelUpdate) SetLatitude

func (s *TagModelUpdate) SetLatitude(val OptNilFloat64)

SetLatitude sets the value of Latitude.

func (*TagModelUpdate) SetLongitude

func (s *TagModelUpdate) SetLongitude(val OptNilFloat64)

SetLongitude sets the value of Longitude.

func (*TagModelUpdate) SetTag

func (s *TagModelUpdate) SetTag(val OptString)

SetTag sets the value of Tag.

func (*TagModelUpdate) SetZoomLevel

func (s *TagModelUpdate) SetZoomLevel(val OptNilInt32)

SetZoomLevel sets the value of ZoomLevel.

func (*TagModelUpdate) UnmarshalJSON

func (s *TagModelUpdate) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*TagModelUpdate) Validate

func (s *TagModelUpdate) Validate() error

type TagRead

type TagRead struct {
	// Immutable value.
	Type       string     `json:"type"`
	ID         string     `json:"id"`
	Attributes TagModel   `json:"attributes"`
	Links      ObjectLink `json:"links"`
}

Ref: #/components/schemas/TagRead

func (*TagRead) Decode

func (s *TagRead) Decode(d *jx.Decoder) error

Decode decodes TagRead from json.

func (*TagRead) Encode

func (s *TagRead) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*TagRead) GetAttributes

func (s *TagRead) GetAttributes() TagModel

GetAttributes returns the value of Attributes.

func (*TagRead) GetID

func (s *TagRead) GetID() string

GetID returns the value of ID.

func (s *TagRead) GetLinks() ObjectLink

GetLinks returns the value of Links.

func (*TagRead) GetType

func (s *TagRead) GetType() string

GetType returns the value of Type.

func (*TagRead) MarshalJSON

func (s *TagRead) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*TagRead) SetAttributes

func (s *TagRead) SetAttributes(val TagModel)

SetAttributes sets the value of Attributes.

func (*TagRead) SetID

func (s *TagRead) SetID(val string)

SetID sets the value of ID.

func (s *TagRead) SetLinks(val ObjectLink)

SetLinks sets the value of Links.

func (*TagRead) SetType

func (s *TagRead) SetType(val string)

SetType sets the value of Type.

func (*TagRead) UnmarshalJSON

func (s *TagRead) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*TagRead) Validate

func (s *TagRead) Validate() error

type TagSingle

type TagSingle struct {
	Data TagRead `json:"data"`
}

Ref: #/components/schemas/TagSingle

func (*TagSingle) Decode

func (s *TagSingle) Decode(d *jx.Decoder) error

Decode decodes TagSingle from json.

func (*TagSingle) Encode

func (s *TagSingle) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*TagSingle) GetData

func (s *TagSingle) GetData() TagRead

GetData returns the value of Data.

func (*TagSingle) MarshalJSON

func (s *TagSingle) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*TagSingle) SetData

func (s *TagSingle) SetData(val TagRead)

SetData sets the value of Data.

func (*TagSingle) UnmarshalJSON

func (s *TagSingle) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*TagSingle) Validate

func (s *TagSingle) Validate() error

type TestRuleGroupParams

type TestRuleGroupParams struct {
	// Unique identifier associated with this request.
	XTraceID OptUUID
	// The ID of the rule group.
	ID string
	// Page number. The default pagination is 50 items.
	Page OptInt
	// A date formatted YYYY-MM-DD, to limit the transactions the test will be applied to. Both the start
	// date and the end date must be present.
	Start OptDate
	// A date formatted YYYY-MM-DD, to limit the transactions the test will be applied to. Both the start
	// date and the end date must be present.
	End OptDate
	// Maximum number of transactions Firefly III will try. Don't set this too high, or it will take
	// Firefly III very long to run the test. I suggest a max of 200.
	SearchLimit OptInt
	// Maximum number of transactions the rule group can actually trigger on, before Firefly III stops. I
	// would suggest setting this to 10 or 15. Don't go above the user's page size, because browsing to
	// page 2 or 3 of a test result would fire the test again, making any navigation efforts very slow.
	TriggeredLimit OptInt
	// Limit the testing of the rule group to these asset accounts or liabilities. Only asset accounts
	// and liabilities will be accepted. Other types will be silently dropped.
	Accounts []int64
}

TestRuleGroupParams is parameters of testRuleGroup operation.

type TestRuleGroupRes

type TestRuleGroupRes interface {
	// contains filtered or unexported methods
}

type TestRuleParams

type TestRuleParams struct {
	// Unique identifier associated with this request.
	XTraceID OptUUID
	// The ID of the rule.
	ID string
	// A date formatted YYYY-MM-DD, to limit the transactions the test will be applied to. Both the start
	// date and the end date must be present.
	Start OptDate
	// A date formatted YYYY-MM-DD, to limit the transactions the test will be applied to. Both the start
	// date and the end date must be present.
	End OptDate
	// Limit the testing of the rule to these asset accounts or liabilities. Only asset accounts and
	// liabilities will be accepted. Other types will be silently dropped.
	Accounts []int64
}

TestRuleParams is parameters of testRule operation.

type TestRuleRes

type TestRuleRes interface {
	// contains filtered or unexported methods
}

type Transaction

type Transaction struct {
	CreatedAt OptDateTime `json:"created_at"`
	UpdatedAt OptDateTime `json:"updated_at"`
	// User ID.
	User OptString `json:"user"`
	// Title of the transaction if it has been split in more than one piece. Empty otherwise.
	GroupTitle   OptNilString       `json:"group_title"`
	Transactions []TransactionSplit `json:"transactions"`
}

Ref: #/components/schemas/Transaction

func (*Transaction) Decode

func (s *Transaction) Decode(d *jx.Decoder) error

Decode decodes Transaction from json.

func (*Transaction) Encode

func (s *Transaction) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*Transaction) GetCreatedAt

func (s *Transaction) GetCreatedAt() OptDateTime

GetCreatedAt returns the value of CreatedAt.

func (*Transaction) GetGroupTitle

func (s *Transaction) GetGroupTitle() OptNilString

GetGroupTitle returns the value of GroupTitle.

func (*Transaction) GetTransactions

func (s *Transaction) GetTransactions() []TransactionSplit

GetTransactions returns the value of Transactions.

func (*Transaction) GetUpdatedAt

func (s *Transaction) GetUpdatedAt() OptDateTime

GetUpdatedAt returns the value of UpdatedAt.

func (*Transaction) GetUser

func (s *Transaction) GetUser() OptString

GetUser returns the value of User.

func (*Transaction) MarshalJSON

func (s *Transaction) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*Transaction) SetCreatedAt

func (s *Transaction) SetCreatedAt(val OptDateTime)

SetCreatedAt sets the value of CreatedAt.

func (*Transaction) SetGroupTitle

func (s *Transaction) SetGroupTitle(val OptNilString)

SetGroupTitle sets the value of GroupTitle.

func (*Transaction) SetTransactions

func (s *Transaction) SetTransactions(val []TransactionSplit)

SetTransactions sets the value of Transactions.

func (*Transaction) SetUpdatedAt

func (s *Transaction) SetUpdatedAt(val OptDateTime)

SetUpdatedAt sets the value of UpdatedAt.

func (*Transaction) SetUser

func (s *Transaction) SetUser(val OptString)

SetUser sets the value of User.

func (*Transaction) UnmarshalJSON

func (s *Transaction) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*Transaction) Validate

func (s *Transaction) Validate() error

type TransactionArray

type TransactionArray struct {
	Data  []TransactionRead `json:"data"`
	Meta  Meta              `json:"meta"`
	Links PageLink          `json:"links"`
}

Ref: #/components/schemas/TransactionArray

func (*TransactionArray) Decode

func (s *TransactionArray) Decode(d *jx.Decoder) error

Decode decodes TransactionArray from json.

func (*TransactionArray) Encode

func (s *TransactionArray) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*TransactionArray) GetData

func (s *TransactionArray) GetData() []TransactionRead

GetData returns the value of Data.

func (s *TransactionArray) GetLinks() PageLink

GetLinks returns the value of Links.

func (*TransactionArray) GetMeta

func (s *TransactionArray) GetMeta() Meta

GetMeta returns the value of Meta.

func (*TransactionArray) MarshalJSON

func (s *TransactionArray) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*TransactionArray) SetData

func (s *TransactionArray) SetData(val []TransactionRead)

SetData sets the value of Data.

func (s *TransactionArray) SetLinks(val PageLink)

SetLinks sets the value of Links.

func (*TransactionArray) SetMeta

func (s *TransactionArray) SetMeta(val Meta)

SetMeta sets the value of Meta.

func (*TransactionArray) UnmarshalJSON

func (s *TransactionArray) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*TransactionArray) Validate

func (s *TransactionArray) Validate() error
type TransactionLink struct {
	CreatedAt OptDateTime `json:"created_at"`
	UpdatedAt OptDateTime `json:"updated_at"`
	// The link type ID to use. You can also use the link_type_name field.
	LinkTypeID string `json:"link_type_id"`
	// The link type name to use. You can also use the link_type_id field.
	LinkTypeName OptString `json:"link_type_name"`
	// The inward transaction transaction_journal_id for the link. This becomes the 'is paid by'
	// transaction of the set.
	InwardID string `json:"inward_id"`
	// The outward transaction transaction_journal_id for the link. This becomes the 'pays for'
	// transaction of the set.
	OutwardID string `json:"outward_id"`
	// Optional. Some notes.
	Notes OptNilString `json:"notes"`
}

Ref: #/components/schemas/TransactionLink

func (*TransactionLink) Decode

func (s *TransactionLink) Decode(d *jx.Decoder) error

Decode decodes TransactionLink from json.

func (*TransactionLink) Encode

func (s *TransactionLink) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*TransactionLink) GetCreatedAt

func (s *TransactionLink) GetCreatedAt() OptDateTime

GetCreatedAt returns the value of CreatedAt.

func (*TransactionLink) GetInwardID

func (s *TransactionLink) GetInwardID() string

GetInwardID returns the value of InwardID.

func (*TransactionLink) GetLinkTypeID

func (s *TransactionLink) GetLinkTypeID() string

GetLinkTypeID returns the value of LinkTypeID.

func (*TransactionLink) GetLinkTypeName

func (s *TransactionLink) GetLinkTypeName() OptString

GetLinkTypeName returns the value of LinkTypeName.

func (*TransactionLink) GetNotes

func (s *TransactionLink) GetNotes() OptNilString

GetNotes returns the value of Notes.

func (*TransactionLink) GetOutwardID

func (s *TransactionLink) GetOutwardID() string

GetOutwardID returns the value of OutwardID.

func (*TransactionLink) GetUpdatedAt

func (s *TransactionLink) GetUpdatedAt() OptDateTime

GetUpdatedAt returns the value of UpdatedAt.

func (*TransactionLink) MarshalJSON

func (s *TransactionLink) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*TransactionLink) SetCreatedAt

func (s *TransactionLink) SetCreatedAt(val OptDateTime)

SetCreatedAt sets the value of CreatedAt.

func (*TransactionLink) SetInwardID

func (s *TransactionLink) SetInwardID(val string)

SetInwardID sets the value of InwardID.

func (*TransactionLink) SetLinkTypeID

func (s *TransactionLink) SetLinkTypeID(val string)

SetLinkTypeID sets the value of LinkTypeID.

func (*TransactionLink) SetLinkTypeName

func (s *TransactionLink) SetLinkTypeName(val OptString)

SetLinkTypeName sets the value of LinkTypeName.

func (*TransactionLink) SetNotes

func (s *TransactionLink) SetNotes(val OptNilString)

SetNotes sets the value of Notes.

func (*TransactionLink) SetOutwardID

func (s *TransactionLink) SetOutwardID(val string)

SetOutwardID sets the value of OutwardID.

func (*TransactionLink) SetUpdatedAt

func (s *TransactionLink) SetUpdatedAt(val OptDateTime)

SetUpdatedAt sets the value of UpdatedAt.

func (*TransactionLink) UnmarshalJSON

func (s *TransactionLink) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type TransactionLinkArray

type TransactionLinkArray struct {
	Data  []TransactionLinkRead `json:"data"`
	Meta  Meta                  `json:"meta"`
	Links PageLink              `json:"links"`
}

Ref: #/components/schemas/TransactionLinkArray

func (*TransactionLinkArray) Decode

func (s *TransactionLinkArray) Decode(d *jx.Decoder) error

Decode decodes TransactionLinkArray from json.

func (*TransactionLinkArray) Encode

func (s *TransactionLinkArray) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*TransactionLinkArray) GetData

GetData returns the value of Data.

func (s *TransactionLinkArray) GetLinks() PageLink

GetLinks returns the value of Links.

func (*TransactionLinkArray) GetMeta

func (s *TransactionLinkArray) GetMeta() Meta

GetMeta returns the value of Meta.

func (*TransactionLinkArray) MarshalJSON

func (s *TransactionLinkArray) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*TransactionLinkArray) SetData

func (s *TransactionLinkArray) SetData(val []TransactionLinkRead)

SetData sets the value of Data.

func (s *TransactionLinkArray) SetLinks(val PageLink)

SetLinks sets the value of Links.

func (*TransactionLinkArray) SetMeta

func (s *TransactionLinkArray) SetMeta(val Meta)

SetMeta sets the value of Meta.

func (*TransactionLinkArray) UnmarshalJSON

func (s *TransactionLinkArray) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*TransactionLinkArray) Validate

func (s *TransactionLinkArray) Validate() error

type TransactionLinkRead

type TransactionLinkRead struct {
	// Immutable value.
	Type       string          `json:"type"`
	ID         string          `json:"id"`
	Attributes TransactionLink `json:"attributes"`
	Links      ObjectLink      `json:"links"`
}

Ref: #/components/schemas/TransactionLinkRead

func (*TransactionLinkRead) Decode

func (s *TransactionLinkRead) Decode(d *jx.Decoder) error

Decode decodes TransactionLinkRead from json.

func (*TransactionLinkRead) Encode

func (s *TransactionLinkRead) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*TransactionLinkRead) GetAttributes

func (s *TransactionLinkRead) GetAttributes() TransactionLink

GetAttributes returns the value of Attributes.

func (*TransactionLinkRead) GetID

func (s *TransactionLinkRead) GetID() string

GetID returns the value of ID.

func (s *TransactionLinkRead) GetLinks() ObjectLink

GetLinks returns the value of Links.

func (*TransactionLinkRead) GetType

func (s *TransactionLinkRead) GetType() string

GetType returns the value of Type.

func (*TransactionLinkRead) MarshalJSON

func (s *TransactionLinkRead) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*TransactionLinkRead) SetAttributes

func (s *TransactionLinkRead) SetAttributes(val TransactionLink)

SetAttributes sets the value of Attributes.

func (*TransactionLinkRead) SetID

func (s *TransactionLinkRead) SetID(val string)

SetID sets the value of ID.

func (s *TransactionLinkRead) SetLinks(val ObjectLink)

SetLinks sets the value of Links.

func (*TransactionLinkRead) SetType

func (s *TransactionLinkRead) SetType(val string)

SetType sets the value of Type.

func (*TransactionLinkRead) UnmarshalJSON

func (s *TransactionLinkRead) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type TransactionLinkSingle

type TransactionLinkSingle struct {
	Data TransactionLinkRead `json:"data"`
}

Ref: #/components/schemas/TransactionLinkSingle

func (*TransactionLinkSingle) Decode

func (s *TransactionLinkSingle) Decode(d *jx.Decoder) error

Decode decodes TransactionLinkSingle from json.

func (*TransactionLinkSingle) Encode

func (s *TransactionLinkSingle) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*TransactionLinkSingle) GetData

GetData returns the value of Data.

func (*TransactionLinkSingle) MarshalJSON

func (s *TransactionLinkSingle) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*TransactionLinkSingle) SetData

SetData sets the value of Data.

func (*TransactionLinkSingle) UnmarshalJSON

func (s *TransactionLinkSingle) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type TransactionLinkStore

type TransactionLinkStore struct {
	// The link type ID to use. You can also use the link_type_name field.
	LinkTypeID string `json:"link_type_id"`
	// The link type name to use. You can also use the link_type_id field.
	LinkTypeName OptString `json:"link_type_name"`
	// The inward transaction transaction_journal_id for the link. This becomes the 'is paid by'
	// transaction of the set.
	InwardID string `json:"inward_id"`
	// The outward transaction transaction_journal_id for the link. This becomes the 'pays for'
	// transaction of the set.
	OutwardID string `json:"outward_id"`
	// Optional. Some notes.
	Notes OptNilString `json:"notes"`
}

Ref: #/components/schemas/TransactionLinkStore

func (*TransactionLinkStore) Decode

func (s *TransactionLinkStore) Decode(d *jx.Decoder) error

Decode decodes TransactionLinkStore from json.

func (*TransactionLinkStore) Encode

func (s *TransactionLinkStore) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*TransactionLinkStore) GetInwardID

func (s *TransactionLinkStore) GetInwardID() string

GetInwardID returns the value of InwardID.

func (*TransactionLinkStore) GetLinkTypeID

func (s *TransactionLinkStore) GetLinkTypeID() string

GetLinkTypeID returns the value of LinkTypeID.

func (*TransactionLinkStore) GetLinkTypeName

func (s *TransactionLinkStore) GetLinkTypeName() OptString

GetLinkTypeName returns the value of LinkTypeName.

func (*TransactionLinkStore) GetNotes

func (s *TransactionLinkStore) GetNotes() OptNilString

GetNotes returns the value of Notes.

func (*TransactionLinkStore) GetOutwardID

func (s *TransactionLinkStore) GetOutwardID() string

GetOutwardID returns the value of OutwardID.

func (*TransactionLinkStore) MarshalJSON

func (s *TransactionLinkStore) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*TransactionLinkStore) SetInwardID

func (s *TransactionLinkStore) SetInwardID(val string)

SetInwardID sets the value of InwardID.

func (*TransactionLinkStore) SetLinkTypeID

func (s *TransactionLinkStore) SetLinkTypeID(val string)

SetLinkTypeID sets the value of LinkTypeID.

func (*TransactionLinkStore) SetLinkTypeName

func (s *TransactionLinkStore) SetLinkTypeName(val OptString)

SetLinkTypeName sets the value of LinkTypeName.

func (*TransactionLinkStore) SetNotes

func (s *TransactionLinkStore) SetNotes(val OptNilString)

SetNotes sets the value of Notes.

func (*TransactionLinkStore) SetOutwardID

func (s *TransactionLinkStore) SetOutwardID(val string)

SetOutwardID sets the value of OutwardID.

func (*TransactionLinkStore) UnmarshalJSON

func (s *TransactionLinkStore) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type TransactionLinkUpdate

type TransactionLinkUpdate struct {
	// The link type ID to use. Use this field OR use the link_type_name field.
	LinkTypeID OptString `json:"link_type_id"`
	// The link type name to use. Use this field OR use the link_type_id field.
	LinkTypeName OptString `json:"link_type_name"`
	// The inward transaction transaction_journal_id for the link. This becomes the 'is paid by'
	// transaction of the set.
	InwardID OptString `json:"inward_id"`
	// The outward transaction transaction_journal_id for the link. This becomes the 'pays for'
	// transaction of the set.
	OutwardID OptString `json:"outward_id"`
	// Optional. Some notes. If you submit an empty string the current notes will be removed.
	Notes OptNilString `json:"notes"`
}

Ref: #/components/schemas/TransactionLinkUpdate

func (*TransactionLinkUpdate) Decode

func (s *TransactionLinkUpdate) Decode(d *jx.Decoder) error

Decode decodes TransactionLinkUpdate from json.

func (*TransactionLinkUpdate) Encode

func (s *TransactionLinkUpdate) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*TransactionLinkUpdate) GetInwardID

func (s *TransactionLinkUpdate) GetInwardID() OptString

GetInwardID returns the value of InwardID.

func (*TransactionLinkUpdate) GetLinkTypeID

func (s *TransactionLinkUpdate) GetLinkTypeID() OptString

GetLinkTypeID returns the value of LinkTypeID.

func (*TransactionLinkUpdate) GetLinkTypeName

func (s *TransactionLinkUpdate) GetLinkTypeName() OptString

GetLinkTypeName returns the value of LinkTypeName.

func (*TransactionLinkUpdate) GetNotes

func (s *TransactionLinkUpdate) GetNotes() OptNilString

GetNotes returns the value of Notes.

func (*TransactionLinkUpdate) GetOutwardID

func (s *TransactionLinkUpdate) GetOutwardID() OptString

GetOutwardID returns the value of OutwardID.

func (*TransactionLinkUpdate) MarshalJSON

func (s *TransactionLinkUpdate) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*TransactionLinkUpdate) SetInwardID

func (s *TransactionLinkUpdate) SetInwardID(val OptString)

SetInwardID sets the value of InwardID.

func (*TransactionLinkUpdate) SetLinkTypeID

func (s *TransactionLinkUpdate) SetLinkTypeID(val OptString)

SetLinkTypeID sets the value of LinkTypeID.

func (*TransactionLinkUpdate) SetLinkTypeName

func (s *TransactionLinkUpdate) SetLinkTypeName(val OptString)

SetLinkTypeName sets the value of LinkTypeName.

func (*TransactionLinkUpdate) SetNotes

func (s *TransactionLinkUpdate) SetNotes(val OptNilString)

SetNotes sets the value of Notes.

func (*TransactionLinkUpdate) SetOutwardID

func (s *TransactionLinkUpdate) SetOutwardID(val OptString)

SetOutwardID sets the value of OutwardID.

func (*TransactionLinkUpdate) UnmarshalJSON

func (s *TransactionLinkUpdate) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type TransactionRead

type TransactionRead struct {
	// Immutable value.
	Type       string      `json:"type"`
	ID         string      `json:"id"`
	Attributes Transaction `json:"attributes"`
	Links      ObjectLink  `json:"links"`
}

Ref: #/components/schemas/TransactionRead

func (*TransactionRead) Decode

func (s *TransactionRead) Decode(d *jx.Decoder) error

Decode decodes TransactionRead from json.

func (*TransactionRead) Encode

func (s *TransactionRead) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*TransactionRead) GetAttributes

func (s *TransactionRead) GetAttributes() Transaction

GetAttributes returns the value of Attributes.

func (*TransactionRead) GetID

func (s *TransactionRead) GetID() string

GetID returns the value of ID.

func (s *TransactionRead) GetLinks() ObjectLink

GetLinks returns the value of Links.

func (*TransactionRead) GetType

func (s *TransactionRead) GetType() string

GetType returns the value of Type.

func (*TransactionRead) MarshalJSON

func (s *TransactionRead) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*TransactionRead) SetAttributes

func (s *TransactionRead) SetAttributes(val Transaction)

SetAttributes sets the value of Attributes.

func (*TransactionRead) SetID

func (s *TransactionRead) SetID(val string)

SetID sets the value of ID.

func (s *TransactionRead) SetLinks(val ObjectLink)

SetLinks sets the value of Links.

func (*TransactionRead) SetType

func (s *TransactionRead) SetType(val string)

SetType sets the value of Type.

func (*TransactionRead) UnmarshalJSON

func (s *TransactionRead) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*TransactionRead) Validate

func (s *TransactionRead) Validate() error

type TransactionSingle

type TransactionSingle struct {
	Data TransactionRead `json:"data"`
}

Ref: #/components/schemas/TransactionSingle

func (*TransactionSingle) Decode

func (s *TransactionSingle) Decode(d *jx.Decoder) error

Decode decodes TransactionSingle from json.

func (*TransactionSingle) Encode

func (s *TransactionSingle) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*TransactionSingle) GetData

func (s *TransactionSingle) GetData() TransactionRead

GetData returns the value of Data.

func (*TransactionSingle) MarshalJSON

func (s *TransactionSingle) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*TransactionSingle) SetData

func (s *TransactionSingle) SetData(val TransactionRead)

SetData sets the value of Data.

func (*TransactionSingle) UnmarshalJSON

func (s *TransactionSingle) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*TransactionSingle) Validate

func (s *TransactionSingle) Validate() error

type TransactionSplit

type TransactionSplit struct {
	// User ID.
	User OptString `json:"user"`
	// ID of the underlying transaction journal. Each transaction consists of a transaction group (see
	// the top ID) and one or more journals
	// making up the splits of the transaction.
	TransactionJournalID OptString               `json:"transaction_journal_id"`
	Type                 TransactionTypeProperty `json:"type"`
	// Date of the transaction.
	Date time.Time `json:"date"`
	// Order of this entry in the list of transactions.
	Order OptNilInt32 `json:"order"`
	// Currency ID. Default is the source account's currency, or the user's default currency. Can be used
	// instead of currency_code.
	CurrencyID OptNilString `json:"currency_id"`
	// Currency code. Default is the source account's currency, or the user's default currency. Can be
	// used instead of currency_id.
	CurrencyCode   OptNilString `json:"currency_code"`
	CurrencySymbol OptString    `json:"currency_symbol"`
	CurrencyName   OptString    `json:"currency_name"`
	// Number of decimals used in this currency.
	CurrencyDecimalPlaces OptInt32 `json:"currency_decimal_places"`
	// Currency ID of the foreign currency. Default is null. Is required when you submit a foreign amount.
	ForeignCurrencyID OptNilString `json:"foreign_currency_id"`
	// Currency code of the foreign currency. Default is NULL. Can be used instead of the
	// foreign_currency_id, but this or the ID is required when submitting a foreign amount.
	ForeignCurrencyCode   OptNilString `json:"foreign_currency_code"`
	ForeignCurrencySymbol OptNilString `json:"foreign_currency_symbol"`
	// Number of decimals in the currency.
	ForeignCurrencyDecimalPlaces OptNilInt32 `json:"foreign_currency_decimal_places"`
	// Amount of the transaction.
	Amount string `json:"amount"`
	// The amount in a foreign currency.
	ForeignAmount OptNilString `json:"foreign_amount"`
	// Description of the transaction.
	Description string `json:"description"`
	// ID of the source account. For a withdrawal or a transfer, this must always be an asset account.
	// For deposits, this must be a revenue account.
	SourceID NilString `json:"source_id"`
	// Name of the source account. For a withdrawal or a transfer, this must always be an asset account.
	// For deposits, this must be a revenue account. Can be used instead of the source_id. If the
	// transaction is a deposit, the source_name can be filled in freely: the account will be created
	// based on the name.
	SourceName OptNilString           `json:"source_name"`
	SourceIban OptNilString           `json:"source_iban"`
	SourceType OptAccountTypeProperty `json:"source_type"`
	// ID of the destination account. For a deposit or a transfer, this must always be an asset account.
	// For withdrawals this must be an expense account.
	DestinationID NilString `json:"destination_id"`
	// Name of the destination account. You can submit the name instead of the ID. For everything except
	// transfers, the account will be auto-generated if unknown, so submitting a name is enough.
	DestinationName OptNilString           `json:"destination_name"`
	DestinationIban OptNilString           `json:"destination_iban"`
	DestinationType OptAccountTypeProperty `json:"destination_type"`
	// The budget ID for this transaction.
	BudgetID OptNilString `json:"budget_id"`
	// The name of the budget to be used. If the budget name is unknown, the ID will be used or the value
	// will be ignored.
	BudgetName OptNilString `json:"budget_name"`
	// The category ID for this transaction.
	CategoryID OptNilString `json:"category_id"`
	// The name of the category to be used. If the category is unknown, it will be created. If the ID and
	// the name point to different categories, the ID overrules the name.
	CategoryName OptNilString `json:"category_name"`
	// Optional. Use either this or the bill_name.
	BillID OptNilString `json:"bill_id"`
	// Optional. Use either this or the bill_id.
	BillName OptNilString `json:"bill_name"`
	// If the transaction has been reconciled already. When you set this, the amount can no longer be
	// edited by the user.
	Reconciled OptBool      `json:"reconciled"`
	Notes      OptNilString `json:"notes"`
	// Array of tags.
	Tags OptNilStringArray `json:"tags"`
	// Reference to internal reference of other systems.
	InternalReference OptNilString `json:"internal_reference"`
	// Reference to external ID in other systems.
	ExternalID OptNilString `json:"external_id"`
	// External, custom URL for this transaction.
	ExternalURL OptNilString `json:"external_url"`
	// System generated identifier for original creator of transaction.
	OriginalSource OptNilString `json:"original_source"`
	// Reference to recurrence that made the transaction.
	RecurrenceID OptNilInt32 `json:"recurrence_id"`
	// Total number of transactions expected to be created by this recurrence repetition. Will be 0 if
	// infinite.
	RecurrenceTotal OptNilInt32 `json:"recurrence_total"`
	// The # of the current transaction created under this recurrence.
	RecurrenceCount OptNilInt32 `json:"recurrence_count"`
	// Internal ID of bunq transaction. DEPRECATED.
	BunqPaymentID OptNilString `json:"bunq_payment_id"`
	// Hash value of original import transaction (for duplicate detection).
	ImportHashV2 OptNilString `json:"import_hash_v2"`
	// SEPA Clearing Code.
	SepaCc OptNilString `json:"sepa_cc"`
	// SEPA Opposing Account Identifier.
	SepaCtOp OptNilString `json:"sepa_ct_op"`
	// SEPA end-to-end Identifier.
	SepaCtID OptNilString `json:"sepa_ct_id"`
	// SEPA mandate identifier.
	SepaDb OptNilString `json:"sepa_db"`
	// SEPA Country.
	SepaCountry OptNilString `json:"sepa_country"`
	// SEPA External Purpose indicator.
	SepaEp OptNilString `json:"sepa_ep"`
	// SEPA Creditor Identifier.
	SepaCi OptNilString `json:"sepa_ci"`
	// SEPA Batch ID.
	SepaBatchID  OptNilString   `json:"sepa_batch_id"`
	InterestDate OptNilDateTime `json:"interest_date"`
	BookDate     OptNilDateTime `json:"book_date"`
	ProcessDate  OptNilDateTime `json:"process_date"`
	DueDate      OptNilDateTime `json:"due_date"`
	PaymentDate  OptNilDateTime `json:"payment_date"`
	InvoiceDate  OptNilDateTime `json:"invoice_date"`
	// Latitude of the transaction's location, if applicable. Can be used to draw a map.
	Latitude OptNilFloat64 `json:"latitude"`
	// Latitude of the transaction's location, if applicable. Can be used to draw a map.
	Longitude OptNilFloat64 `json:"longitude"`
	// Zoom level for the map, if drawn. This to set the box right. Unfortunately this is a proprietary
	// value because each map provider has different zoom levels.
	ZoomLevel OptNilInt32 `json:"zoom_level"`
	// If the transaction has attachments.
	HasAttachments OptBool `json:"has_attachments"`
}

Ref: #/components/schemas/TransactionSplit

func (*TransactionSplit) Decode

func (s *TransactionSplit) Decode(d *jx.Decoder) error

Decode decodes TransactionSplit from json.

func (*TransactionSplit) Encode

func (s *TransactionSplit) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*TransactionSplit) GetAmount

func (s *TransactionSplit) GetAmount() string

GetAmount returns the value of Amount.

func (*TransactionSplit) GetBillID

func (s *TransactionSplit) GetBillID() OptNilString

GetBillID returns the value of BillID.

func (*TransactionSplit) GetBillName

func (s *TransactionSplit) GetBillName() OptNilString

GetBillName returns the value of BillName.

func (*TransactionSplit) GetBookDate

func (s *TransactionSplit) GetBookDate() OptNilDateTime

GetBookDate returns the value of BookDate.

func (*TransactionSplit) GetBudgetID

func (s *TransactionSplit) GetBudgetID() OptNilString

GetBudgetID returns the value of BudgetID.

func (*TransactionSplit) GetBudgetName

func (s *TransactionSplit) GetBudgetName() OptNilString

GetBudgetName returns the value of BudgetName.

func (*TransactionSplit) GetBunqPaymentID

func (s *TransactionSplit) GetBunqPaymentID() OptNilString

GetBunqPaymentID returns the value of BunqPaymentID.

func (*TransactionSplit) GetCategoryID

func (s *TransactionSplit) GetCategoryID() OptNilString

GetCategoryID returns the value of CategoryID.

func (*TransactionSplit) GetCategoryName

func (s *TransactionSplit) GetCategoryName() OptNilString

GetCategoryName returns the value of CategoryName.

func (*TransactionSplit) GetCurrencyCode

func (s *TransactionSplit) GetCurrencyCode() OptNilString

GetCurrencyCode returns the value of CurrencyCode.

func (*TransactionSplit) GetCurrencyDecimalPlaces

func (s *TransactionSplit) GetCurrencyDecimalPlaces() OptInt32

GetCurrencyDecimalPlaces returns the value of CurrencyDecimalPlaces.

func (*TransactionSplit) GetCurrencyID

func (s *TransactionSplit) GetCurrencyID() OptNilString

GetCurrencyID returns the value of CurrencyID.

func (*TransactionSplit) GetCurrencyName

func (s *TransactionSplit) GetCurrencyName() OptString

GetCurrencyName returns the value of CurrencyName.

func (*TransactionSplit) GetCurrencySymbol

func (s *TransactionSplit) GetCurrencySymbol() OptString

GetCurrencySymbol returns the value of CurrencySymbol.

func (*TransactionSplit) GetDate

func (s *TransactionSplit) GetDate() time.Time

GetDate returns the value of Date.

func (*TransactionSplit) GetDescription

func (s *TransactionSplit) GetDescription() string

GetDescription returns the value of Description.

func (*TransactionSplit) GetDestinationID

func (s *TransactionSplit) GetDestinationID() NilString

GetDestinationID returns the value of DestinationID.

func (*TransactionSplit) GetDestinationIban

func (s *TransactionSplit) GetDestinationIban() OptNilString

GetDestinationIban returns the value of DestinationIban.

func (*TransactionSplit) GetDestinationName

func (s *TransactionSplit) GetDestinationName() OptNilString

GetDestinationName returns the value of DestinationName.

func (*TransactionSplit) GetDestinationType

func (s *TransactionSplit) GetDestinationType() OptAccountTypeProperty

GetDestinationType returns the value of DestinationType.

func (*TransactionSplit) GetDueDate

func (s *TransactionSplit) GetDueDate() OptNilDateTime

GetDueDate returns the value of DueDate.

func (*TransactionSplit) GetExternalID

func (s *TransactionSplit) GetExternalID() OptNilString

GetExternalID returns the value of ExternalID.

func (*TransactionSplit) GetExternalURL

func (s *TransactionSplit) GetExternalURL() OptNilString

GetExternalURL returns the value of ExternalURL.

func (*TransactionSplit) GetForeignAmount

func (s *TransactionSplit) GetForeignAmount() OptNilString

GetForeignAmount returns the value of ForeignAmount.

func (*TransactionSplit) GetForeignCurrencyCode

func (s *TransactionSplit) GetForeignCurrencyCode() OptNilString

GetForeignCurrencyCode returns the value of ForeignCurrencyCode.

func (*TransactionSplit) GetForeignCurrencyDecimalPlaces

func (s *TransactionSplit) GetForeignCurrencyDecimalPlaces() OptNilInt32

GetForeignCurrencyDecimalPlaces returns the value of ForeignCurrencyDecimalPlaces.

func (*TransactionSplit) GetForeignCurrencyID

func (s *TransactionSplit) GetForeignCurrencyID() OptNilString

GetForeignCurrencyID returns the value of ForeignCurrencyID.

func (*TransactionSplit) GetForeignCurrencySymbol

func (s *TransactionSplit) GetForeignCurrencySymbol() OptNilString

GetForeignCurrencySymbol returns the value of ForeignCurrencySymbol.

func (*TransactionSplit) GetHasAttachments

func (s *TransactionSplit) GetHasAttachments() OptBool

GetHasAttachments returns the value of HasAttachments.

func (*TransactionSplit) GetImportHashV2

func (s *TransactionSplit) GetImportHashV2() OptNilString

GetImportHashV2 returns the value of ImportHashV2.

func (*TransactionSplit) GetInterestDate

func (s *TransactionSplit) GetInterestDate() OptNilDateTime

GetInterestDate returns the value of InterestDate.

func (*TransactionSplit) GetInternalReference

func (s *TransactionSplit) GetInternalReference() OptNilString

GetInternalReference returns the value of InternalReference.

func (*TransactionSplit) GetInvoiceDate

func (s *TransactionSplit) GetInvoiceDate() OptNilDateTime

GetInvoiceDate returns the value of InvoiceDate.

func (*TransactionSplit) GetLatitude

func (s *TransactionSplit) GetLatitude() OptNilFloat64

GetLatitude returns the value of Latitude.

func (*TransactionSplit) GetLongitude

func (s *TransactionSplit) GetLongitude() OptNilFloat64

GetLongitude returns the value of Longitude.

func (*TransactionSplit) GetNotes

func (s *TransactionSplit) GetNotes() OptNilString

GetNotes returns the value of Notes.

func (*TransactionSplit) GetOrder

func (s *TransactionSplit) GetOrder() OptNilInt32

GetOrder returns the value of Order.

func (*TransactionSplit) GetOriginalSource

func (s *TransactionSplit) GetOriginalSource() OptNilString

GetOriginalSource returns the value of OriginalSource.

func (*TransactionSplit) GetPaymentDate

func (s *TransactionSplit) GetPaymentDate() OptNilDateTime

GetPaymentDate returns the value of PaymentDate.

func (*TransactionSplit) GetProcessDate

func (s *TransactionSplit) GetProcessDate() OptNilDateTime

GetProcessDate returns the value of ProcessDate.

func (*TransactionSplit) GetReconciled

func (s *TransactionSplit) GetReconciled() OptBool

GetReconciled returns the value of Reconciled.

func (*TransactionSplit) GetRecurrenceCount

func (s *TransactionSplit) GetRecurrenceCount() OptNilInt32

GetRecurrenceCount returns the value of RecurrenceCount.

func (*TransactionSplit) GetRecurrenceID

func (s *TransactionSplit) GetRecurrenceID() OptNilInt32

GetRecurrenceID returns the value of RecurrenceID.

func (*TransactionSplit) GetRecurrenceTotal

func (s *TransactionSplit) GetRecurrenceTotal() OptNilInt32

GetRecurrenceTotal returns the value of RecurrenceTotal.

func (*TransactionSplit) GetSepaBatchID

func (s *TransactionSplit) GetSepaBatchID() OptNilString

GetSepaBatchID returns the value of SepaBatchID.

func (*TransactionSplit) GetSepaCc

func (s *TransactionSplit) GetSepaCc() OptNilString

GetSepaCc returns the value of SepaCc.

func (*TransactionSplit) GetSepaCi

func (s *TransactionSplit) GetSepaCi() OptNilString

GetSepaCi returns the value of SepaCi.

func (*TransactionSplit) GetSepaCountry

func (s *TransactionSplit) GetSepaCountry() OptNilString

GetSepaCountry returns the value of SepaCountry.

func (*TransactionSplit) GetSepaCtID

func (s *TransactionSplit) GetSepaCtID() OptNilString

GetSepaCtID returns the value of SepaCtID.

func (*TransactionSplit) GetSepaCtOp

func (s *TransactionSplit) GetSepaCtOp() OptNilString

GetSepaCtOp returns the value of SepaCtOp.

func (*TransactionSplit) GetSepaDb

func (s *TransactionSplit) GetSepaDb() OptNilString

GetSepaDb returns the value of SepaDb.

func (*TransactionSplit) GetSepaEp

func (s *TransactionSplit) GetSepaEp() OptNilString

GetSepaEp returns the value of SepaEp.

func (*TransactionSplit) GetSourceID

func (s *TransactionSplit) GetSourceID() NilString

GetSourceID returns the value of SourceID.

func (*TransactionSplit) GetSourceIban

func (s *TransactionSplit) GetSourceIban() OptNilString

GetSourceIban returns the value of SourceIban.

func (*TransactionSplit) GetSourceName

func (s *TransactionSplit) GetSourceName() OptNilString

GetSourceName returns the value of SourceName.

func (*TransactionSplit) GetSourceType

func (s *TransactionSplit) GetSourceType() OptAccountTypeProperty

GetSourceType returns the value of SourceType.

func (*TransactionSplit) GetTags

func (s *TransactionSplit) GetTags() OptNilStringArray

GetTags returns the value of Tags.

func (*TransactionSplit) GetTransactionJournalID

func (s *TransactionSplit) GetTransactionJournalID() OptString

GetTransactionJournalID returns the value of TransactionJournalID.

func (*TransactionSplit) GetType

GetType returns the value of Type.

func (*TransactionSplit) GetUser

func (s *TransactionSplit) GetUser() OptString

GetUser returns the value of User.

func (*TransactionSplit) GetZoomLevel

func (s *TransactionSplit) GetZoomLevel() OptNilInt32

GetZoomLevel returns the value of ZoomLevel.

func (*TransactionSplit) MarshalJSON

func (s *TransactionSplit) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*TransactionSplit) SetAmount

func (s *TransactionSplit) SetAmount(val string)

SetAmount sets the value of Amount.

func (*TransactionSplit) SetBillID

func (s *TransactionSplit) SetBillID(val OptNilString)

SetBillID sets the value of BillID.

func (*TransactionSplit) SetBillName

func (s *TransactionSplit) SetBillName(val OptNilString)

SetBillName sets the value of BillName.

func (*TransactionSplit) SetBookDate

func (s *TransactionSplit) SetBookDate(val OptNilDateTime)

SetBookDate sets the value of BookDate.

func (*TransactionSplit) SetBudgetID

func (s *TransactionSplit) SetBudgetID(val OptNilString)

SetBudgetID sets the value of BudgetID.

func (*TransactionSplit) SetBudgetName

func (s *TransactionSplit) SetBudgetName(val OptNilString)

SetBudgetName sets the value of BudgetName.

func (*TransactionSplit) SetBunqPaymentID

func (s *TransactionSplit) SetBunqPaymentID(val OptNilString)

SetBunqPaymentID sets the value of BunqPaymentID.

func (*TransactionSplit) SetCategoryID

func (s *TransactionSplit) SetCategoryID(val OptNilString)

SetCategoryID sets the value of CategoryID.

func (*TransactionSplit) SetCategoryName

func (s *TransactionSplit) SetCategoryName(val OptNilString)

SetCategoryName sets the value of CategoryName.

func (*TransactionSplit) SetCurrencyCode

func (s *TransactionSplit) SetCurrencyCode(val OptNilString)

SetCurrencyCode sets the value of CurrencyCode.

func (*TransactionSplit) SetCurrencyDecimalPlaces

func (s *TransactionSplit) SetCurrencyDecimalPlaces(val OptInt32)

SetCurrencyDecimalPlaces sets the value of CurrencyDecimalPlaces.

func (*TransactionSplit) SetCurrencyID

func (s *TransactionSplit) SetCurrencyID(val OptNilString)

SetCurrencyID sets the value of CurrencyID.

func (*TransactionSplit) SetCurrencyName

func (s *TransactionSplit) SetCurrencyName(val OptString)

SetCurrencyName sets the value of CurrencyName.

func (*TransactionSplit) SetCurrencySymbol

func (s *TransactionSplit) SetCurrencySymbol(val OptString)

SetCurrencySymbol sets the value of CurrencySymbol.

func (*TransactionSplit) SetDate

func (s *TransactionSplit) SetDate(val time.Time)

SetDate sets the value of Date.

func (*TransactionSplit) SetDescription

func (s *TransactionSplit) SetDescription(val string)

SetDescription sets the value of Description.

func (*TransactionSplit) SetDestinationID

func (s *TransactionSplit) SetDestinationID(val NilString)

SetDestinationID sets the value of DestinationID.

func (*TransactionSplit) SetDestinationIban

func (s *TransactionSplit) SetDestinationIban(val OptNilString)

SetDestinationIban sets the value of DestinationIban.

func (*TransactionSplit) SetDestinationName

func (s *TransactionSplit) SetDestinationName(val OptNilString)

SetDestinationName sets the value of DestinationName.

func (*TransactionSplit) SetDestinationType

func (s *TransactionSplit) SetDestinationType(val OptAccountTypeProperty)

SetDestinationType sets the value of DestinationType.

func (*TransactionSplit) SetDueDate

func (s *TransactionSplit) SetDueDate(val OptNilDateTime)

SetDueDate sets the value of DueDate.

func (*TransactionSplit) SetExternalID

func (s *TransactionSplit) SetExternalID(val OptNilString)

SetExternalID sets the value of ExternalID.

func (*TransactionSplit) SetExternalURL

func (s *TransactionSplit) SetExternalURL(val OptNilString)

SetExternalURL sets the value of ExternalURL.

func (*TransactionSplit) SetForeignAmount

func (s *TransactionSplit) SetForeignAmount(val OptNilString)

SetForeignAmount sets the value of ForeignAmount.

func (*TransactionSplit) SetForeignCurrencyCode

func (s *TransactionSplit) SetForeignCurrencyCode(val OptNilString)

SetForeignCurrencyCode sets the value of ForeignCurrencyCode.

func (*TransactionSplit) SetForeignCurrencyDecimalPlaces

func (s *TransactionSplit) SetForeignCurrencyDecimalPlaces(val OptNilInt32)

SetForeignCurrencyDecimalPlaces sets the value of ForeignCurrencyDecimalPlaces.

func (*TransactionSplit) SetForeignCurrencyID

func (s *TransactionSplit) SetForeignCurrencyID(val OptNilString)

SetForeignCurrencyID sets the value of ForeignCurrencyID.

func (*TransactionSplit) SetForeignCurrencySymbol

func (s *TransactionSplit) SetForeignCurrencySymbol(val OptNilString)

SetForeignCurrencySymbol sets the value of ForeignCurrencySymbol.

func (*TransactionSplit) SetHasAttachments

func (s *TransactionSplit) SetHasAttachments(val OptBool)

SetHasAttachments sets the value of HasAttachments.

func (*TransactionSplit) SetImportHashV2

func (s *TransactionSplit) SetImportHashV2(val OptNilString)

SetImportHashV2 sets the value of ImportHashV2.

func (*TransactionSplit) SetInterestDate

func (s *TransactionSplit) SetInterestDate(val OptNilDateTime)

SetInterestDate sets the value of InterestDate.

func (*TransactionSplit) SetInternalReference

func (s *TransactionSplit) SetInternalReference(val OptNilString)

SetInternalReference sets the value of InternalReference.

func (*TransactionSplit) SetInvoiceDate

func (s *TransactionSplit) SetInvoiceDate(val OptNilDateTime)

SetInvoiceDate sets the value of InvoiceDate.

func (*TransactionSplit) SetLatitude

func (s *TransactionSplit) SetLatitude(val OptNilFloat64)

SetLatitude sets the value of Latitude.

func (*TransactionSplit) SetLongitude

func (s *TransactionSplit) SetLongitude(val OptNilFloat64)

SetLongitude sets the value of Longitude.

func (*TransactionSplit) SetNotes

func (s *TransactionSplit) SetNotes(val OptNilString)

SetNotes sets the value of Notes.

func (*TransactionSplit) SetOrder

func (s *TransactionSplit) SetOrder(val OptNilInt32)

SetOrder sets the value of Order.

func (*TransactionSplit) SetOriginalSource

func (s *TransactionSplit) SetOriginalSource(val OptNilString)

SetOriginalSource sets the value of OriginalSource.

func (*TransactionSplit) SetPaymentDate

func (s *TransactionSplit) SetPaymentDate(val OptNilDateTime)

SetPaymentDate sets the value of PaymentDate.

func (*TransactionSplit) SetProcessDate

func (s *TransactionSplit) SetProcessDate(val OptNilDateTime)

SetProcessDate sets the value of ProcessDate.

func (*TransactionSplit) SetReconciled

func (s *TransactionSplit) SetReconciled(val OptBool)

SetReconciled sets the value of Reconciled.

func (*TransactionSplit) SetRecurrenceCount

func (s *TransactionSplit) SetRecurrenceCount(val OptNilInt32)

SetRecurrenceCount sets the value of RecurrenceCount.

func (*TransactionSplit) SetRecurrenceID

func (s *TransactionSplit) SetRecurrenceID(val OptNilInt32)

SetRecurrenceID sets the value of RecurrenceID.

func (*TransactionSplit) SetRecurrenceTotal

func (s *TransactionSplit) SetRecurrenceTotal(val OptNilInt32)

SetRecurrenceTotal sets the value of RecurrenceTotal.

func (*TransactionSplit) SetSepaBatchID

func (s *TransactionSplit) SetSepaBatchID(val OptNilString)

SetSepaBatchID sets the value of SepaBatchID.

func (*TransactionSplit) SetSepaCc

func (s *TransactionSplit) SetSepaCc(val OptNilString)

SetSepaCc sets the value of SepaCc.

func (*TransactionSplit) SetSepaCi

func (s *TransactionSplit) SetSepaCi(val OptNilString)

SetSepaCi sets the value of SepaCi.

func (*TransactionSplit) SetSepaCountry

func (s *TransactionSplit) SetSepaCountry(val OptNilString)

SetSepaCountry sets the value of SepaCountry.

func (*TransactionSplit) SetSepaCtID

func (s *TransactionSplit) SetSepaCtID(val OptNilString)

SetSepaCtID sets the value of SepaCtID.

func (*TransactionSplit) SetSepaCtOp

func (s *TransactionSplit) SetSepaCtOp(val OptNilString)

SetSepaCtOp sets the value of SepaCtOp.

func (*TransactionSplit) SetSepaDb

func (s *TransactionSplit) SetSepaDb(val OptNilString)

SetSepaDb sets the value of SepaDb.

func (*TransactionSplit) SetSepaEp

func (s *TransactionSplit) SetSepaEp(val OptNilString)

SetSepaEp sets the value of SepaEp.

func (*TransactionSplit) SetSourceID

func (s *TransactionSplit) SetSourceID(val NilString)

SetSourceID sets the value of SourceID.

func (*TransactionSplit) SetSourceIban

func (s *TransactionSplit) SetSourceIban(val OptNilString)

SetSourceIban sets the value of SourceIban.

func (*TransactionSplit) SetSourceName

func (s *TransactionSplit) SetSourceName(val OptNilString)

SetSourceName sets the value of SourceName.

func (*TransactionSplit) SetSourceType

func (s *TransactionSplit) SetSourceType(val OptAccountTypeProperty)

SetSourceType sets the value of SourceType.

func (*TransactionSplit) SetTags

func (s *TransactionSplit) SetTags(val OptNilStringArray)

SetTags sets the value of Tags.

func (*TransactionSplit) SetTransactionJournalID

func (s *TransactionSplit) SetTransactionJournalID(val OptString)

SetTransactionJournalID sets the value of TransactionJournalID.

func (*TransactionSplit) SetType

func (s *TransactionSplit) SetType(val TransactionTypeProperty)

SetType sets the value of Type.

func (*TransactionSplit) SetUser

func (s *TransactionSplit) SetUser(val OptString)

SetUser sets the value of User.

func (*TransactionSplit) SetZoomLevel

func (s *TransactionSplit) SetZoomLevel(val OptNilInt32)

SetZoomLevel sets the value of ZoomLevel.

func (*TransactionSplit) UnmarshalJSON

func (s *TransactionSplit) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*TransactionSplit) Validate

func (s *TransactionSplit) Validate() error

type TransactionSplitStore

type TransactionSplitStore struct {
	Type TransactionTypeProperty `json:"type"`
	// Date of the transaction.
	Date time.Time `json:"date"`
	// Amount of the transaction.
	Amount string `json:"amount"`
	// Description of the transaction.
	Description string `json:"description"`
	// Order of this entry in the list of transactions.
	Order OptNilInt32 `json:"order"`
	// Currency ID. Default is the source account's currency, or the user's default currency. The value
	// you submit may be overruled by the source or destination account.
	CurrencyID OptNilString `json:"currency_id"`
	// Currency code. Default is the source account's currency, or the user's default currency. The value
	// you submit may be overruled by the source or destination account.
	CurrencyCode OptNilString `json:"currency_code"`
	// The amount in a foreign currency.
	ForeignAmount OptNilString `json:"foreign_amount"`
	// Currency ID of the foreign currency. Default is null. Is required when you submit a foreign amount.
	ForeignCurrencyID OptNilString `json:"foreign_currency_id"`
	// Currency code of the foreign currency. Default is NULL. Can be used instead of the
	// foreign_currency_id, but this or the ID is required when submitting a foreign amount.
	ForeignCurrencyCode OptNilString `json:"foreign_currency_code"`
	// The budget ID for this transaction.
	BudgetID OptNilString `json:"budget_id"`
	// The name of the budget to be used. If the budget name is unknown, the ID will be used or the value
	// will be ignored.
	BudgetName OptNilString `json:"budget_name"`
	// The category ID for this transaction.
	CategoryID OptNilString `json:"category_id"`
	// The name of the category to be used. If the category is unknown, it will be created. If the ID and
	// the name point to different categories, the ID overrules the name.
	CategoryName OptNilString `json:"category_name"`
	// ID of the source account. For a withdrawal or a transfer, this must always be an asset account.
	// For deposits, this must be a revenue account.
	SourceID OptNilString `json:"source_id"`
	// Name of the source account. For a withdrawal or a transfer, this must always be an asset account.
	// For deposits, this must be a revenue account. Can be used instead of the source_id. If the
	// transaction is a deposit, the source_name can be filled in freely: the account will be created
	// based on the name.
	SourceName OptNilString `json:"source_name"`
	// ID of the destination account. For a deposit or a transfer, this must always be an asset account.
	// For withdrawals this must be an expense account.
	DestinationID OptNilString `json:"destination_id"`
	// Name of the destination account. You can submit the name instead of the ID. For everything except
	// transfers, the account will be auto-generated if unknown, so submitting a name is enough.
	DestinationName OptNilString `json:"destination_name"`
	// If the transaction has been reconciled already. When you set this, the amount can no longer be
	// edited by the user.
	Reconciled OptBool `json:"reconciled"`
	// Optional. Use either this or the piggy_bank_name.
	PiggyBankID OptInt32 `json:"piggy_bank_id"`
	// Optional. Use either this or the piggy_bank_id.
	PiggyBankName OptString `json:"piggy_bank_name"`
	// Optional. Use either this or the bill_name.
	BillID OptNilString `json:"bill_id"`
	// Optional. Use either this or the bill_id.
	BillName OptNilString `json:"bill_name"`
	// Array of tags.
	Tags  OptNilStringArray `json:"tags"`
	Notes OptNilString      `json:"notes"`
	// Reference to internal reference of other systems.
	InternalReference OptNilString `json:"internal_reference"`
	// Reference to external ID in other systems.
	ExternalID OptNilString `json:"external_id"`
	// External, custom URL for this transaction.
	ExternalURL OptNilString `json:"external_url"`
	// Internal ID of bunq transaction. Field is no longer used but still works.
	BunqPaymentID OptNilString `json:"bunq_payment_id"`
	// SEPA Clearing Code.
	SepaCc OptNilString `json:"sepa_cc"`
	// SEPA Opposing Account Identifier.
	SepaCtOp OptNilString `json:"sepa_ct_op"`
	// SEPA end-to-end Identifier.
	SepaCtID OptNilString `json:"sepa_ct_id"`
	// SEPA mandate identifier.
	SepaDb OptNilString `json:"sepa_db"`
	// SEPA Country.
	SepaCountry OptNilString `json:"sepa_country"`
	// SEPA External Purpose indicator.
	SepaEp OptNilString `json:"sepa_ep"`
	// SEPA Creditor Identifier.
	SepaCi OptNilString `json:"sepa_ci"`
	// SEPA Batch ID.
	SepaBatchID  OptNilString   `json:"sepa_batch_id"`
	InterestDate OptNilDateTime `json:"interest_date"`
	BookDate     OptNilDateTime `json:"book_date"`
	ProcessDate  OptNilDateTime `json:"process_date"`
	DueDate      OptNilDateTime `json:"due_date"`
	PaymentDate  OptNilDateTime `json:"payment_date"`
	InvoiceDate  OptNilDateTime `json:"invoice_date"`
}

Ref: #/components/schemas/TransactionSplitStore

func (*TransactionSplitStore) Decode

func (s *TransactionSplitStore) Decode(d *jx.Decoder) error

Decode decodes TransactionSplitStore from json.

func (*TransactionSplitStore) Encode

func (s *TransactionSplitStore) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*TransactionSplitStore) GetAmount

func (s *TransactionSplitStore) GetAmount() string

GetAmount returns the value of Amount.

func (*TransactionSplitStore) GetBillID

func (s *TransactionSplitStore) GetBillID() OptNilString

GetBillID returns the value of BillID.

func (*TransactionSplitStore) GetBillName

func (s *TransactionSplitStore) GetBillName() OptNilString

GetBillName returns the value of BillName.

func (*TransactionSplitStore) GetBookDate

func (s *TransactionSplitStore) GetBookDate() OptNilDateTime

GetBookDate returns the value of BookDate.

func (*TransactionSplitStore) GetBudgetID

func (s *TransactionSplitStore) GetBudgetID() OptNilString

GetBudgetID returns the value of BudgetID.

func (*TransactionSplitStore) GetBudgetName

func (s *TransactionSplitStore) GetBudgetName() OptNilString

GetBudgetName returns the value of BudgetName.

func (*TransactionSplitStore) GetBunqPaymentID

func (s *TransactionSplitStore) GetBunqPaymentID() OptNilString

GetBunqPaymentID returns the value of BunqPaymentID.

func (*TransactionSplitStore) GetCategoryID

func (s *TransactionSplitStore) GetCategoryID() OptNilString

GetCategoryID returns the value of CategoryID.

func (*TransactionSplitStore) GetCategoryName

func (s *TransactionSplitStore) GetCategoryName() OptNilString

GetCategoryName returns the value of CategoryName.

func (*TransactionSplitStore) GetCurrencyCode

func (s *TransactionSplitStore) GetCurrencyCode() OptNilString

GetCurrencyCode returns the value of CurrencyCode.

func (*TransactionSplitStore) GetCurrencyID

func (s *TransactionSplitStore) GetCurrencyID() OptNilString

GetCurrencyID returns the value of CurrencyID.

func (*TransactionSplitStore) GetDate

func (s *TransactionSplitStore) GetDate() time.Time

GetDate returns the value of Date.

func (*TransactionSplitStore) GetDescription

func (s *TransactionSplitStore) GetDescription() string

GetDescription returns the value of Description.

func (*TransactionSplitStore) GetDestinationID

func (s *TransactionSplitStore) GetDestinationID() OptNilString

GetDestinationID returns the value of DestinationID.

func (*TransactionSplitStore) GetDestinationName

func (s *TransactionSplitStore) GetDestinationName() OptNilString

GetDestinationName returns the value of DestinationName.

func (*TransactionSplitStore) GetDueDate

func (s *TransactionSplitStore) GetDueDate() OptNilDateTime

GetDueDate returns the value of DueDate.

func (*TransactionSplitStore) GetExternalID

func (s *TransactionSplitStore) GetExternalID() OptNilString

GetExternalID returns the value of ExternalID.

func (*TransactionSplitStore) GetExternalURL

func (s *TransactionSplitStore) GetExternalURL() OptNilString

GetExternalURL returns the value of ExternalURL.

func (*TransactionSplitStore) GetForeignAmount

func (s *TransactionSplitStore) GetForeignAmount() OptNilString

GetForeignAmount returns the value of ForeignAmount.

func (*TransactionSplitStore) GetForeignCurrencyCode

func (s *TransactionSplitStore) GetForeignCurrencyCode() OptNilString

GetForeignCurrencyCode returns the value of ForeignCurrencyCode.

func (*TransactionSplitStore) GetForeignCurrencyID

func (s *TransactionSplitStore) GetForeignCurrencyID() OptNilString

GetForeignCurrencyID returns the value of ForeignCurrencyID.

func (*TransactionSplitStore) GetInterestDate

func (s *TransactionSplitStore) GetInterestDate() OptNilDateTime

GetInterestDate returns the value of InterestDate.

func (*TransactionSplitStore) GetInternalReference

func (s *TransactionSplitStore) GetInternalReference() OptNilString

GetInternalReference returns the value of InternalReference.

func (*TransactionSplitStore) GetInvoiceDate

func (s *TransactionSplitStore) GetInvoiceDate() OptNilDateTime

GetInvoiceDate returns the value of InvoiceDate.

func (*TransactionSplitStore) GetNotes

func (s *TransactionSplitStore) GetNotes() OptNilString

GetNotes returns the value of Notes.

func (*TransactionSplitStore) GetOrder

func (s *TransactionSplitStore) GetOrder() OptNilInt32

GetOrder returns the value of Order.

func (*TransactionSplitStore) GetPaymentDate

func (s *TransactionSplitStore) GetPaymentDate() OptNilDateTime

GetPaymentDate returns the value of PaymentDate.

func (*TransactionSplitStore) GetPiggyBankID

func (s *TransactionSplitStore) GetPiggyBankID() OptInt32

GetPiggyBankID returns the value of PiggyBankID.

func (*TransactionSplitStore) GetPiggyBankName

func (s *TransactionSplitStore) GetPiggyBankName() OptString

GetPiggyBankName returns the value of PiggyBankName.

func (*TransactionSplitStore) GetProcessDate

func (s *TransactionSplitStore) GetProcessDate() OptNilDateTime

GetProcessDate returns the value of ProcessDate.

func (*TransactionSplitStore) GetReconciled

func (s *TransactionSplitStore) GetReconciled() OptBool

GetReconciled returns the value of Reconciled.

func (*TransactionSplitStore) GetSepaBatchID

func (s *TransactionSplitStore) GetSepaBatchID() OptNilString

GetSepaBatchID returns the value of SepaBatchID.

func (*TransactionSplitStore) GetSepaCc

func (s *TransactionSplitStore) GetSepaCc() OptNilString

GetSepaCc returns the value of SepaCc.

func (*TransactionSplitStore) GetSepaCi

func (s *TransactionSplitStore) GetSepaCi() OptNilString

GetSepaCi returns the value of SepaCi.

func (*TransactionSplitStore) GetSepaCountry

func (s *TransactionSplitStore) GetSepaCountry() OptNilString

GetSepaCountry returns the value of SepaCountry.

func (*TransactionSplitStore) GetSepaCtID

func (s *TransactionSplitStore) GetSepaCtID() OptNilString

GetSepaCtID returns the value of SepaCtID.

func (*TransactionSplitStore) GetSepaCtOp

func (s *TransactionSplitStore) GetSepaCtOp() OptNilString

GetSepaCtOp returns the value of SepaCtOp.

func (*TransactionSplitStore) GetSepaDb

func (s *TransactionSplitStore) GetSepaDb() OptNilString

GetSepaDb returns the value of SepaDb.

func (*TransactionSplitStore) GetSepaEp

func (s *TransactionSplitStore) GetSepaEp() OptNilString

GetSepaEp returns the value of SepaEp.

func (*TransactionSplitStore) GetSourceID

func (s *TransactionSplitStore) GetSourceID() OptNilString

GetSourceID returns the value of SourceID.

func (*TransactionSplitStore) GetSourceName

func (s *TransactionSplitStore) GetSourceName() OptNilString

GetSourceName returns the value of SourceName.

func (*TransactionSplitStore) GetTags

GetTags returns the value of Tags.

func (*TransactionSplitStore) GetType

GetType returns the value of Type.

func (*TransactionSplitStore) MarshalJSON

func (s *TransactionSplitStore) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*TransactionSplitStore) SetAmount

func (s *TransactionSplitStore) SetAmount(val string)

SetAmount sets the value of Amount.

func (*TransactionSplitStore) SetBillID

func (s *TransactionSplitStore) SetBillID(val OptNilString)

SetBillID sets the value of BillID.

func (*TransactionSplitStore) SetBillName

func (s *TransactionSplitStore) SetBillName(val OptNilString)

SetBillName sets the value of BillName.

func (*TransactionSplitStore) SetBookDate

func (s *TransactionSplitStore) SetBookDate(val OptNilDateTime)

SetBookDate sets the value of BookDate.

func (*TransactionSplitStore) SetBudgetID

func (s *TransactionSplitStore) SetBudgetID(val OptNilString)

SetBudgetID sets the value of BudgetID.

func (*TransactionSplitStore) SetBudgetName

func (s *TransactionSplitStore) SetBudgetName(val OptNilString)

SetBudgetName sets the value of BudgetName.

func (*TransactionSplitStore) SetBunqPaymentID

func (s *TransactionSplitStore) SetBunqPaymentID(val OptNilString)

SetBunqPaymentID sets the value of BunqPaymentID.

func (*TransactionSplitStore) SetCategoryID

func (s *TransactionSplitStore) SetCategoryID(val OptNilString)

SetCategoryID sets the value of CategoryID.

func (*TransactionSplitStore) SetCategoryName

func (s *TransactionSplitStore) SetCategoryName(val OptNilString)

SetCategoryName sets the value of CategoryName.

func (*TransactionSplitStore) SetCurrencyCode

func (s *TransactionSplitStore) SetCurrencyCode(val OptNilString)

SetCurrencyCode sets the value of CurrencyCode.

func (*TransactionSplitStore) SetCurrencyID

func (s *TransactionSplitStore) SetCurrencyID(val OptNilString)

SetCurrencyID sets the value of CurrencyID.

func (*TransactionSplitStore) SetDate

func (s *TransactionSplitStore) SetDate(val time.Time)

SetDate sets the value of Date.

func (*TransactionSplitStore) SetDescription

func (s *TransactionSplitStore) SetDescription(val string)

SetDescription sets the value of Description.

func (*TransactionSplitStore) SetDestinationID

func (s *TransactionSplitStore) SetDestinationID(val OptNilString)

SetDestinationID sets the value of DestinationID.

func (*TransactionSplitStore) SetDestinationName

func (s *TransactionSplitStore) SetDestinationName(val OptNilString)

SetDestinationName sets the value of DestinationName.

func (*TransactionSplitStore) SetDueDate

func (s *TransactionSplitStore) SetDueDate(val OptNilDateTime)

SetDueDate sets the value of DueDate.

func (*TransactionSplitStore) SetExternalID

func (s *TransactionSplitStore) SetExternalID(val OptNilString)

SetExternalID sets the value of ExternalID.

func (*TransactionSplitStore) SetExternalURL

func (s *TransactionSplitStore) SetExternalURL(val OptNilString)

SetExternalURL sets the value of ExternalURL.

func (*TransactionSplitStore) SetForeignAmount

func (s *TransactionSplitStore) SetForeignAmount(val OptNilString)

SetForeignAmount sets the value of ForeignAmount.

func (*TransactionSplitStore) SetForeignCurrencyCode

func (s *TransactionSplitStore) SetForeignCurrencyCode(val OptNilString)

SetForeignCurrencyCode sets the value of ForeignCurrencyCode.

func (*TransactionSplitStore) SetForeignCurrencyID

func (s *TransactionSplitStore) SetForeignCurrencyID(val OptNilString)

SetForeignCurrencyID sets the value of ForeignCurrencyID.

func (*TransactionSplitStore) SetInterestDate

func (s *TransactionSplitStore) SetInterestDate(val OptNilDateTime)

SetInterestDate sets the value of InterestDate.

func (*TransactionSplitStore) SetInternalReference

func (s *TransactionSplitStore) SetInternalReference(val OptNilString)

SetInternalReference sets the value of InternalReference.

func (*TransactionSplitStore) SetInvoiceDate

func (s *TransactionSplitStore) SetInvoiceDate(val OptNilDateTime)

SetInvoiceDate sets the value of InvoiceDate.

func (*TransactionSplitStore) SetNotes

func (s *TransactionSplitStore) SetNotes(val OptNilString)

SetNotes sets the value of Notes.

func (*TransactionSplitStore) SetOrder

func (s *TransactionSplitStore) SetOrder(val OptNilInt32)

SetOrder sets the value of Order.

func (*TransactionSplitStore) SetPaymentDate

func (s *TransactionSplitStore) SetPaymentDate(val OptNilDateTime)

SetPaymentDate sets the value of PaymentDate.

func (*TransactionSplitStore) SetPiggyBankID

func (s *TransactionSplitStore) SetPiggyBankID(val OptInt32)

SetPiggyBankID sets the value of PiggyBankID.

func (*TransactionSplitStore) SetPiggyBankName

func (s *TransactionSplitStore) SetPiggyBankName(val OptString)

SetPiggyBankName sets the value of PiggyBankName.

func (*TransactionSplitStore) SetProcessDate

func (s *TransactionSplitStore) SetProcessDate(val OptNilDateTime)

SetProcessDate sets the value of ProcessDate.

func (*TransactionSplitStore) SetReconciled

func (s *TransactionSplitStore) SetReconciled(val OptBool)

SetReconciled sets the value of Reconciled.

func (*TransactionSplitStore) SetSepaBatchID

func (s *TransactionSplitStore) SetSepaBatchID(val OptNilString)

SetSepaBatchID sets the value of SepaBatchID.

func (*TransactionSplitStore) SetSepaCc

func (s *TransactionSplitStore) SetSepaCc(val OptNilString)

SetSepaCc sets the value of SepaCc.

func (*TransactionSplitStore) SetSepaCi

func (s *TransactionSplitStore) SetSepaCi(val OptNilString)

SetSepaCi sets the value of SepaCi.

func (*TransactionSplitStore) SetSepaCountry

func (s *TransactionSplitStore) SetSepaCountry(val OptNilString)

SetSepaCountry sets the value of SepaCountry.

func (*TransactionSplitStore) SetSepaCtID

func (s *TransactionSplitStore) SetSepaCtID(val OptNilString)

SetSepaCtID sets the value of SepaCtID.

func (*TransactionSplitStore) SetSepaCtOp

func (s *TransactionSplitStore) SetSepaCtOp(val OptNilString)

SetSepaCtOp sets the value of SepaCtOp.

func (*TransactionSplitStore) SetSepaDb

func (s *TransactionSplitStore) SetSepaDb(val OptNilString)

SetSepaDb sets the value of SepaDb.

func (*TransactionSplitStore) SetSepaEp

func (s *TransactionSplitStore) SetSepaEp(val OptNilString)

SetSepaEp sets the value of SepaEp.

func (*TransactionSplitStore) SetSourceID

func (s *TransactionSplitStore) SetSourceID(val OptNilString)

SetSourceID sets the value of SourceID.

func (*TransactionSplitStore) SetSourceName

func (s *TransactionSplitStore) SetSourceName(val OptNilString)

SetSourceName sets the value of SourceName.

func (*TransactionSplitStore) SetTags

func (s *TransactionSplitStore) SetTags(val OptNilStringArray)

SetTags sets the value of Tags.

func (*TransactionSplitStore) SetType

SetType sets the value of Type.

func (*TransactionSplitStore) UnmarshalJSON

func (s *TransactionSplitStore) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*TransactionSplitStore) Validate

func (s *TransactionSplitStore) Validate() error

type TransactionSplitUpdate

type TransactionSplitUpdate struct {
	// Transaction journal ID of current transaction (split).
	TransactionJournalID OptString                  `json:"transaction_journal_id"`
	Type                 OptTransactionTypeProperty `json:"type"`
	// Date of the transaction.
	Date OptDateTime `json:"date"`
	// Amount of the transaction.
	Amount OptString `json:"amount"`
	// Description of the transaction.
	Description OptString `json:"description"`
	// Order of this entry in the list of transactions.
	Order OptNilInt32 `json:"order"`
	// Currency ID. Default is the source account's currency, or the user's default currency. Can be used
	// instead of currency_code.
	CurrencyID OptNilString `json:"currency_id"`
	// Currency code. Default is the source account's currency, or the user's default currency. Can be
	// used instead of currency_id.
	CurrencyCode   OptNilString `json:"currency_code"`
	CurrencySymbol OptString    `json:"currency_symbol"`
	CurrencyName   OptString    `json:"currency_name"`
	// Number of decimals used in this currency.
	CurrencyDecimalPlaces OptInt32 `json:"currency_decimal_places"`
	// The amount in a foreign currency.
	ForeignAmount OptNilString `json:"foreign_amount"`
	// Currency ID of the foreign currency. Default is null. Is required when you submit a foreign amount.
	ForeignCurrencyID OptNilString `json:"foreign_currency_id"`
	// Currency code of the foreign currency. Default is NULL. Can be used instead of the
	// foreign_currency_id, but this or the ID is required when submitting a foreign amount.
	ForeignCurrencyCode   OptNilString `json:"foreign_currency_code"`
	ForeignCurrencySymbol OptNilString `json:"foreign_currency_symbol"`
	// Number of decimals in the currency.
	ForeignCurrencyDecimalPlaces OptNilInt32 `json:"foreign_currency_decimal_places"`
	// The budget ID for this transaction.
	BudgetID OptNilString `json:"budget_id"`
	// The name of the budget to be used. If the budget name is unknown, the ID will be used or the value
	// will be ignored.
	BudgetName OptNilString `json:"budget_name"`
	// The category ID for this transaction.
	CategoryID OptNilString `json:"category_id"`
	// The name of the category to be used. If the category is unknown, it will be created. If the ID and
	// the name point to different categories, the ID overrules the name.
	CategoryName OptNilString `json:"category_name"`
	// ID of the source account. For a withdrawal or a transfer, this must always be an asset account.
	// For deposits, this must be a revenue account.
	SourceID OptNilString `json:"source_id"`
	// Name of the source account. For a withdrawal or a transfer, this must always be an asset account.
	// For deposits, this must be a revenue account. Can be used instead of the source_id. If the
	// transaction is a deposit, the source_name can be filled in freely: the account will be created
	// based on the name.
	SourceName OptNilString `json:"source_name"`
	SourceIban OptNilString `json:"source_iban"`
	// ID of the destination account. For a deposit or a transfer, this must always be an asset account.
	// For withdrawals this must be an expense account.
	DestinationID OptNilString `json:"destination_id"`
	// Name of the destination account. You can submit the name instead of the ID. For everything except
	// transfers, the account will be auto-generated if unknown, so submitting a name is enough.
	DestinationName OptNilString `json:"destination_name"`
	DestinationIban OptNilString `json:"destination_iban"`
	// If the transaction has been reconciled already. When you set this, the amount can no longer be
	// edited by the user.
	Reconciled OptBool `json:"reconciled"`
	// Optional. Use either this or the bill_name.
	BillID OptNilString `json:"bill_id"`
	// Optional. Use either this or the bill_id.
	BillName OptNilString `json:"bill_name"`
	// Array of tags.
	Tags  OptNilStringArray `json:"tags"`
	Notes OptNilString      `json:"notes"`
	// Reference to internal reference of other systems.
	InternalReference OptNilString `json:"internal_reference"`
	// Reference to external ID in other systems.
	ExternalID OptNilString `json:"external_id"`
	// External, custom URL for this transaction.
	ExternalURL OptNilString `json:"external_url"`
	// Internal ID of bunq transaction.
	BunqPaymentID OptNilString `json:"bunq_payment_id"`
	// SEPA Clearing Code.
	SepaCc OptNilString `json:"sepa_cc"`
	// SEPA Opposing Account Identifier.
	SepaCtOp OptNilString `json:"sepa_ct_op"`
	// SEPA end-to-end Identifier.
	SepaCtID OptNilString `json:"sepa_ct_id"`
	// SEPA mandate identifier.
	SepaDb OptNilString `json:"sepa_db"`
	// SEPA Country.
	SepaCountry OptNilString `json:"sepa_country"`
	// SEPA External Purpose indicator.
	SepaEp OptNilString `json:"sepa_ep"`
	// SEPA Creditor Identifier.
	SepaCi OptNilString `json:"sepa_ci"`
	// SEPA Batch ID.
	SepaBatchID  OptNilString   `json:"sepa_batch_id"`
	InterestDate OptNilDateTime `json:"interest_date"`
	BookDate     OptNilDateTime `json:"book_date"`
	ProcessDate  OptNilDateTime `json:"process_date"`
	DueDate      OptNilDateTime `json:"due_date"`
	PaymentDate  OptNilDateTime `json:"payment_date"`
	InvoiceDate  OptNilDateTime `json:"invoice_date"`
}

Ref: #/components/schemas/TransactionSplitUpdate

func (*TransactionSplitUpdate) Decode

func (s *TransactionSplitUpdate) Decode(d *jx.Decoder) error

Decode decodes TransactionSplitUpdate from json.

func (*TransactionSplitUpdate) Encode

func (s *TransactionSplitUpdate) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*TransactionSplitUpdate) GetAmount

func (s *TransactionSplitUpdate) GetAmount() OptString

GetAmount returns the value of Amount.

func (*TransactionSplitUpdate) GetBillID

func (s *TransactionSplitUpdate) GetBillID() OptNilString

GetBillID returns the value of BillID.

func (*TransactionSplitUpdate) GetBillName

func (s *TransactionSplitUpdate) GetBillName() OptNilString

GetBillName returns the value of BillName.

func (*TransactionSplitUpdate) GetBookDate

func (s *TransactionSplitUpdate) GetBookDate() OptNilDateTime

GetBookDate returns the value of BookDate.

func (*TransactionSplitUpdate) GetBudgetID

func (s *TransactionSplitUpdate) GetBudgetID() OptNilString

GetBudgetID returns the value of BudgetID.

func (*TransactionSplitUpdate) GetBudgetName

func (s *TransactionSplitUpdate) GetBudgetName() OptNilString

GetBudgetName returns the value of BudgetName.

func (*TransactionSplitUpdate) GetBunqPaymentID

func (s *TransactionSplitUpdate) GetBunqPaymentID() OptNilString

GetBunqPaymentID returns the value of BunqPaymentID.

func (*TransactionSplitUpdate) GetCategoryID

func (s *TransactionSplitUpdate) GetCategoryID() OptNilString

GetCategoryID returns the value of CategoryID.

func (*TransactionSplitUpdate) GetCategoryName

func (s *TransactionSplitUpdate) GetCategoryName() OptNilString

GetCategoryName returns the value of CategoryName.

func (*TransactionSplitUpdate) GetCurrencyCode

func (s *TransactionSplitUpdate) GetCurrencyCode() OptNilString

GetCurrencyCode returns the value of CurrencyCode.

func (*TransactionSplitUpdate) GetCurrencyDecimalPlaces

func (s *TransactionSplitUpdate) GetCurrencyDecimalPlaces() OptInt32

GetCurrencyDecimalPlaces returns the value of CurrencyDecimalPlaces.

func (*TransactionSplitUpdate) GetCurrencyID

func (s *TransactionSplitUpdate) GetCurrencyID() OptNilString

GetCurrencyID returns the value of CurrencyID.

func (*TransactionSplitUpdate) GetCurrencyName

func (s *TransactionSplitUpdate) GetCurrencyName() OptString

GetCurrencyName returns the value of CurrencyName.

func (*TransactionSplitUpdate) GetCurrencySymbol

func (s *TransactionSplitUpdate) GetCurrencySymbol() OptString

GetCurrencySymbol returns the value of CurrencySymbol.

func (*TransactionSplitUpdate) GetDate

func (s *TransactionSplitUpdate) GetDate() OptDateTime

GetDate returns the value of Date.

func (*TransactionSplitUpdate) GetDescription

func (s *TransactionSplitUpdate) GetDescription() OptString

GetDescription returns the value of Description.

func (*TransactionSplitUpdate) GetDestinationID

func (s *TransactionSplitUpdate) GetDestinationID() OptNilString

GetDestinationID returns the value of DestinationID.

func (*TransactionSplitUpdate) GetDestinationIban

func (s *TransactionSplitUpdate) GetDestinationIban() OptNilString

GetDestinationIban returns the value of DestinationIban.

func (*TransactionSplitUpdate) GetDestinationName

func (s *TransactionSplitUpdate) GetDestinationName() OptNilString

GetDestinationName returns the value of DestinationName.

func (*TransactionSplitUpdate) GetDueDate

func (s *TransactionSplitUpdate) GetDueDate() OptNilDateTime

GetDueDate returns the value of DueDate.

func (*TransactionSplitUpdate) GetExternalID

func (s *TransactionSplitUpdate) GetExternalID() OptNilString

GetExternalID returns the value of ExternalID.

func (*TransactionSplitUpdate) GetExternalURL

func (s *TransactionSplitUpdate) GetExternalURL() OptNilString

GetExternalURL returns the value of ExternalURL.

func (*TransactionSplitUpdate) GetForeignAmount

func (s *TransactionSplitUpdate) GetForeignAmount() OptNilString

GetForeignAmount returns the value of ForeignAmount.

func (*TransactionSplitUpdate) GetForeignCurrencyCode

func (s *TransactionSplitUpdate) GetForeignCurrencyCode() OptNilString

GetForeignCurrencyCode returns the value of ForeignCurrencyCode.

func (*TransactionSplitUpdate) GetForeignCurrencyDecimalPlaces

func (s *TransactionSplitUpdate) GetForeignCurrencyDecimalPlaces() OptNilInt32

GetForeignCurrencyDecimalPlaces returns the value of ForeignCurrencyDecimalPlaces.

func (*TransactionSplitUpdate) GetForeignCurrencyID

func (s *TransactionSplitUpdate) GetForeignCurrencyID() OptNilString

GetForeignCurrencyID returns the value of ForeignCurrencyID.

func (*TransactionSplitUpdate) GetForeignCurrencySymbol

func (s *TransactionSplitUpdate) GetForeignCurrencySymbol() OptNilString

GetForeignCurrencySymbol returns the value of ForeignCurrencySymbol.

func (*TransactionSplitUpdate) GetInterestDate

func (s *TransactionSplitUpdate) GetInterestDate() OptNilDateTime

GetInterestDate returns the value of InterestDate.

func (*TransactionSplitUpdate) GetInternalReference

func (s *TransactionSplitUpdate) GetInternalReference() OptNilString

GetInternalReference returns the value of InternalReference.

func (*TransactionSplitUpdate) GetInvoiceDate

func (s *TransactionSplitUpdate) GetInvoiceDate() OptNilDateTime

GetInvoiceDate returns the value of InvoiceDate.

func (*TransactionSplitUpdate) GetNotes

func (s *TransactionSplitUpdate) GetNotes() OptNilString

GetNotes returns the value of Notes.

func (*TransactionSplitUpdate) GetOrder

func (s *TransactionSplitUpdate) GetOrder() OptNilInt32

GetOrder returns the value of Order.

func (*TransactionSplitUpdate) GetPaymentDate

func (s *TransactionSplitUpdate) GetPaymentDate() OptNilDateTime

GetPaymentDate returns the value of PaymentDate.

func (*TransactionSplitUpdate) GetProcessDate

func (s *TransactionSplitUpdate) GetProcessDate() OptNilDateTime

GetProcessDate returns the value of ProcessDate.

func (*TransactionSplitUpdate) GetReconciled

func (s *TransactionSplitUpdate) GetReconciled() OptBool

GetReconciled returns the value of Reconciled.

func (*TransactionSplitUpdate) GetSepaBatchID

func (s *TransactionSplitUpdate) GetSepaBatchID() OptNilString

GetSepaBatchID returns the value of SepaBatchID.

func (*TransactionSplitUpdate) GetSepaCc

func (s *TransactionSplitUpdate) GetSepaCc() OptNilString

GetSepaCc returns the value of SepaCc.

func (*TransactionSplitUpdate) GetSepaCi

func (s *TransactionSplitUpdate) GetSepaCi() OptNilString

GetSepaCi returns the value of SepaCi.

func (*TransactionSplitUpdate) GetSepaCountry

func (s *TransactionSplitUpdate) GetSepaCountry() OptNilString

GetSepaCountry returns the value of SepaCountry.

func (*TransactionSplitUpdate) GetSepaCtID

func (s *TransactionSplitUpdate) GetSepaCtID() OptNilString

GetSepaCtID returns the value of SepaCtID.

func (*TransactionSplitUpdate) GetSepaCtOp

func (s *TransactionSplitUpdate) GetSepaCtOp() OptNilString

GetSepaCtOp returns the value of SepaCtOp.

func (*TransactionSplitUpdate) GetSepaDb

func (s *TransactionSplitUpdate) GetSepaDb() OptNilString

GetSepaDb returns the value of SepaDb.

func (*TransactionSplitUpdate) GetSepaEp

func (s *TransactionSplitUpdate) GetSepaEp() OptNilString

GetSepaEp returns the value of SepaEp.

func (*TransactionSplitUpdate) GetSourceID

func (s *TransactionSplitUpdate) GetSourceID() OptNilString

GetSourceID returns the value of SourceID.

func (*TransactionSplitUpdate) GetSourceIban

func (s *TransactionSplitUpdate) GetSourceIban() OptNilString

GetSourceIban returns the value of SourceIban.

func (*TransactionSplitUpdate) GetSourceName

func (s *TransactionSplitUpdate) GetSourceName() OptNilString

GetSourceName returns the value of SourceName.

func (*TransactionSplitUpdate) GetTags

GetTags returns the value of Tags.

func (*TransactionSplitUpdate) GetTransactionJournalID

func (s *TransactionSplitUpdate) GetTransactionJournalID() OptString

GetTransactionJournalID returns the value of TransactionJournalID.

func (*TransactionSplitUpdate) GetType

GetType returns the value of Type.

func (*TransactionSplitUpdate) MarshalJSON

func (s *TransactionSplitUpdate) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*TransactionSplitUpdate) SetAmount

func (s *TransactionSplitUpdate) SetAmount(val OptString)

SetAmount sets the value of Amount.

func (*TransactionSplitUpdate) SetBillID

func (s *TransactionSplitUpdate) SetBillID(val OptNilString)

SetBillID sets the value of BillID.

func (*TransactionSplitUpdate) SetBillName

func (s *TransactionSplitUpdate) SetBillName(val OptNilString)

SetBillName sets the value of BillName.

func (*TransactionSplitUpdate) SetBookDate

func (s *TransactionSplitUpdate) SetBookDate(val OptNilDateTime)

SetBookDate sets the value of BookDate.

func (*TransactionSplitUpdate) SetBudgetID

func (s *TransactionSplitUpdate) SetBudgetID(val OptNilString)

SetBudgetID sets the value of BudgetID.

func (*TransactionSplitUpdate) SetBudgetName

func (s *TransactionSplitUpdate) SetBudgetName(val OptNilString)

SetBudgetName sets the value of BudgetName.

func (*TransactionSplitUpdate) SetBunqPaymentID

func (s *TransactionSplitUpdate) SetBunqPaymentID(val OptNilString)

SetBunqPaymentID sets the value of BunqPaymentID.

func (*TransactionSplitUpdate) SetCategoryID

func (s *TransactionSplitUpdate) SetCategoryID(val OptNilString)

SetCategoryID sets the value of CategoryID.

func (*TransactionSplitUpdate) SetCategoryName

func (s *TransactionSplitUpdate) SetCategoryName(val OptNilString)

SetCategoryName sets the value of CategoryName.

func (*TransactionSplitUpdate) SetCurrencyCode

func (s *TransactionSplitUpdate) SetCurrencyCode(val OptNilString)

SetCurrencyCode sets the value of CurrencyCode.

func (*TransactionSplitUpdate) SetCurrencyDecimalPlaces

func (s *TransactionSplitUpdate) SetCurrencyDecimalPlaces(val OptInt32)

SetCurrencyDecimalPlaces sets the value of CurrencyDecimalPlaces.

func (*TransactionSplitUpdate) SetCurrencyID

func (s *TransactionSplitUpdate) SetCurrencyID(val OptNilString)

SetCurrencyID sets the value of CurrencyID.

func (*TransactionSplitUpdate) SetCurrencyName

func (s *TransactionSplitUpdate) SetCurrencyName(val OptString)

SetCurrencyName sets the value of CurrencyName.

func (*TransactionSplitUpdate) SetCurrencySymbol

func (s *TransactionSplitUpdate) SetCurrencySymbol(val OptString)

SetCurrencySymbol sets the value of CurrencySymbol.

func (*TransactionSplitUpdate) SetDate

func (s *TransactionSplitUpdate) SetDate(val OptDateTime)

SetDate sets the value of Date.

func (*TransactionSplitUpdate) SetDescription

func (s *TransactionSplitUpdate) SetDescription(val OptString)

SetDescription sets the value of Description.

func (*TransactionSplitUpdate) SetDestinationID

func (s *TransactionSplitUpdate) SetDestinationID(val OptNilString)

SetDestinationID sets the value of DestinationID.

func (*TransactionSplitUpdate) SetDestinationIban

func (s *TransactionSplitUpdate) SetDestinationIban(val OptNilString)

SetDestinationIban sets the value of DestinationIban.

func (*TransactionSplitUpdate) SetDestinationName

func (s *TransactionSplitUpdate) SetDestinationName(val OptNilString)

SetDestinationName sets the value of DestinationName.

func (*TransactionSplitUpdate) SetDueDate

func (s *TransactionSplitUpdate) SetDueDate(val OptNilDateTime)

SetDueDate sets the value of DueDate.

func (*TransactionSplitUpdate) SetExternalID

func (s *TransactionSplitUpdate) SetExternalID(val OptNilString)

SetExternalID sets the value of ExternalID.

func (*TransactionSplitUpdate) SetExternalURL

func (s *TransactionSplitUpdate) SetExternalURL(val OptNilString)

SetExternalURL sets the value of ExternalURL.

func (*TransactionSplitUpdate) SetForeignAmount

func (s *TransactionSplitUpdate) SetForeignAmount(val OptNilString)

SetForeignAmount sets the value of ForeignAmount.

func (*TransactionSplitUpdate) SetForeignCurrencyCode

func (s *TransactionSplitUpdate) SetForeignCurrencyCode(val OptNilString)

SetForeignCurrencyCode sets the value of ForeignCurrencyCode.

func (*TransactionSplitUpdate) SetForeignCurrencyDecimalPlaces

func (s *TransactionSplitUpdate) SetForeignCurrencyDecimalPlaces(val OptNilInt32)

SetForeignCurrencyDecimalPlaces sets the value of ForeignCurrencyDecimalPlaces.

func (*TransactionSplitUpdate) SetForeignCurrencyID

func (s *TransactionSplitUpdate) SetForeignCurrencyID(val OptNilString)

SetForeignCurrencyID sets the value of ForeignCurrencyID.

func (*TransactionSplitUpdate) SetForeignCurrencySymbol

func (s *TransactionSplitUpdate) SetForeignCurrencySymbol(val OptNilString)

SetForeignCurrencySymbol sets the value of ForeignCurrencySymbol.

func (*TransactionSplitUpdate) SetInterestDate

func (s *TransactionSplitUpdate) SetInterestDate(val OptNilDateTime)

SetInterestDate sets the value of InterestDate.

func (*TransactionSplitUpdate) SetInternalReference

func (s *TransactionSplitUpdate) SetInternalReference(val OptNilString)

SetInternalReference sets the value of InternalReference.

func (*TransactionSplitUpdate) SetInvoiceDate

func (s *TransactionSplitUpdate) SetInvoiceDate(val OptNilDateTime)

SetInvoiceDate sets the value of InvoiceDate.

func (*TransactionSplitUpdate) SetNotes

func (s *TransactionSplitUpdate) SetNotes(val OptNilString)

SetNotes sets the value of Notes.

func (*TransactionSplitUpdate) SetOrder

func (s *TransactionSplitUpdate) SetOrder(val OptNilInt32)

SetOrder sets the value of Order.

func (*TransactionSplitUpdate) SetPaymentDate

func (s *TransactionSplitUpdate) SetPaymentDate(val OptNilDateTime)

SetPaymentDate sets the value of PaymentDate.

func (*TransactionSplitUpdate) SetProcessDate

func (s *TransactionSplitUpdate) SetProcessDate(val OptNilDateTime)

SetProcessDate sets the value of ProcessDate.

func (*TransactionSplitUpdate) SetReconciled

func (s *TransactionSplitUpdate) SetReconciled(val OptBool)

SetReconciled sets the value of Reconciled.

func (*TransactionSplitUpdate) SetSepaBatchID

func (s *TransactionSplitUpdate) SetSepaBatchID(val OptNilString)

SetSepaBatchID sets the value of SepaBatchID.

func (*TransactionSplitUpdate) SetSepaCc

func (s *TransactionSplitUpdate) SetSepaCc(val OptNilString)

SetSepaCc sets the value of SepaCc.

func (*TransactionSplitUpdate) SetSepaCi

func (s *TransactionSplitUpdate) SetSepaCi(val OptNilString)

SetSepaCi sets the value of SepaCi.

func (*TransactionSplitUpdate) SetSepaCountry

func (s *TransactionSplitUpdate) SetSepaCountry(val OptNilString)

SetSepaCountry sets the value of SepaCountry.

func (*TransactionSplitUpdate) SetSepaCtID

func (s *TransactionSplitUpdate) SetSepaCtID(val OptNilString)

SetSepaCtID sets the value of SepaCtID.

func (*TransactionSplitUpdate) SetSepaCtOp

func (s *TransactionSplitUpdate) SetSepaCtOp(val OptNilString)

SetSepaCtOp sets the value of SepaCtOp.

func (*TransactionSplitUpdate) SetSepaDb

func (s *TransactionSplitUpdate) SetSepaDb(val OptNilString)

SetSepaDb sets the value of SepaDb.

func (*TransactionSplitUpdate) SetSepaEp

func (s *TransactionSplitUpdate) SetSepaEp(val OptNilString)

SetSepaEp sets the value of SepaEp.

func (*TransactionSplitUpdate) SetSourceID

func (s *TransactionSplitUpdate) SetSourceID(val OptNilString)

SetSourceID sets the value of SourceID.

func (*TransactionSplitUpdate) SetSourceIban

func (s *TransactionSplitUpdate) SetSourceIban(val OptNilString)

SetSourceIban sets the value of SourceIban.

func (*TransactionSplitUpdate) SetSourceName

func (s *TransactionSplitUpdate) SetSourceName(val OptNilString)

SetSourceName sets the value of SourceName.

func (*TransactionSplitUpdate) SetTags

func (s *TransactionSplitUpdate) SetTags(val OptNilStringArray)

SetTags sets the value of Tags.

func (*TransactionSplitUpdate) SetTransactionJournalID

func (s *TransactionSplitUpdate) SetTransactionJournalID(val OptString)

SetTransactionJournalID sets the value of TransactionJournalID.

func (*TransactionSplitUpdate) SetType

SetType sets the value of Type.

func (*TransactionSplitUpdate) UnmarshalJSON

func (s *TransactionSplitUpdate) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*TransactionSplitUpdate) Validate

func (s *TransactionSplitUpdate) Validate() error

type TransactionStore

type TransactionStore struct {
	// Break if the submitted transaction exists already.
	ErrorIfDuplicateHash OptBool `json:"error_if_duplicate_hash"`
	// Whether or not to apply rules when submitting transaction.
	ApplyRules OptBool `json:"apply_rules"`
	// Whether or not to fire the webhooks that are related to this event.
	FireWebhooks OptBool `json:"fire_webhooks"`
	// Title of the transaction if it has been split in more than one piece. Empty otherwise.
	GroupTitle   OptNilString            `json:"group_title"`
	Transactions []TransactionSplitStore `json:"transactions"`
}

Ref: #/components/schemas/TransactionStore

func (*TransactionStore) Decode

func (s *TransactionStore) Decode(d *jx.Decoder) error

Decode decodes TransactionStore from json.

func (*TransactionStore) Encode

func (s *TransactionStore) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*TransactionStore) GetApplyRules

func (s *TransactionStore) GetApplyRules() OptBool

GetApplyRules returns the value of ApplyRules.

func (*TransactionStore) GetErrorIfDuplicateHash

func (s *TransactionStore) GetErrorIfDuplicateHash() OptBool

GetErrorIfDuplicateHash returns the value of ErrorIfDuplicateHash.

func (*TransactionStore) GetFireWebhooks

func (s *TransactionStore) GetFireWebhooks() OptBool

GetFireWebhooks returns the value of FireWebhooks.

func (*TransactionStore) GetGroupTitle

func (s *TransactionStore) GetGroupTitle() OptNilString

GetGroupTitle returns the value of GroupTitle.

func (*TransactionStore) GetTransactions

func (s *TransactionStore) GetTransactions() []TransactionSplitStore

GetTransactions returns the value of Transactions.

func (*TransactionStore) MarshalJSON

func (s *TransactionStore) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*TransactionStore) SetApplyRules

func (s *TransactionStore) SetApplyRules(val OptBool)

SetApplyRules sets the value of ApplyRules.

func (*TransactionStore) SetErrorIfDuplicateHash

func (s *TransactionStore) SetErrorIfDuplicateHash(val OptBool)

SetErrorIfDuplicateHash sets the value of ErrorIfDuplicateHash.

func (*TransactionStore) SetFireWebhooks

func (s *TransactionStore) SetFireWebhooks(val OptBool)

SetFireWebhooks sets the value of FireWebhooks.

func (*TransactionStore) SetGroupTitle

func (s *TransactionStore) SetGroupTitle(val OptNilString)

SetGroupTitle sets the value of GroupTitle.

func (*TransactionStore) SetTransactions

func (s *TransactionStore) SetTransactions(val []TransactionSplitStore)

SetTransactions sets the value of Transactions.

func (*TransactionStore) UnmarshalJSON

func (s *TransactionStore) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*TransactionStore) Validate

func (s *TransactionStore) Validate() error

type TransactionTypeFilter

type TransactionTypeFilter string

Ref: #/components/schemas/TransactionTypeFilter

const (
	TransactionTypeFilterAll            TransactionTypeFilter = "all"
	TransactionTypeFilterWithdrawal     TransactionTypeFilter = "withdrawal"
	TransactionTypeFilterWithdrawals    TransactionTypeFilter = "withdrawals"
	TransactionTypeFilterExpense        TransactionTypeFilter = "expense"
	TransactionTypeFilterDeposit        TransactionTypeFilter = "deposit"
	TransactionTypeFilterDeposits       TransactionTypeFilter = "deposits"
	TransactionTypeFilterIncome         TransactionTypeFilter = "income"
	TransactionTypeFilterTransfer       TransactionTypeFilter = "transfer"
	TransactionTypeFilterTransfers      TransactionTypeFilter = "transfers"
	TransactionTypeFilterOpeningBalance TransactionTypeFilter = "opening_balance"
	TransactionTypeFilterReconciliation TransactionTypeFilter = "reconciliation"
	TransactionTypeFilterSpecial        TransactionTypeFilter = "special"
	TransactionTypeFilterSpecials       TransactionTypeFilter = "specials"
	TransactionTypeFilterDefault        TransactionTypeFilter = "default"
)

func (TransactionTypeFilter) AllValues

AllValues returns all TransactionTypeFilter values.

func (TransactionTypeFilter) MarshalText

func (s TransactionTypeFilter) MarshalText() ([]byte, error)

MarshalText implements encoding.TextMarshaler.

func (*TransactionTypeFilter) UnmarshalText

func (s *TransactionTypeFilter) UnmarshalText(data []byte) error

UnmarshalText implements encoding.TextUnmarshaler.

func (TransactionTypeFilter) Validate

func (s TransactionTypeFilter) Validate() error

type TransactionTypeProperty

type TransactionTypeProperty string

Ref: #/components/schemas/TransactionTypeProperty

const (
	TransactionTypePropertyWithdrawal     TransactionTypeProperty = "withdrawal"
	TransactionTypePropertyDeposit        TransactionTypeProperty = "deposit"
	TransactionTypePropertyTransfer       TransactionTypeProperty = "transfer"
	TransactionTypePropertyReconciliation TransactionTypeProperty = "reconciliation"
	TransactionTypePropertyOpeningBalance TransactionTypeProperty = "opening balance"
)

func (TransactionTypeProperty) AllValues

AllValues returns all TransactionTypeProperty values.

func (*TransactionTypeProperty) Decode

func (s *TransactionTypeProperty) Decode(d *jx.Decoder) error

Decode decodes TransactionTypeProperty from json.

func (TransactionTypeProperty) Encode

func (s TransactionTypeProperty) Encode(e *jx.Encoder)

Encode encodes TransactionTypeProperty as json.

func (TransactionTypeProperty) MarshalJSON

func (s TransactionTypeProperty) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (TransactionTypeProperty) MarshalText

func (s TransactionTypeProperty) MarshalText() ([]byte, error)

MarshalText implements encoding.TextMarshaler.

func (*TransactionTypeProperty) UnmarshalJSON

func (s *TransactionTypeProperty) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*TransactionTypeProperty) UnmarshalText

func (s *TransactionTypeProperty) UnmarshalText(data []byte) error

UnmarshalText implements encoding.TextUnmarshaler.

func (TransactionTypeProperty) Validate

func (s TransactionTypeProperty) Validate() error

type TransactionUpdate

type TransactionUpdate struct {
	// Whether or not to apply rules when submitting transaction.
	ApplyRules OptBool `json:"apply_rules"`
	// Whether or not to fire the webhooks that are related to this event.
	FireWebhooks OptBool `json:"fire_webhooks"`
	// Title of the transaction if it has been split in more than one piece. Empty otherwise.
	GroupTitle   OptNilString             `json:"group_title"`
	Transactions []TransactionSplitUpdate `json:"transactions"`
}

Ref: #/components/schemas/TransactionUpdate

func (*TransactionUpdate) Decode

func (s *TransactionUpdate) Decode(d *jx.Decoder) error

Decode decodes TransactionUpdate from json.

func (*TransactionUpdate) Encode

func (s *TransactionUpdate) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*TransactionUpdate) GetApplyRules

func (s *TransactionUpdate) GetApplyRules() OptBool

GetApplyRules returns the value of ApplyRules.

func (*TransactionUpdate) GetFireWebhooks

func (s *TransactionUpdate) GetFireWebhooks() OptBool

GetFireWebhooks returns the value of FireWebhooks.

func (*TransactionUpdate) GetGroupTitle

func (s *TransactionUpdate) GetGroupTitle() OptNilString

GetGroupTitle returns the value of GroupTitle.

func (*TransactionUpdate) GetTransactions

func (s *TransactionUpdate) GetTransactions() []TransactionSplitUpdate

GetTransactions returns the value of Transactions.

func (*TransactionUpdate) MarshalJSON

func (s *TransactionUpdate) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*TransactionUpdate) SetApplyRules

func (s *TransactionUpdate) SetApplyRules(val OptBool)

SetApplyRules sets the value of ApplyRules.

func (*TransactionUpdate) SetFireWebhooks

func (s *TransactionUpdate) SetFireWebhooks(val OptBool)

SetFireWebhooks sets the value of FireWebhooks.

func (*TransactionUpdate) SetGroupTitle

func (s *TransactionUpdate) SetGroupTitle(val OptNilString)

SetGroupTitle sets the value of GroupTitle.

func (*TransactionUpdate) SetTransactions

func (s *TransactionUpdate) SetTransactions(val []TransactionSplitUpdate)

SetTransactions sets the value of Transactions.

func (*TransactionUpdate) UnmarshalJSON

func (s *TransactionUpdate) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*TransactionUpdate) Validate

func (s *TransactionUpdate) Validate() error

type Unauthenticated

type Unauthenticated struct {
	Message   OptString `json:"message"`
	Exception OptString `json:"exception"`
}

Ref: #/components/schemas/Unauthenticated

func (*Unauthenticated) Decode

func (s *Unauthenticated) Decode(d *jx.Decoder) error

Decode decodes Unauthenticated from json.

func (*Unauthenticated) Encode

func (s *Unauthenticated) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*Unauthenticated) GetException

func (s *Unauthenticated) GetException() OptString

GetException returns the value of Exception.

func (*Unauthenticated) GetMessage

func (s *Unauthenticated) GetMessage() OptString

GetMessage returns the value of Message.

func (*Unauthenticated) MarshalJSON

func (s *Unauthenticated) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*Unauthenticated) SetException

func (s *Unauthenticated) SetException(val OptString)

SetException sets the value of Exception.

func (*Unauthenticated) SetMessage

func (s *Unauthenticated) SetMessage(val OptString)

SetMessage sets the value of Message.

func (*Unauthenticated) UnmarshalJSON

func (s *Unauthenticated) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type UpdateAccountParams

type UpdateAccountParams struct {
	// Unique identifier associated with this request.
	XTraceID OptUUID
	// The ID of the account.
	ID string
}

UpdateAccountParams is parameters of updateAccount operation.

type UpdateAccountRes

type UpdateAccountRes interface {
	// contains filtered or unexported methods
}

type UpdateAttachmentParams

type UpdateAttachmentParams struct {
	// Unique identifier associated with this request.
	XTraceID OptUUID
	// The ID of the attachment.
	ID string
}

UpdateAttachmentParams is parameters of updateAttachment operation.

type UpdateAttachmentRes

type UpdateAttachmentRes interface {
	// contains filtered or unexported methods
}

type UpdateBillParams

type UpdateBillParams struct {
	// Unique identifier associated with this request.
	XTraceID OptUUID
	// The ID of the bill.
	ID string
}

UpdateBillParams is parameters of updateBill operation.

type UpdateBillRes

type UpdateBillRes interface {
	// contains filtered or unexported methods
}

type UpdateBudgetLimitParams

type UpdateBudgetLimitParams struct {
	// Unique identifier associated with this request.
	XTraceID OptUUID
	// The ID of the budget. The budget limit MUST be associated to the budget ID.
	ID string
	// The ID of the budget limit. The budget limit MUST be associated to the budget ID.
	LimitId string
}

UpdateBudgetLimitParams is parameters of updateBudgetLimit operation.

type UpdateBudgetLimitRes

type UpdateBudgetLimitRes interface {
	// contains filtered or unexported methods
}

type UpdateBudgetParams

type UpdateBudgetParams struct {
	// Unique identifier associated with this request.
	XTraceID OptUUID
	// The ID of the budget.
	ID string
}

UpdateBudgetParams is parameters of updateBudget operation.

type UpdateBudgetRes

type UpdateBudgetRes interface {
	// contains filtered or unexported methods
}

type UpdateCategoryParams

type UpdateCategoryParams struct {
	// Unique identifier associated with this request.
	XTraceID OptUUID
	// The ID of the category.
	ID string
}

UpdateCategoryParams is parameters of updateCategory operation.

type UpdateCategoryRes

type UpdateCategoryRes interface {
	// contains filtered or unexported methods
}

type UpdateCurrencyParams

type UpdateCurrencyParams struct {
	// Unique identifier associated with this request.
	XTraceID OptUUID
	// The currency code.
	Code string
}

UpdateCurrencyParams is parameters of updateCurrency operation.

type UpdateCurrencyRes

type UpdateCurrencyRes interface {
	// contains filtered or unexported methods
}

type UpdateLinkTypeParams

type UpdateLinkTypeParams struct {
	// Unique identifier associated with this request.
	XTraceID OptUUID
	// The ID of the link type.
	ID string
}

UpdateLinkTypeParams is parameters of updateLinkType operation.

type UpdateLinkTypeRes

type UpdateLinkTypeRes interface {
	// contains filtered or unexported methods
}

type UpdateObjectGroupParams

type UpdateObjectGroupParams struct {
	// Unique identifier associated with this request.
	XTraceID OptUUID
	// The ID of the object group.
	ID string
}

UpdateObjectGroupParams is parameters of updateObjectGroup operation.

type UpdateObjectGroupRes

type UpdateObjectGroupRes interface {
	// contains filtered or unexported methods
}

type UpdatePiggyBankParams

type UpdatePiggyBankParams struct {
	// Unique identifier associated with this request.
	XTraceID OptUUID
	// The ID of the piggy bank.
	ID string
}

UpdatePiggyBankParams is parameters of updatePiggyBank operation.

type UpdatePiggyBankRes

type UpdatePiggyBankRes interface {
	// contains filtered or unexported methods
}

type UpdatePreferenceParams

type UpdatePreferenceParams struct {
	// Unique identifier associated with this request.
	XTraceID OptUUID
	// The name of the preference. Will always overwrite. Will be created if it does not exist.
	Name string
}

UpdatePreferenceParams is parameters of updatePreference operation.

type UpdatePreferenceRes

type UpdatePreferenceRes interface {
	// contains filtered or unexported methods
}

type UpdateRecurrenceParams

type UpdateRecurrenceParams struct {
	// Unique identifier associated with this request.
	XTraceID OptUUID
	// The ID of the recurring transaction.
	ID string
}

UpdateRecurrenceParams is parameters of updateRecurrence operation.

type UpdateRecurrenceRes

type UpdateRecurrenceRes interface {
	// contains filtered or unexported methods
}

type UpdateRuleGroupParams

type UpdateRuleGroupParams struct {
	// Unique identifier associated with this request.
	XTraceID OptUUID
	// The ID of the rule group.
	ID string
}

UpdateRuleGroupParams is parameters of updateRuleGroup operation.

type UpdateRuleGroupRes

type UpdateRuleGroupRes interface {
	// contains filtered or unexported methods
}

type UpdateRuleParams

type UpdateRuleParams struct {
	// Unique identifier associated with this request.
	XTraceID OptUUID
	// The ID of the object.
	ID string
}

UpdateRuleParams is parameters of updateRule operation.

type UpdateRuleRes

type UpdateRuleRes interface {
	// contains filtered or unexported methods
}

type UpdateTagParams

type UpdateTagParams struct {
	// Unique identifier associated with this request.
	XTraceID OptUUID
	// Either the tag itself or the tag ID. If you use the tag itself, and it contains international
	// (non-ASCII) characters, your milage may vary.
	Tag string
}

UpdateTagParams is parameters of updateTag operation.

type UpdateTagRes

type UpdateTagRes interface {
	// contains filtered or unexported methods
}

type UpdateTransactionLinkParams

type UpdateTransactionLinkParams struct {
	// Unique identifier associated with this request.
	XTraceID OptUUID
	// The ID of the transaction link.
	ID string
}

UpdateTransactionLinkParams is parameters of updateTransactionLink operation.

type UpdateTransactionLinkRes

type UpdateTransactionLinkRes interface {
	// contains filtered or unexported methods
}

type UpdateTransactionParams

type UpdateTransactionParams struct {
	// Unique identifier associated with this request.
	XTraceID OptUUID
	// The ID of the transaction.
	ID string
}

UpdateTransactionParams is parameters of updateTransaction operation.

type UpdateTransactionRes

type UpdateTransactionRes interface {
	// contains filtered or unexported methods
}

type UpdateUserParams

type UpdateUserParams struct {
	// Unique identifier associated with this request.
	XTraceID OptUUID
	// The user ID.
	ID string
}

UpdateUserParams is parameters of updateUser operation.

type UpdateUserRes

type UpdateUserRes interface {
	// contains filtered or unexported methods
}

type UpdateWebhookParams

type UpdateWebhookParams struct {
	// Unique identifier associated with this request.
	XTraceID OptUUID
	// The webhook ID.
	ID string
}

UpdateWebhookParams is parameters of updateWebhook operation.

type UpdateWebhookRes

type UpdateWebhookRes interface {
	// contains filtered or unexported methods
}

type UploadAttachmentNoContent

type UploadAttachmentNoContent struct{}

UploadAttachmentNoContent is response for UploadAttachment operation.

type UploadAttachmentParams

type UploadAttachmentParams struct {
	// Unique identifier associated with this request.
	XTraceID OptUUID
	// The ID of the attachment.
	ID string
}

UploadAttachmentParams is parameters of uploadAttachment operation.

type UploadAttachmentReq

type UploadAttachmentReq struct {
	Data io.Reader
}

func (UploadAttachmentReq) Read

func (s UploadAttachmentReq) Read(p []byte) (n int, err error)

Read reads data from the Data reader.

Kept to satisfy the io.Reader interface.

type UploadAttachmentRes

type UploadAttachmentRes interface {
	// contains filtered or unexported methods
}

type User

type User struct {
	CreatedAt OptDateTime `json:"created_at"`
	UpdatedAt OptDateTime `json:"updated_at"`
	// The new users email address.
	Email string `json:"email"`
	// Boolean to indicate if the user is blocked.
	Blocked     OptBool                       `json:"blocked"`
	BlockedCode OptNilUserBlockedCodeProperty `json:"blocked_code"`
	Role        OptNilUserRoleProperty        `json:"role"`
}

Ref: #/components/schemas/User

func (*User) Decode

func (s *User) Decode(d *jx.Decoder) error

Decode decodes User from json.

func (*User) Encode

func (s *User) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*User) GetBlocked

func (s *User) GetBlocked() OptBool

GetBlocked returns the value of Blocked.

func (*User) GetBlockedCode

func (s *User) GetBlockedCode() OptNilUserBlockedCodeProperty

GetBlockedCode returns the value of BlockedCode.

func (*User) GetCreatedAt

func (s *User) GetCreatedAt() OptDateTime

GetCreatedAt returns the value of CreatedAt.

func (*User) GetEmail

func (s *User) GetEmail() string

GetEmail returns the value of Email.

func (*User) GetRole

func (s *User) GetRole() OptNilUserRoleProperty

GetRole returns the value of Role.

func (*User) GetUpdatedAt

func (s *User) GetUpdatedAt() OptDateTime

GetUpdatedAt returns the value of UpdatedAt.

func (*User) MarshalJSON

func (s *User) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*User) SetBlocked

func (s *User) SetBlocked(val OptBool)

SetBlocked sets the value of Blocked.

func (*User) SetBlockedCode

func (s *User) SetBlockedCode(val OptNilUserBlockedCodeProperty)

SetBlockedCode sets the value of BlockedCode.

func (*User) SetCreatedAt

func (s *User) SetCreatedAt(val OptDateTime)

SetCreatedAt sets the value of CreatedAt.

func (*User) SetEmail

func (s *User) SetEmail(val string)

SetEmail sets the value of Email.

func (*User) SetRole

func (s *User) SetRole(val OptNilUserRoleProperty)

SetRole sets the value of Role.

func (*User) SetUpdatedAt

func (s *User) SetUpdatedAt(val OptDateTime)

SetUpdatedAt sets the value of UpdatedAt.

func (*User) UnmarshalJSON

func (s *User) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*User) Validate

func (s *User) Validate() error

type UserArray

type UserArray struct {
	Data  []UserRead `json:"data"`
	Meta  Meta       `json:"meta"`
	Links PageLink   `json:"links"`
}

Ref: #/components/schemas/UserArray

func (*UserArray) Decode

func (s *UserArray) Decode(d *jx.Decoder) error

Decode decodes UserArray from json.

func (*UserArray) Encode

func (s *UserArray) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*UserArray) GetData

func (s *UserArray) GetData() []UserRead

GetData returns the value of Data.

func (s *UserArray) GetLinks() PageLink

GetLinks returns the value of Links.

func (*UserArray) GetMeta

func (s *UserArray) GetMeta() Meta

GetMeta returns the value of Meta.

func (*UserArray) MarshalJSON

func (s *UserArray) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*UserArray) SetData

func (s *UserArray) SetData(val []UserRead)

SetData sets the value of Data.

func (s *UserArray) SetLinks(val PageLink)

SetLinks sets the value of Links.

func (*UserArray) SetMeta

func (s *UserArray) SetMeta(val Meta)

SetMeta sets the value of Meta.

func (*UserArray) UnmarshalJSON

func (s *UserArray) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*UserArray) Validate

func (s *UserArray) Validate() error

type UserBlockedCodeProperty

type UserBlockedCodeProperty string

If you say the user must be blocked, this will be the reason code. Ref: #/components/schemas/UserBlockedCodeProperty

const (
	UserBlockedCodePropertyEmailChanged UserBlockedCodeProperty = "email_changed"
)

func (UserBlockedCodeProperty) AllValues

AllValues returns all UserBlockedCodeProperty values.

func (*UserBlockedCodeProperty) Decode

func (s *UserBlockedCodeProperty) Decode(d *jx.Decoder) error

Decode decodes UserBlockedCodeProperty from json.

func (UserBlockedCodeProperty) Encode

func (s UserBlockedCodeProperty) Encode(e *jx.Encoder)

Encode encodes UserBlockedCodeProperty as json.

func (UserBlockedCodeProperty) MarshalJSON

func (s UserBlockedCodeProperty) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (UserBlockedCodeProperty) MarshalText

func (s UserBlockedCodeProperty) MarshalText() ([]byte, error)

MarshalText implements encoding.TextMarshaler.

func (*UserBlockedCodeProperty) UnmarshalJSON

func (s *UserBlockedCodeProperty) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*UserBlockedCodeProperty) UnmarshalText

func (s *UserBlockedCodeProperty) UnmarshalText(data []byte) error

UnmarshalText implements encoding.TextUnmarshaler.

func (UserBlockedCodeProperty) Validate

func (s UserBlockedCodeProperty) Validate() error

type UserRead

type UserRead struct {
	// Immutable value.
	Type       string     `json:"type"`
	ID         string     `json:"id"`
	Attributes User       `json:"attributes"`
	Links      ObjectLink `json:"links"`
}

Ref: #/components/schemas/UserRead

func (*UserRead) Decode

func (s *UserRead) Decode(d *jx.Decoder) error

Decode decodes UserRead from json.

func (*UserRead) Encode

func (s *UserRead) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*UserRead) GetAttributes

func (s *UserRead) GetAttributes() User

GetAttributes returns the value of Attributes.

func (*UserRead) GetID

func (s *UserRead) GetID() string

GetID returns the value of ID.

func (s *UserRead) GetLinks() ObjectLink

GetLinks returns the value of Links.

func (*UserRead) GetType

func (s *UserRead) GetType() string

GetType returns the value of Type.

func (*UserRead) MarshalJSON

func (s *UserRead) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*UserRead) SetAttributes

func (s *UserRead) SetAttributes(val User)

SetAttributes sets the value of Attributes.

func (*UserRead) SetID

func (s *UserRead) SetID(val string)

SetID sets the value of ID.

func (s *UserRead) SetLinks(val ObjectLink)

SetLinks sets the value of Links.

func (*UserRead) SetType

func (s *UserRead) SetType(val string)

SetType sets the value of Type.

func (*UserRead) UnmarshalJSON

func (s *UserRead) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*UserRead) Validate

func (s *UserRead) Validate() error

type UserRoleProperty

type UserRoleProperty string

Role for the user. Can be empty or omitted. Ref: #/components/schemas/UserRoleProperty

const (
	UserRolePropertyOwner UserRoleProperty = "owner"
	UserRolePropertyDemo  UserRoleProperty = "demo"
)

func (UserRoleProperty) AllValues

func (UserRoleProperty) AllValues() []UserRoleProperty

AllValues returns all UserRoleProperty values.

func (*UserRoleProperty) Decode

func (s *UserRoleProperty) Decode(d *jx.Decoder) error

Decode decodes UserRoleProperty from json.

func (UserRoleProperty) Encode

func (s UserRoleProperty) Encode(e *jx.Encoder)

Encode encodes UserRoleProperty as json.

func (UserRoleProperty) MarshalJSON

func (s UserRoleProperty) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (UserRoleProperty) MarshalText

func (s UserRoleProperty) MarshalText() ([]byte, error)

MarshalText implements encoding.TextMarshaler.

func (*UserRoleProperty) UnmarshalJSON

func (s *UserRoleProperty) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*UserRoleProperty) UnmarshalText

func (s *UserRoleProperty) UnmarshalText(data []byte) error

UnmarshalText implements encoding.TextUnmarshaler.

func (UserRoleProperty) Validate

func (s UserRoleProperty) Validate() error

type UserSingle

type UserSingle struct {
	Data UserRead `json:"data"`
}

Ref: #/components/schemas/UserSingle

func (*UserSingle) Decode

func (s *UserSingle) Decode(d *jx.Decoder) error

Decode decodes UserSingle from json.

func (*UserSingle) Encode

func (s *UserSingle) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*UserSingle) GetData

func (s *UserSingle) GetData() UserRead

GetData returns the value of Data.

func (*UserSingle) MarshalJSON

func (s *UserSingle) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*UserSingle) SetData

func (s *UserSingle) SetData(val UserRead)

SetData sets the value of Data.

func (*UserSingle) UnmarshalJSON

func (s *UserSingle) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*UserSingle) Validate

func (s *UserSingle) Validate() error

type ValidationError

type ValidationError struct {
	Message OptString                `json:"message"`
	Errors  OptValidationErrorErrors `json:"errors"`
}

Ref: #/components/schemas/ValidationError

func (*ValidationError) Decode

func (s *ValidationError) Decode(d *jx.Decoder) error

Decode decodes ValidationError from json.

func (*ValidationError) Encode

func (s *ValidationError) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*ValidationError) GetErrors

GetErrors returns the value of Errors.

func (*ValidationError) GetMessage

func (s *ValidationError) GetMessage() OptString

GetMessage returns the value of Message.

func (*ValidationError) MarshalJSON

func (s *ValidationError) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*ValidationError) SetErrors

func (s *ValidationError) SetErrors(val OptValidationErrorErrors)

SetErrors sets the value of Errors.

func (*ValidationError) SetMessage

func (s *ValidationError) SetMessage(val OptString)

SetMessage sets the value of Message.

func (*ValidationError) UnmarshalJSON

func (s *ValidationError) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type ValidationErrorErrors

type ValidationErrorErrors struct {
	Email       []string `json:"email"`
	Blocked     []string `json:"blocked"`
	Role        []string `json:"role"`
	BlockedCode []string `json:"blocked_code"`
	Name        []string `json:"name"`
	Type        []string `json:"type"`
	Iban        []string `json:"iban"`
	Start       []string `json:"start"`
	End         []string `json:"end"`
	Date        []string `json:"date"`
}

func (*ValidationErrorErrors) Decode

func (s *ValidationErrorErrors) Decode(d *jx.Decoder) error

Decode decodes ValidationErrorErrors from json.

func (*ValidationErrorErrors) Encode

func (s *ValidationErrorErrors) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*ValidationErrorErrors) GetBlocked

func (s *ValidationErrorErrors) GetBlocked() []string

GetBlocked returns the value of Blocked.

func (*ValidationErrorErrors) GetBlockedCode

func (s *ValidationErrorErrors) GetBlockedCode() []string

GetBlockedCode returns the value of BlockedCode.

func (*ValidationErrorErrors) GetDate

func (s *ValidationErrorErrors) GetDate() []string

GetDate returns the value of Date.

func (*ValidationErrorErrors) GetEmail

func (s *ValidationErrorErrors) GetEmail() []string

GetEmail returns the value of Email.

func (*ValidationErrorErrors) GetEnd

func (s *ValidationErrorErrors) GetEnd() []string

GetEnd returns the value of End.

func (*ValidationErrorErrors) GetIban

func (s *ValidationErrorErrors) GetIban() []string

GetIban returns the value of Iban.

func (*ValidationErrorErrors) GetName

func (s *ValidationErrorErrors) GetName() []string

GetName returns the value of Name.

func (*ValidationErrorErrors) GetRole

func (s *ValidationErrorErrors) GetRole() []string

GetRole returns the value of Role.

func (*ValidationErrorErrors) GetStart

func (s *ValidationErrorErrors) GetStart() []string

GetStart returns the value of Start.

func (*ValidationErrorErrors) GetType

func (s *ValidationErrorErrors) GetType() []string

GetType returns the value of Type.

func (*ValidationErrorErrors) MarshalJSON

func (s *ValidationErrorErrors) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*ValidationErrorErrors) SetBlocked

func (s *ValidationErrorErrors) SetBlocked(val []string)

SetBlocked sets the value of Blocked.

func (*ValidationErrorErrors) SetBlockedCode

func (s *ValidationErrorErrors) SetBlockedCode(val []string)

SetBlockedCode sets the value of BlockedCode.

func (*ValidationErrorErrors) SetDate

func (s *ValidationErrorErrors) SetDate(val []string)

SetDate sets the value of Date.

func (*ValidationErrorErrors) SetEmail

func (s *ValidationErrorErrors) SetEmail(val []string)

SetEmail sets the value of Email.

func (*ValidationErrorErrors) SetEnd

func (s *ValidationErrorErrors) SetEnd(val []string)

SetEnd sets the value of End.

func (*ValidationErrorErrors) SetIban

func (s *ValidationErrorErrors) SetIban(val []string)

SetIban sets the value of Iban.

func (*ValidationErrorErrors) SetName

func (s *ValidationErrorErrors) SetName(val []string)

SetName sets the value of Name.

func (*ValidationErrorErrors) SetRole

func (s *ValidationErrorErrors) SetRole(val []string)

SetRole sets the value of Role.

func (*ValidationErrorErrors) SetStart

func (s *ValidationErrorErrors) SetStart(val []string)

SetStart sets the value of Start.

func (*ValidationErrorErrors) SetType

func (s *ValidationErrorErrors) SetType(val []string)

SetType sets the value of Type.

func (*ValidationErrorErrors) UnmarshalJSON

func (s *ValidationErrorErrors) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type Webhook

type Webhook struct {
	CreatedAt OptDateTime `json:"created_at"`
	UpdatedAt OptDateTime `json:"updated_at"`
	// Boolean to indicate if the webhook is active.
	Active OptBool `json:"active"`
	// A title for the webhook for easy recognition.
	Title string `json:"title"`
	// A 24-character secret for the webhook. It's generated by Firefly III when saving a new webhook. If
	// you submit a new secret through the PUT endpoint it will generate a new secret for the selected
	// webhook, a new secret bearing no relation to whatever you just submitted.
	Secret   OptString       `json:"secret"`
	Trigger  WebhookTrigger  `json:"trigger"`
	Response WebhookResponse `json:"response"`
	Delivery WebhookDelivery `json:"delivery"`
	// The URL of the webhook. Has to start with `https`.
	URL string `json:"url"`
}

Ref: #/components/schemas/Webhook

func (*Webhook) Decode

func (s *Webhook) Decode(d *jx.Decoder) error

Decode decodes Webhook from json.

func (*Webhook) Encode

func (s *Webhook) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*Webhook) GetActive

func (s *Webhook) GetActive() OptBool

GetActive returns the value of Active.

func (*Webhook) GetCreatedAt

func (s *Webhook) GetCreatedAt() OptDateTime

GetCreatedAt returns the value of CreatedAt.

func (*Webhook) GetDelivery

func (s *Webhook) GetDelivery() WebhookDelivery

GetDelivery returns the value of Delivery.

func (*Webhook) GetResponse

func (s *Webhook) GetResponse() WebhookResponse

GetResponse returns the value of Response.

func (*Webhook) GetSecret

func (s *Webhook) GetSecret() OptString

GetSecret returns the value of Secret.

func (*Webhook) GetTitle

func (s *Webhook) GetTitle() string

GetTitle returns the value of Title.

func (*Webhook) GetTrigger

func (s *Webhook) GetTrigger() WebhookTrigger

GetTrigger returns the value of Trigger.

func (*Webhook) GetURL

func (s *Webhook) GetURL() string

GetURL returns the value of URL.

func (*Webhook) GetUpdatedAt

func (s *Webhook) GetUpdatedAt() OptDateTime

GetUpdatedAt returns the value of UpdatedAt.

func (*Webhook) MarshalJSON

func (s *Webhook) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*Webhook) SetActive

func (s *Webhook) SetActive(val OptBool)

SetActive sets the value of Active.

func (*Webhook) SetCreatedAt

func (s *Webhook) SetCreatedAt(val OptDateTime)

SetCreatedAt sets the value of CreatedAt.

func (*Webhook) SetDelivery

func (s *Webhook) SetDelivery(val WebhookDelivery)

SetDelivery sets the value of Delivery.

func (*Webhook) SetResponse

func (s *Webhook) SetResponse(val WebhookResponse)

SetResponse sets the value of Response.

func (*Webhook) SetSecret

func (s *Webhook) SetSecret(val OptString)

SetSecret sets the value of Secret.

func (*Webhook) SetTitle

func (s *Webhook) SetTitle(val string)

SetTitle sets the value of Title.

func (*Webhook) SetTrigger

func (s *Webhook) SetTrigger(val WebhookTrigger)

SetTrigger sets the value of Trigger.

func (*Webhook) SetURL

func (s *Webhook) SetURL(val string)

SetURL sets the value of URL.

func (*Webhook) SetUpdatedAt

func (s *Webhook) SetUpdatedAt(val OptDateTime)

SetUpdatedAt sets the value of UpdatedAt.

func (*Webhook) UnmarshalJSON

func (s *Webhook) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*Webhook) Validate

func (s *Webhook) Validate() error

type WebhookArray

type WebhookArray struct {
	Data  []WebhookRead `json:"data"`
	Meta  Meta          `json:"meta"`
	Links PageLink      `json:"links"`
}

Ref: #/components/schemas/WebhookArray

func (*WebhookArray) Decode

func (s *WebhookArray) Decode(d *jx.Decoder) error

Decode decodes WebhookArray from json.

func (*WebhookArray) Encode

func (s *WebhookArray) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*WebhookArray) GetData

func (s *WebhookArray) GetData() []WebhookRead

GetData returns the value of Data.

func (s *WebhookArray) GetLinks() PageLink

GetLinks returns the value of Links.

func (*WebhookArray) GetMeta

func (s *WebhookArray) GetMeta() Meta

GetMeta returns the value of Meta.

func (*WebhookArray) MarshalJSON

func (s *WebhookArray) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*WebhookArray) SetData

func (s *WebhookArray) SetData(val []WebhookRead)

SetData sets the value of Data.

func (s *WebhookArray) SetLinks(val PageLink)

SetLinks sets the value of Links.

func (*WebhookArray) SetMeta

func (s *WebhookArray) SetMeta(val Meta)

SetMeta sets the value of Meta.

func (*WebhookArray) UnmarshalJSON

func (s *WebhookArray) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*WebhookArray) Validate

func (s *WebhookArray) Validate() error

type WebhookAttempt

type WebhookAttempt struct {
	CreatedAt OptDateTime `json:"created_at"`
	UpdatedAt OptDateTime `json:"updated_at"`
	// The ID of the webhook message this attempt belongs to.
	WebhookMessageID OptString `json:"webhook_message_id"`
	// The HTTP status code of the error, if any.
	StatusCode OptNilInt32 `json:"status_code"`
	// Internal log for this attempt. May contain sensitive user data.
	Logs OptNilString `json:"logs"`
	// Webhook receiver response for this attempt, if any. May contain sensitive user data.
	Response OptNilString `json:"response"`
}

Ref: #/components/schemas/WebhookAttempt

func (*WebhookAttempt) Decode

func (s *WebhookAttempt) Decode(d *jx.Decoder) error

Decode decodes WebhookAttempt from json.

func (*WebhookAttempt) Encode

func (s *WebhookAttempt) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*WebhookAttempt) GetCreatedAt

func (s *WebhookAttempt) GetCreatedAt() OptDateTime

GetCreatedAt returns the value of CreatedAt.

func (*WebhookAttempt) GetLogs

func (s *WebhookAttempt) GetLogs() OptNilString

GetLogs returns the value of Logs.

func (*WebhookAttempt) GetResponse

func (s *WebhookAttempt) GetResponse() OptNilString

GetResponse returns the value of Response.

func (*WebhookAttempt) GetStatusCode

func (s *WebhookAttempt) GetStatusCode() OptNilInt32

GetStatusCode returns the value of StatusCode.

func (*WebhookAttempt) GetUpdatedAt

func (s *WebhookAttempt) GetUpdatedAt() OptDateTime

GetUpdatedAt returns the value of UpdatedAt.

func (*WebhookAttempt) GetWebhookMessageID

func (s *WebhookAttempt) GetWebhookMessageID() OptString

GetWebhookMessageID returns the value of WebhookMessageID.

func (*WebhookAttempt) MarshalJSON

func (s *WebhookAttempt) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*WebhookAttempt) SetCreatedAt

func (s *WebhookAttempt) SetCreatedAt(val OptDateTime)

SetCreatedAt sets the value of CreatedAt.

func (*WebhookAttempt) SetLogs

func (s *WebhookAttempt) SetLogs(val OptNilString)

SetLogs sets the value of Logs.

func (*WebhookAttempt) SetResponse

func (s *WebhookAttempt) SetResponse(val OptNilString)

SetResponse sets the value of Response.

func (*WebhookAttempt) SetStatusCode

func (s *WebhookAttempt) SetStatusCode(val OptNilInt32)

SetStatusCode sets the value of StatusCode.

func (*WebhookAttempt) SetUpdatedAt

func (s *WebhookAttempt) SetUpdatedAt(val OptDateTime)

SetUpdatedAt sets the value of UpdatedAt.

func (*WebhookAttempt) SetWebhookMessageID

func (s *WebhookAttempt) SetWebhookMessageID(val OptString)

SetWebhookMessageID sets the value of WebhookMessageID.

func (*WebhookAttempt) UnmarshalJSON

func (s *WebhookAttempt) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type WebhookAttemptArray

type WebhookAttemptArray struct {
	Data []WebhookAttemptRead `json:"data"`
	Meta Meta                 `json:"meta"`
}

Ref: #/components/schemas/WebhookAttemptArray

func (*WebhookAttemptArray) Decode

func (s *WebhookAttemptArray) Decode(d *jx.Decoder) error

Decode decodes WebhookAttemptArray from json.

func (*WebhookAttemptArray) Encode

func (s *WebhookAttemptArray) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*WebhookAttemptArray) GetData

func (s *WebhookAttemptArray) GetData() []WebhookAttemptRead

GetData returns the value of Data.

func (*WebhookAttemptArray) GetMeta

func (s *WebhookAttemptArray) GetMeta() Meta

GetMeta returns the value of Meta.

func (*WebhookAttemptArray) MarshalJSON

func (s *WebhookAttemptArray) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*WebhookAttemptArray) SetData

func (s *WebhookAttemptArray) SetData(val []WebhookAttemptRead)

SetData sets the value of Data.

func (*WebhookAttemptArray) SetMeta

func (s *WebhookAttemptArray) SetMeta(val Meta)

SetMeta sets the value of Meta.

func (*WebhookAttemptArray) UnmarshalJSON

func (s *WebhookAttemptArray) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*WebhookAttemptArray) Validate

func (s *WebhookAttemptArray) Validate() error

type WebhookAttemptRead

type WebhookAttemptRead struct {
	// Immutable value.
	Type       string         `json:"type"`
	ID         string         `json:"id"`
	Attributes WebhookAttempt `json:"attributes"`
}

Ref: #/components/schemas/WebhookAttemptRead

func (*WebhookAttemptRead) Decode

func (s *WebhookAttemptRead) Decode(d *jx.Decoder) error

Decode decodes WebhookAttemptRead from json.

func (*WebhookAttemptRead) Encode

func (s *WebhookAttemptRead) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*WebhookAttemptRead) GetAttributes

func (s *WebhookAttemptRead) GetAttributes() WebhookAttempt

GetAttributes returns the value of Attributes.

func (*WebhookAttemptRead) GetID

func (s *WebhookAttemptRead) GetID() string

GetID returns the value of ID.

func (*WebhookAttemptRead) GetType

func (s *WebhookAttemptRead) GetType() string

GetType returns the value of Type.

func (*WebhookAttemptRead) MarshalJSON

func (s *WebhookAttemptRead) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*WebhookAttemptRead) SetAttributes

func (s *WebhookAttemptRead) SetAttributes(val WebhookAttempt)

SetAttributes sets the value of Attributes.

func (*WebhookAttemptRead) SetID

func (s *WebhookAttemptRead) SetID(val string)

SetID sets the value of ID.

func (*WebhookAttemptRead) SetType

func (s *WebhookAttemptRead) SetType(val string)

SetType sets the value of Type.

func (*WebhookAttemptRead) UnmarshalJSON

func (s *WebhookAttemptRead) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type WebhookAttemptSingle

type WebhookAttemptSingle struct {
	Data WebhookAttemptRead `json:"data"`
}

Ref: #/components/schemas/WebhookAttemptSingle

func (*WebhookAttemptSingle) Decode

func (s *WebhookAttemptSingle) Decode(d *jx.Decoder) error

Decode decodes WebhookAttemptSingle from json.

func (*WebhookAttemptSingle) Encode

func (s *WebhookAttemptSingle) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*WebhookAttemptSingle) GetData

GetData returns the value of Data.

func (*WebhookAttemptSingle) MarshalJSON

func (s *WebhookAttemptSingle) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*WebhookAttemptSingle) SetData

func (s *WebhookAttemptSingle) SetData(val WebhookAttemptRead)

SetData sets the value of Data.

func (*WebhookAttemptSingle) UnmarshalJSON

func (s *WebhookAttemptSingle) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type WebhookDelivery

type WebhookDelivery string

Format of the delivered response. Ref: #/components/schemas/WebhookDelivery

const (
	WebhookDeliveryJSON WebhookDelivery = "JSON"
)

func (WebhookDelivery) AllValues

func (WebhookDelivery) AllValues() []WebhookDelivery

AllValues returns all WebhookDelivery values.

func (*WebhookDelivery) Decode

func (s *WebhookDelivery) Decode(d *jx.Decoder) error

Decode decodes WebhookDelivery from json.

func (WebhookDelivery) Encode

func (s WebhookDelivery) Encode(e *jx.Encoder)

Encode encodes WebhookDelivery as json.

func (WebhookDelivery) MarshalJSON

func (s WebhookDelivery) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (WebhookDelivery) MarshalText

func (s WebhookDelivery) MarshalText() ([]byte, error)

MarshalText implements encoding.TextMarshaler.

func (*WebhookDelivery) UnmarshalJSON

func (s *WebhookDelivery) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*WebhookDelivery) UnmarshalText

func (s *WebhookDelivery) UnmarshalText(data []byte) error

UnmarshalText implements encoding.TextUnmarshaler.

func (WebhookDelivery) Validate

func (s WebhookDelivery) Validate() error

type WebhookMessage

type WebhookMessage struct {
	CreatedAt OptDateTime `json:"created_at"`
	UpdatedAt OptDateTime `json:"updated_at"`
	// If this message is sent yet.
	Sent OptBool `json:"sent"`
	// If this message has errored out.
	Errored OptBool `json:"errored"`
	// The ID of the webhook this message belongs to.
	WebhookID OptString `json:"webhook_id"`
	// Long UUID string for identification of this webhook message.
	UUID OptString `json:"uuid"`
	// The actual message that is sent or will be sent as JSON string.
	String OptNilString `json:"string"`
}

Ref: #/components/schemas/WebhookMessage

func (*WebhookMessage) Decode

func (s *WebhookMessage) Decode(d *jx.Decoder) error

Decode decodes WebhookMessage from json.

func (*WebhookMessage) Encode

func (s *WebhookMessage) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*WebhookMessage) GetCreatedAt

func (s *WebhookMessage) GetCreatedAt() OptDateTime

GetCreatedAt returns the value of CreatedAt.

func (*WebhookMessage) GetErrored

func (s *WebhookMessage) GetErrored() OptBool

GetErrored returns the value of Errored.

func (*WebhookMessage) GetSent

func (s *WebhookMessage) GetSent() OptBool

GetSent returns the value of Sent.

func (*WebhookMessage) GetString

func (s *WebhookMessage) GetString() OptNilString

GetString returns the value of String.

func (*WebhookMessage) GetUUID

func (s *WebhookMessage) GetUUID() OptString

GetUUID returns the value of UUID.

func (*WebhookMessage) GetUpdatedAt

func (s *WebhookMessage) GetUpdatedAt() OptDateTime

GetUpdatedAt returns the value of UpdatedAt.

func (*WebhookMessage) GetWebhookID

func (s *WebhookMessage) GetWebhookID() OptString

GetWebhookID returns the value of WebhookID.

func (*WebhookMessage) MarshalJSON

func (s *WebhookMessage) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*WebhookMessage) SetCreatedAt

func (s *WebhookMessage) SetCreatedAt(val OptDateTime)

SetCreatedAt sets the value of CreatedAt.

func (*WebhookMessage) SetErrored

func (s *WebhookMessage) SetErrored(val OptBool)

SetErrored sets the value of Errored.

func (*WebhookMessage) SetSent

func (s *WebhookMessage) SetSent(val OptBool)

SetSent sets the value of Sent.

func (*WebhookMessage) SetString

func (s *WebhookMessage) SetString(val OptNilString)

SetString sets the value of String.

func (*WebhookMessage) SetUUID

func (s *WebhookMessage) SetUUID(val OptString)

SetUUID sets the value of UUID.

func (*WebhookMessage) SetUpdatedAt

func (s *WebhookMessage) SetUpdatedAt(val OptDateTime)

SetUpdatedAt sets the value of UpdatedAt.

func (*WebhookMessage) SetWebhookID

func (s *WebhookMessage) SetWebhookID(val OptString)

SetWebhookID sets the value of WebhookID.

func (*WebhookMessage) UnmarshalJSON

func (s *WebhookMessage) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type WebhookMessageArray

type WebhookMessageArray struct {
	Data []WebhookMessageRead `json:"data"`
	Meta Meta                 `json:"meta"`
}

Ref: #/components/schemas/WebhookMessageArray

func (*WebhookMessageArray) Decode

func (s *WebhookMessageArray) Decode(d *jx.Decoder) error

Decode decodes WebhookMessageArray from json.

func (*WebhookMessageArray) Encode

func (s *WebhookMessageArray) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*WebhookMessageArray) GetData

func (s *WebhookMessageArray) GetData() []WebhookMessageRead

GetData returns the value of Data.

func (*WebhookMessageArray) GetMeta

func (s *WebhookMessageArray) GetMeta() Meta

GetMeta returns the value of Meta.

func (*WebhookMessageArray) MarshalJSON

func (s *WebhookMessageArray) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*WebhookMessageArray) SetData

func (s *WebhookMessageArray) SetData(val []WebhookMessageRead)

SetData sets the value of Data.

func (*WebhookMessageArray) SetMeta

func (s *WebhookMessageArray) SetMeta(val Meta)

SetMeta sets the value of Meta.

func (*WebhookMessageArray) UnmarshalJSON

func (s *WebhookMessageArray) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*WebhookMessageArray) Validate

func (s *WebhookMessageArray) Validate() error

type WebhookMessageRead

type WebhookMessageRead struct {
	// Immutable value.
	Type       string         `json:"type"`
	ID         string         `json:"id"`
	Attributes WebhookMessage `json:"attributes"`
}

Ref: #/components/schemas/WebhookMessageRead

func (*WebhookMessageRead) Decode

func (s *WebhookMessageRead) Decode(d *jx.Decoder) error

Decode decodes WebhookMessageRead from json.

func (*WebhookMessageRead) Encode

func (s *WebhookMessageRead) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*WebhookMessageRead) GetAttributes

func (s *WebhookMessageRead) GetAttributes() WebhookMessage

GetAttributes returns the value of Attributes.

func (*WebhookMessageRead) GetID

func (s *WebhookMessageRead) GetID() string

GetID returns the value of ID.

func (*WebhookMessageRead) GetType

func (s *WebhookMessageRead) GetType() string

GetType returns the value of Type.

func (*WebhookMessageRead) MarshalJSON

func (s *WebhookMessageRead) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*WebhookMessageRead) SetAttributes

func (s *WebhookMessageRead) SetAttributes(val WebhookMessage)

SetAttributes sets the value of Attributes.

func (*WebhookMessageRead) SetID

func (s *WebhookMessageRead) SetID(val string)

SetID sets the value of ID.

func (*WebhookMessageRead) SetType

func (s *WebhookMessageRead) SetType(val string)

SetType sets the value of Type.

func (*WebhookMessageRead) UnmarshalJSON

func (s *WebhookMessageRead) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type WebhookMessageSingle

type WebhookMessageSingle struct {
	Data WebhookMessageRead `json:"data"`
}

Ref: #/components/schemas/WebhookMessageSingle

func (*WebhookMessageSingle) Decode

func (s *WebhookMessageSingle) Decode(d *jx.Decoder) error

Decode decodes WebhookMessageSingle from json.

func (*WebhookMessageSingle) Encode

func (s *WebhookMessageSingle) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*WebhookMessageSingle) GetData

GetData returns the value of Data.

func (*WebhookMessageSingle) MarshalJSON

func (s *WebhookMessageSingle) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*WebhookMessageSingle) SetData

func (s *WebhookMessageSingle) SetData(val WebhookMessageRead)

SetData sets the value of Data.

func (*WebhookMessageSingle) UnmarshalJSON

func (s *WebhookMessageSingle) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type WebhookRead

type WebhookRead struct {
	// Immutable value.
	Type       string     `json:"type"`
	ID         string     `json:"id"`
	Attributes Webhook    `json:"attributes"`
	Links      ObjectLink `json:"links"`
}

Ref: #/components/schemas/WebhookRead

func (*WebhookRead) Decode

func (s *WebhookRead) Decode(d *jx.Decoder) error

Decode decodes WebhookRead from json.

func (*WebhookRead) Encode

func (s *WebhookRead) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*WebhookRead) GetAttributes

func (s *WebhookRead) GetAttributes() Webhook

GetAttributes returns the value of Attributes.

func (*WebhookRead) GetID

func (s *WebhookRead) GetID() string

GetID returns the value of ID.

func (s *WebhookRead) GetLinks() ObjectLink

GetLinks returns the value of Links.

func (*WebhookRead) GetType

func (s *WebhookRead) GetType() string

GetType returns the value of Type.

func (*WebhookRead) MarshalJSON

func (s *WebhookRead) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*WebhookRead) SetAttributes

func (s *WebhookRead) SetAttributes(val Webhook)

SetAttributes sets the value of Attributes.

func (*WebhookRead) SetID

func (s *WebhookRead) SetID(val string)

SetID sets the value of ID.

func (s *WebhookRead) SetLinks(val ObjectLink)

SetLinks sets the value of Links.

func (*WebhookRead) SetType

func (s *WebhookRead) SetType(val string)

SetType sets the value of Type.

func (*WebhookRead) UnmarshalJSON

func (s *WebhookRead) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*WebhookRead) Validate

func (s *WebhookRead) Validate() error

type WebhookResponse

type WebhookResponse string

Indicator for what Firefly III will deliver to the webhook URL. Ref: #/components/schemas/WebhookResponse

const (
	WebhookResponseTRANSACTIONS WebhookResponse = "TRANSACTIONS"
	WebhookResponseACCOUNTS     WebhookResponse = "ACCOUNTS"
	WebhookResponseNONE         WebhookResponse = "NONE"
)

func (WebhookResponse) AllValues

func (WebhookResponse) AllValues() []WebhookResponse

AllValues returns all WebhookResponse values.

func (*WebhookResponse) Decode

func (s *WebhookResponse) Decode(d *jx.Decoder) error

Decode decodes WebhookResponse from json.

func (WebhookResponse) Encode

func (s WebhookResponse) Encode(e *jx.Encoder)

Encode encodes WebhookResponse as json.

func (WebhookResponse) MarshalJSON

func (s WebhookResponse) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (WebhookResponse) MarshalText

func (s WebhookResponse) MarshalText() ([]byte, error)

MarshalText implements encoding.TextMarshaler.

func (*WebhookResponse) UnmarshalJSON

func (s *WebhookResponse) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*WebhookResponse) UnmarshalText

func (s *WebhookResponse) UnmarshalText(data []byte) error

UnmarshalText implements encoding.TextUnmarshaler.

func (WebhookResponse) Validate

func (s WebhookResponse) Validate() error

type WebhookSingle

type WebhookSingle struct {
	Data WebhookRead `json:"data"`
}

Ref: #/components/schemas/WebhookSingle

func (*WebhookSingle) Decode

func (s *WebhookSingle) Decode(d *jx.Decoder) error

Decode decodes WebhookSingle from json.

func (*WebhookSingle) Encode

func (s *WebhookSingle) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*WebhookSingle) GetData

func (s *WebhookSingle) GetData() WebhookRead

GetData returns the value of Data.

func (*WebhookSingle) MarshalJSON

func (s *WebhookSingle) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*WebhookSingle) SetData

func (s *WebhookSingle) SetData(val WebhookRead)

SetData sets the value of Data.

func (*WebhookSingle) UnmarshalJSON

func (s *WebhookSingle) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*WebhookSingle) Validate

func (s *WebhookSingle) Validate() error

type WebhookStore

type WebhookStore struct {
	// Boolean to indicate if the webhook is active.
	Active OptBool `json:"active"`
	// A title for the webhook for easy recognition.
	Title    string          `json:"title"`
	Trigger  WebhookTrigger  `json:"trigger"`
	Response WebhookResponse `json:"response"`
	Delivery WebhookDelivery `json:"delivery"`
	// The URL of the webhook. Has to start with `https`.
	URL string `json:"url"`
}

Ref: #/components/schemas/WebhookStore

func (*WebhookStore) Decode

func (s *WebhookStore) Decode(d *jx.Decoder) error

Decode decodes WebhookStore from json.

func (*WebhookStore) Encode

func (s *WebhookStore) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*WebhookStore) GetActive

func (s *WebhookStore) GetActive() OptBool

GetActive returns the value of Active.

func (*WebhookStore) GetDelivery

func (s *WebhookStore) GetDelivery() WebhookDelivery

GetDelivery returns the value of Delivery.

func (*WebhookStore) GetResponse

func (s *WebhookStore) GetResponse() WebhookResponse

GetResponse returns the value of Response.

func (*WebhookStore) GetTitle

func (s *WebhookStore) GetTitle() string

GetTitle returns the value of Title.

func (*WebhookStore) GetTrigger

func (s *WebhookStore) GetTrigger() WebhookTrigger

GetTrigger returns the value of Trigger.

func (*WebhookStore) GetURL

func (s *WebhookStore) GetURL() string

GetURL returns the value of URL.

func (*WebhookStore) MarshalJSON

func (s *WebhookStore) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*WebhookStore) SetActive

func (s *WebhookStore) SetActive(val OptBool)

SetActive sets the value of Active.

func (*WebhookStore) SetDelivery

func (s *WebhookStore) SetDelivery(val WebhookDelivery)

SetDelivery sets the value of Delivery.

func (*WebhookStore) SetResponse

func (s *WebhookStore) SetResponse(val WebhookResponse)

SetResponse sets the value of Response.

func (*WebhookStore) SetTitle

func (s *WebhookStore) SetTitle(val string)

SetTitle sets the value of Title.

func (*WebhookStore) SetTrigger

func (s *WebhookStore) SetTrigger(val WebhookTrigger)

SetTrigger sets the value of Trigger.

func (*WebhookStore) SetURL

func (s *WebhookStore) SetURL(val string)

SetURL sets the value of URL.

func (*WebhookStore) UnmarshalJSON

func (s *WebhookStore) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*WebhookStore) Validate

func (s *WebhookStore) Validate() error

type WebhookTrigger

type WebhookTrigger string

The triggers for the webhook. Ref: #/components/schemas/WebhookTrigger

const (
	WebhookTriggerSTORETRANSACTION   WebhookTrigger = "STORE_TRANSACTION"
	WebhookTriggerUPDATETRANSACTION  WebhookTrigger = "UPDATE_TRANSACTION"
	WebhookTriggerDESTROYTRANSACTION WebhookTrigger = "DESTROY_TRANSACTION"
)

func (WebhookTrigger) AllValues

func (WebhookTrigger) AllValues() []WebhookTrigger

AllValues returns all WebhookTrigger values.

func (*WebhookTrigger) Decode

func (s *WebhookTrigger) Decode(d *jx.Decoder) error

Decode decodes WebhookTrigger from json.

func (WebhookTrigger) Encode

func (s WebhookTrigger) Encode(e *jx.Encoder)

Encode encodes WebhookTrigger as json.

func (WebhookTrigger) MarshalJSON

func (s WebhookTrigger) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (WebhookTrigger) MarshalText

func (s WebhookTrigger) MarshalText() ([]byte, error)

MarshalText implements encoding.TextMarshaler.

func (*WebhookTrigger) UnmarshalJSON

func (s *WebhookTrigger) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*WebhookTrigger) UnmarshalText

func (s *WebhookTrigger) UnmarshalText(data []byte) error

UnmarshalText implements encoding.TextUnmarshaler.

func (WebhookTrigger) Validate

func (s WebhookTrigger) Validate() error

type WebhookUpdate

type WebhookUpdate struct {
	// Boolean to indicate if the webhook is active.
	Active OptBool `json:"active"`
	// A title for the webhook for easy recognition.
	Title OptString `json:"title"`
	// A 24-character secret for the webhook. It's generated by Firefly III when saving a new webhook. If
	// you submit a new secret through the PUT endpoint it will generate a new secret for the selected
	// webhook, a new secret bearing no relation to whatever you just submitted.
	Secret   OptString          `json:"secret"`
	Trigger  OptWebhookTrigger  `json:"trigger"`
	Response OptWebhookResponse `json:"response"`
	Delivery OptWebhookDelivery `json:"delivery"`
	// The URL of the webhook. Has to start with `https`.
	URL OptString `json:"url"`
}

Ref: #/components/schemas/WebhookUpdate

func (*WebhookUpdate) Decode

func (s *WebhookUpdate) Decode(d *jx.Decoder) error

Decode decodes WebhookUpdate from json.

func (*WebhookUpdate) Encode

func (s *WebhookUpdate) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*WebhookUpdate) GetActive

func (s *WebhookUpdate) GetActive() OptBool

GetActive returns the value of Active.

func (*WebhookUpdate) GetDelivery

func (s *WebhookUpdate) GetDelivery() OptWebhookDelivery

GetDelivery returns the value of Delivery.

func (*WebhookUpdate) GetResponse

func (s *WebhookUpdate) GetResponse() OptWebhookResponse

GetResponse returns the value of Response.

func (*WebhookUpdate) GetSecret

func (s *WebhookUpdate) GetSecret() OptString

GetSecret returns the value of Secret.

func (*WebhookUpdate) GetTitle

func (s *WebhookUpdate) GetTitle() OptString

GetTitle returns the value of Title.

func (*WebhookUpdate) GetTrigger

func (s *WebhookUpdate) GetTrigger() OptWebhookTrigger

GetTrigger returns the value of Trigger.

func (*WebhookUpdate) GetURL

func (s *WebhookUpdate) GetURL() OptString

GetURL returns the value of URL.

func (*WebhookUpdate) MarshalJSON

func (s *WebhookUpdate) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*WebhookUpdate) SetActive

func (s *WebhookUpdate) SetActive(val OptBool)

SetActive sets the value of Active.

func (*WebhookUpdate) SetDelivery

func (s *WebhookUpdate) SetDelivery(val OptWebhookDelivery)

SetDelivery sets the value of Delivery.

func (*WebhookUpdate) SetResponse

func (s *WebhookUpdate) SetResponse(val OptWebhookResponse)

SetResponse sets the value of Response.

func (*WebhookUpdate) SetSecret

func (s *WebhookUpdate) SetSecret(val OptString)

SetSecret sets the value of Secret.

func (*WebhookUpdate) SetTitle

func (s *WebhookUpdate) SetTitle(val OptString)

SetTitle sets the value of Title.

func (*WebhookUpdate) SetTrigger

func (s *WebhookUpdate) SetTrigger(val OptWebhookTrigger)

SetTrigger sets the value of Trigger.

func (*WebhookUpdate) SetURL

func (s *WebhookUpdate) SetURL(val OptString)

SetURL sets the value of URL.

func (*WebhookUpdate) UnmarshalJSON

func (s *WebhookUpdate) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*WebhookUpdate) Validate

func (s *WebhookUpdate) Validate() error

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL