models

package
v0.0.0-...-7b99a6d Latest Latest
Warning

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

Go to latest
Published: Jan 29, 2024 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BusinessEntity

type BusinessEntity struct {

	// document
	// Required: true
	Document *Document1 `json:"document"`
}

BusinessEntity BusinessEntity

Titular, pessoa jurdica a quem se referem os dados que so objeto de compartilhamento.

swagger:model BusinessEntity

func (*BusinessEntity) ContextValidate

func (m *BusinessEntity) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this business entity based on the context it is used

func (*BusinessEntity) MarshalBinary

func (m *BusinessEntity) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*BusinessEntity) UnmarshalBinary

func (m *BusinessEntity) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*BusinessEntity) Validate

func (m *BusinessEntity) Validate(formats strfmt.Registry) error

Validate validates this business entity

type CreateConsent

type CreateConsent struct {

	// data
	// Required: true
	Data *Data `json:"data"`
}

CreateConsent CreateConsent

swagger:model CreateConsent

func (*CreateConsent) ContextValidate

func (m *CreateConsent) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this create consent based on the context it is used

func (*CreateConsent) MarshalBinary

func (m *CreateConsent) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*CreateConsent) UnmarshalBinary

func (m *CreateConsent) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*CreateConsent) Validate

func (m *CreateConsent) Validate(formats strfmt.Registry) error

Validate validates this create consent

type Data

type Data struct {

	// business entity
	BusinessEntity *BusinessEntity `json:"businessEntity,omitempty"`

	// Data e hora de expirao da permisso. De preenchimento obrigatrio, reflete a data limite de validade do consentimento. Uma string com data e hora conforme especificao RFC-3339, sempre com a utilizao de timezone UTC(UTC time format).
	// Example: 2021-05-21T08:30:00Z
	// Required: true
	// Format: date-time
	ExpirationDateTime strfmt.DateTime `json:"expirationDateTime"`

	// logged user
	// Required: true
	LoggedUser *LoggedUser `json:"loggedUser"`

	// permissions
	// Example: ["ACCOUNTS_READ","ACCOUNTS_OVERDRAFT_LIMITS_READ","RESOURCES_READ"]
	// Required: true
	// Max Items: 30
	// Min Items: 1
	Permissions []Permission `json:"permissions"`

	// Data e hora da transao inicial. Se no for preenchido, a transao ter a data aberta e a data ser retornada com a primeira transao disponvel. Uma string com data e hora conforme especificao RFC-3339, sempre com a utilizao de timezone UTC(UTC time format).
	// Example: 2021-01-01T00:00:00Z
	// Format: date-time
	TransactionFromDateTime strfmt.DateTime `json:"transactionFromDateTime,omitempty"`

	// Data e hora final da transao. Se no for preenchido, a transao ter a data aberta e a data ser retornada com a ultima transao disponvel. Uma string com data e hora conforme especificao RFC-3339, sempre com a utilizao de timezone UTC(UTC time format).
	// Example: 2021-02-01T23:59:59Z
	// Format: date-time
	TransactionToDateTime strfmt.DateTime `json:"transactionToDateTime,omitempty"`
}

Data Data

swagger:model Data

func (*Data) ContextValidate

func (m *Data) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this data based on the context it is used

func (*Data) MarshalBinary

func (m *Data) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Data) UnmarshalBinary

func (m *Data) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Data) Validate

func (m *Data) Validate(formats strfmt.Registry) error

Validate validates this data

type Data1

type Data1 struct {

	// O consentId  o identificador nico do consentimento e dever ser um URN - Uniform Resource Name.
	// Um URN, conforme definido na [RFC8141](https://tools.ietf.org/html/rfc8141)  um Uniform Resource
	// Identifier - URI - que  atribudo sob o URI scheme "urn" e um namespace URN especfico, com a inteno de que o URN
	// seja um identificador de recurso persistente e independente da localizao.
	// Considerando a string urn:bancoex:C1DD33123 como exemplo para consentId temos:
	// - o namespace(urn)
	// - o identificador associado ao namespace da instituio transnmissora (bancoex)
	// - o identificador especfico dentro do namespace (C1DD33123).
	// Informaes mais detalhadas sobre a construo de namespaces devem ser consultadas na [RFC8141](https://tools.ietf.org/html/rfc8141).
	// Example: urn:bancoex:C1DD33123
	// Required: true
	// Max Length: 256
	// Pattern: ^urn:[a-zA-Z0-9][a-zA-Z0-9-]{0,31}:[a-zA-Z0-9()+,\-.:=@;$_!*'%\/?#]+$
	ConsentID string `json:"consentId"`

	// Data e hora em que o recurso foi criado. Uma string com data e hora conforme especificao RFC-3339, sempre com a utilizao de timezone UTC(UTC time format).
	// Example: 2021-05-21T08:30:00Z
	// Required: true
	// Format: date-time
	CreationDateTime strfmt.DateTime `json:"creationDateTime"`

	// Data e hora de expirao da permisso. De preenchimento obrigatrio, reflete a data limite de validade do consentimento. Uma string com data e hora conforme especificao RFC-3339, sempre com a utilizao de timezone UTC(UTC time format).
	// Example: 2021-05-21T08:30:00Z
	// Required: true
	// Format: date-time
	ExpirationDateTime strfmt.DateTime `json:"expirationDateTime"`

	// Especifica os tipos de permisses de acesso s APIs no escopo do Open Banking Brasil - Fase 2, de acordo com os blocos de consentimento fornecidos pelo usurio e necessrios ao acesso a cada endpoint das APIs.
	// Example: ["ACCOUNTS_READ","ACCOUNTS_OVERDRAFT_LIMITS_READ","RESOURCES_READ"]
	// Required: true
	// Max Items: 30
	// Min Items: 1
	Permissions []Permission1 `json:"permissions"`

	// status
	// Required: true
	Status *Status `json:"status"`

	// Data e hora em que o recurso foi atualizado. Uma string com data e hora conforme especificao RFC-3339, sempre com a utilizao de timezone UTC(UTC time format).
	// Example: 2021-05-21T08:30:00Z
	// Required: true
	// Format: date-time
	StatusUpdateDateTime strfmt.DateTime `json:"statusUpdateDateTime"`

	// Data e hora da transao inicial. Se no for preenchido, a transao ter a data aberta e a data ser retornada com a primeira transao disponvel. Uma string com data e hora conforme especificao RFC-3339, sempre com a utilizao de timezone UTC(UTC time format).
	// Example: 2021-01-01T00:00:00Z
	// Format: date-time
	TransactionFromDateTime strfmt.DateTime `json:"transactionFromDateTime,omitempty"`

	// Data e hora final da transao. Se no for preenchido, a transao ter a data aberta e a data ser retornada com a ultima transao disponvel. Uma string com data e hora conforme especificao RFC-3339, sempre com a utilizao de timezone UTC(UTC time format).
	// Example: 2021-02-01T23:59:59Z
	// Format: date-time
	TransactionToDateTime strfmt.DateTime `json:"transactionToDateTime,omitempty"`
}

Data1 Data1

swagger:model Data1

func (*Data1) ContextValidate

func (m *Data1) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this data1 based on the context it is used

func (*Data1) MarshalBinary

func (m *Data1) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Data1) UnmarshalBinary

func (m *Data1) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Data1) Validate

func (m *Data1) Validate(formats strfmt.Registry) error

Validate validates this data1

type Document

type Document struct {

	// Nmero do documento de identificao oficial do usurio.
	// Example: 11111111111
	// Required: true
	// Max Length: 11
	// Pattern: ^\d{11}$
	Identification string `json:"identification"`

	// Tipo do documento de identificao oficial do usurio.
	// Example: CPF
	// Required: true
	// Max Length: 3
	// Pattern: ^[A-Z]{3}$
	Rel string `json:"rel"`
}

Document Document

swagger:model Document

func (*Document) ContextValidate

func (m *Document) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this document based on context it is used

func (*Document) MarshalBinary

func (m *Document) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Document) UnmarshalBinary

func (m *Document) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Document) Validate

func (m *Document) Validate(formats strfmt.Registry) error

Validate validates this document

type Document1

type Document1 struct {

	// Nmero do documento de identificao oficial do titular pessoa jurdica.
	// Example: 11111111111111
	// Required: true
	// Max Length: 14
	// Pattern: ^\d{14}$
	Identification string `json:"identification"`

	// Tipo do documento de identificao oficial do titular pessoa jurdica.
	// Example: CNPJ
	// Required: true
	// Max Length: 4
	// Pattern: ^[A-Z]{4}$
	Rel string `json:"rel"`
}

Document1 Document1

swagger:model Document1

func (*Document1) ContextValidate

func (m *Document1) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this document1 based on context it is used

func (*Document1) MarshalBinary

func (m *Document1) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Document1) UnmarshalBinary

func (m *Document1) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Document1) Validate

func (m *Document1) Validate(formats strfmt.Registry) error

Validate validates this document1

type Error

type Error struct {

	// Cdigo de erro especfico do endpoint
	// Required: true
	// Max Length: 255
	// Pattern: [\w\W\s]*
	Code string `json:"code"`

	// Descrio legvel por humanos deste erro especfico
	// Required: true
	// Max Length: 2048
	// Pattern: [\w\W\s]*
	Detail string `json:"detail"`

	// Ttulo legvel por humanos deste erro especfico
	// Required: true
	// Max Length: 255
	// Pattern: [\w\W\s]*
	Title string `json:"title"`
}

Error Error

swagger:model Error

func (*Error) ContextValidate

func (m *Error) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this error based on context it is used

func (*Error) MarshalBinary

func (m *Error) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Error) UnmarshalBinary

func (m *Error) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Error) Validate

func (m *Error) Validate(formats strfmt.Registry) error

Validate validates this error

type Links struct {

	// URI da primeira pgina que originou essa lista de resultados. Restrio - Obrigatrio quando no for a primeira pgina da resposta
	// Example: https://api.banco.com.br/open-banking/api/v1/resource
	// Max Length: 2000
	// Pattern: ^(https?:\/\/)?(www\.)?[-a-zA-Z0-9@:%._\+~#=]{2,256}\.[a-z]{2,6}\b([-a-zA-Z0-9@:%_\+.~#?&\/\/=]*)$
	First string `json:"first,omitempty"`

	// URI da ltima pgina dessa lista de resultados. Restrio - Obrigatrio quando no for a ltima pgina da resposta
	// Example: https://api.banco.com.br/open-banking/api/v1/resource
	// Max Length: 2000
	// Pattern: ^(https?:\/\/)?(www\.)?[-a-zA-Z0-9@:%._\+~#=]{2,256}\.[a-z]{2,6}\b([-a-zA-Z0-9@:%_\+.~#?&\/\/=]*)$
	Last string `json:"last,omitempty"`

	// URI da prxima pgina dessa lista de resultados. Restrio - Obrigatrio quando no for a ltima pgina da resposta
	// Example: https://api.banco.com.br/open-banking/api/v1/resource
	// Max Length: 2000
	// Pattern: ^(https?:\/\/)?(www\.)?[-a-zA-Z0-9@:%._\+~#=]{2,256}\.[a-z]{2,6}\b([-a-zA-Z0-9@:%_\+.~#?&\/\/=]*)$
	Next string `json:"next,omitempty"`

	// URI da pgina anterior dessa lista de resultados. Restrio - 	Obrigatrio quando no for a primeira pgina da resposta
	// Example: https://api.banco.com.br/open-banking/api/v1/resource
	// Max Length: 2000
	// Pattern: ^(https?:\/\/)?(www\.)?[-a-zA-Z0-9@:%._\+~#=]{2,256}\.[a-z]{2,6}\b([-a-zA-Z0-9@:%_\+.~#?&\/\/=]*)$
	Prev string `json:"prev,omitempty"`

	// URI completo que gerou a resposta atual.
	// Example: https://api.banco.com.br/open-banking/api/v1/resource
	// Required: true
	// Max Length: 2000
	// Pattern: ^(https?:\/\/)?(www\.)?[-a-zA-Z0-9@:%._\+~#=]{2,256}\.[a-z]{2,6}\b([-a-zA-Z0-9@:%_\+.~#?&\/\/=]*)$
	Self string `json:"self"`
}

Links Links

Referncias para outros recusos da API requisitada.

swagger:model Links

func (*Links) ContextValidate

func (m *Links) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this links based on context it is used

func (*Links) MarshalBinary

func (m *Links) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Links) UnmarshalBinary

func (m *Links) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Links) Validate

func (m *Links) Validate(formats strfmt.Registry) error

Validate validates this links

type LoggedUser

type LoggedUser struct {

	// document
	// Required: true
	Document *Document `json:"document"`
}

LoggedUser LoggedUser

Usurio (pessoa natural) que encontra-se logado na instituio receptora e que iniciar o processo de consentimento para compartilhamento de dados.

swagger:model LoggedUser

func (*LoggedUser) ContextValidate

func (m *LoggedUser) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this logged user based on the context it is used

func (*LoggedUser) MarshalBinary

func (m *LoggedUser) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*LoggedUser) UnmarshalBinary

func (m *LoggedUser) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*LoggedUser) Validate

func (m *LoggedUser) Validate(formats strfmt.Registry) error

Validate validates this logged user

type Meta

type Meta struct {

	// Data e hora da consulta, conforme especificao RFC-3339, formato UTC.
	// Example: 2021-05-21T08:30:00Z
	// Required: true
	// Format: date-time
	RequestDateTime strfmt.DateTime `json:"requestDateTime"`

	// Nmero total de pginas no resultado
	// Example: 1
	// Required: true
	TotalPages int32 `json:"totalPages"`

	// Nmero total de registros no resultado
	// Example: 1
	// Required: true
	TotalRecords int32 `json:"totalRecords"`
}

Meta Meta

Meta informaes referente a API requisitada.

swagger:model Meta

func (*Meta) ContextValidate

func (m *Meta) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this meta based on context it is used

func (*Meta) MarshalBinary

func (m *Meta) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Meta) UnmarshalBinary

func (m *Meta) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Meta) Validate

func (m *Meta) Validate(formats strfmt.Registry) error

Validate validates this meta

type Permission

type Permission string

Permission Permission

Especifica os tipos de permisses de acesso s APIs no escopo do Open Banking Brasil - Fase 2, de acordo com os blocos de consentimento fornecidos pelo usurio e necessrios ao acesso a cada endpoint das APIs.

swagger:model Permission

const (

	// PermissionACCOUNTSREAD captures enum value "ACCOUNTS_READ"
	PermissionACCOUNTSREAD Permission = "ACCOUNTS_READ"

	// PermissionACCOUNTSBALANCESREAD captures enum value "ACCOUNTS_BALANCES_READ"
	PermissionACCOUNTSBALANCESREAD Permission = "ACCOUNTS_BALANCES_READ"

	// PermissionACCOUNTSTRANSACTIONSREAD captures enum value "ACCOUNTS_TRANSACTIONS_READ"
	PermissionACCOUNTSTRANSACTIONSREAD Permission = "ACCOUNTS_TRANSACTIONS_READ"

	// PermissionACCOUNTSOVERDRAFTLIMITSREAD captures enum value "ACCOUNTS_OVERDRAFT_LIMITS_READ"
	PermissionACCOUNTSOVERDRAFTLIMITSREAD Permission = "ACCOUNTS_OVERDRAFT_LIMITS_READ"

	// PermissionCREDITCARDSACCOUNTSREAD captures enum value "CREDIT_CARDS_ACCOUNTS_READ"
	PermissionCREDITCARDSACCOUNTSREAD Permission = "CREDIT_CARDS_ACCOUNTS_READ"

	// PermissionCREDITCARDSACCOUNTSBILLSREAD captures enum value "CREDIT_CARDS_ACCOUNTS_BILLS_READ"
	PermissionCREDITCARDSACCOUNTSBILLSREAD Permission = "CREDIT_CARDS_ACCOUNTS_BILLS_READ"

	// PermissionCREDITCARDSACCOUNTSBILLSTRANSACTIONSREAD captures enum value "CREDIT_CARDS_ACCOUNTS_BILLS_TRANSACTIONS_READ"
	PermissionCREDITCARDSACCOUNTSBILLSTRANSACTIONSREAD Permission = "CREDIT_CARDS_ACCOUNTS_BILLS_TRANSACTIONS_READ"

	// PermissionCREDITCARDSACCOUNTSLIMITSREAD captures enum value "CREDIT_CARDS_ACCOUNTS_LIMITS_READ"
	PermissionCREDITCARDSACCOUNTSLIMITSREAD Permission = "CREDIT_CARDS_ACCOUNTS_LIMITS_READ"

	// PermissionCREDITCARDSACCOUNTSTRANSACTIONSREAD captures enum value "CREDIT_CARDS_ACCOUNTS_TRANSACTIONS_READ"
	PermissionCREDITCARDSACCOUNTSTRANSACTIONSREAD Permission = "CREDIT_CARDS_ACCOUNTS_TRANSACTIONS_READ"

	// PermissionCUSTOMERSPERSONALIDENTIFICATIONSREAD captures enum value "CUSTOMERS_PERSONAL_IDENTIFICATIONS_READ"
	PermissionCUSTOMERSPERSONALIDENTIFICATIONSREAD Permission = "CUSTOMERS_PERSONAL_IDENTIFICATIONS_READ"

	// PermissionCUSTOMERSPERSONALADITTIONALINFOREAD captures enum value "CUSTOMERS_PERSONAL_ADITTIONALINFO_READ"
	PermissionCUSTOMERSPERSONALADITTIONALINFOREAD Permission = "CUSTOMERS_PERSONAL_ADITTIONALINFO_READ"

	// PermissionCUSTOMERSBUSINESSIDENTIFICATIONSREAD captures enum value "CUSTOMERS_BUSINESS_IDENTIFICATIONS_READ"
	PermissionCUSTOMERSBUSINESSIDENTIFICATIONSREAD Permission = "CUSTOMERS_BUSINESS_IDENTIFICATIONS_READ"

	// PermissionCUSTOMERSBUSINESSADITTIONALINFOREAD captures enum value "CUSTOMERS_BUSINESS_ADITTIONALINFO_READ"
	PermissionCUSTOMERSBUSINESSADITTIONALINFOREAD Permission = "CUSTOMERS_BUSINESS_ADITTIONALINFO_READ"

	// PermissionFINANCINGSREAD captures enum value "FINANCINGS_READ"
	PermissionFINANCINGSREAD Permission = "FINANCINGS_READ"

	// PermissionFINANCINGSSCHEDULEDINSTALMENTSREAD captures enum value "FINANCINGS_SCHEDULED_INSTALMENTS_READ"
	PermissionFINANCINGSSCHEDULEDINSTALMENTSREAD Permission = "FINANCINGS_SCHEDULED_INSTALMENTS_READ"

	// PermissionFINANCINGSPAYMENTSREAD captures enum value "FINANCINGS_PAYMENTS_READ"
	PermissionFINANCINGSPAYMENTSREAD Permission = "FINANCINGS_PAYMENTS_READ"

	// PermissionFINANCINGSWARRANTIESREAD captures enum value "FINANCINGS_WARRANTIES_READ"
	PermissionFINANCINGSWARRANTIESREAD Permission = "FINANCINGS_WARRANTIES_READ"

	// PermissionINVOICEFINANCINGSREAD captures enum value "INVOICE_FINANCINGS_READ"
	PermissionINVOICEFINANCINGSREAD Permission = "INVOICE_FINANCINGS_READ"

	// PermissionINVOICEFINANCINGSSCHEDULEDINSTALMENTSREAD captures enum value "INVOICE_FINANCINGS_SCHEDULED_INSTALMENTS_READ"
	PermissionINVOICEFINANCINGSSCHEDULEDINSTALMENTSREAD Permission = "INVOICE_FINANCINGS_SCHEDULED_INSTALMENTS_READ"

	// PermissionINVOICEFINANCINGSPAYMENTSREAD captures enum value "INVOICE_FINANCINGS_PAYMENTS_READ"
	PermissionINVOICEFINANCINGSPAYMENTSREAD Permission = "INVOICE_FINANCINGS_PAYMENTS_READ"

	// PermissionINVOICEFINANCINGSWARRANTIESREAD captures enum value "INVOICE_FINANCINGS_WARRANTIES_READ"
	PermissionINVOICEFINANCINGSWARRANTIESREAD Permission = "INVOICE_FINANCINGS_WARRANTIES_READ"

	// PermissionLOANSREAD captures enum value "LOANS_READ"
	PermissionLOANSREAD Permission = "LOANS_READ"

	// PermissionLOANSSCHEDULEDINSTALMENTSREAD captures enum value "LOANS_SCHEDULED_INSTALMENTS_READ"
	PermissionLOANSSCHEDULEDINSTALMENTSREAD Permission = "LOANS_SCHEDULED_INSTALMENTS_READ"

	// PermissionLOANSPAYMENTSREAD captures enum value "LOANS_PAYMENTS_READ"
	PermissionLOANSPAYMENTSREAD Permission = "LOANS_PAYMENTS_READ"

	// PermissionLOANSWARRANTIESREAD captures enum value "LOANS_WARRANTIES_READ"
	PermissionLOANSWARRANTIESREAD Permission = "LOANS_WARRANTIES_READ"

	// PermissionUNARRANGEDACCOUNTSOVERDRAFTREAD captures enum value "UNARRANGED_ACCOUNTS_OVERDRAFT_READ"
	PermissionUNARRANGEDACCOUNTSOVERDRAFTREAD Permission = "UNARRANGED_ACCOUNTS_OVERDRAFT_READ"

	// PermissionUNARRANGEDACCOUNTSOVERDRAFTSCHEDULEDINSTALMENTSREAD captures enum value "UNARRANGED_ACCOUNTS_OVERDRAFT_SCHEDULED_INSTALMENTS_READ"
	PermissionUNARRANGEDACCOUNTSOVERDRAFTSCHEDULEDINSTALMENTSREAD Permission = "UNARRANGED_ACCOUNTS_OVERDRAFT_SCHEDULED_INSTALMENTS_READ"

	// PermissionUNARRANGEDACCOUNTSOVERDRAFTPAYMENTSREAD captures enum value "UNARRANGED_ACCOUNTS_OVERDRAFT_PAYMENTS_READ"
	PermissionUNARRANGEDACCOUNTSOVERDRAFTPAYMENTSREAD Permission = "UNARRANGED_ACCOUNTS_OVERDRAFT_PAYMENTS_READ"

	// PermissionUNARRANGEDACCOUNTSOVERDRAFTWARRANTIESREAD captures enum value "UNARRANGED_ACCOUNTS_OVERDRAFT_WARRANTIES_READ"
	PermissionUNARRANGEDACCOUNTSOVERDRAFTWARRANTIESREAD Permission = "UNARRANGED_ACCOUNTS_OVERDRAFT_WARRANTIES_READ"

	// PermissionRESOURCESREAD captures enum value "RESOURCES_READ"
	PermissionRESOURCESREAD Permission = "RESOURCES_READ"
)

func NewPermission

func NewPermission(value Permission) *Permission

func (Permission) ContextValidate

func (m Permission) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this permission based on context it is used

func (Permission) Pointer

func (m Permission) Pointer() *Permission

Pointer returns a pointer to a freshly-allocated Permission.

func (Permission) Validate

func (m Permission) Validate(formats strfmt.Registry) error

Validate validates this permission

type Permission1

type Permission1 string

Permission1 Permission1

swagger:model Permission1

const (

	// Permission1ACCOUNTSREAD captures enum value "ACCOUNTS_READ"
	Permission1ACCOUNTSREAD Permission1 = "ACCOUNTS_READ"

	// Permission1ACCOUNTSBALANCESREAD captures enum value "ACCOUNTS_BALANCES_READ"
	Permission1ACCOUNTSBALANCESREAD Permission1 = "ACCOUNTS_BALANCES_READ"

	// Permission1ACCOUNTSTRANSACTIONSREAD captures enum value "ACCOUNTS_TRANSACTIONS_READ"
	Permission1ACCOUNTSTRANSACTIONSREAD Permission1 = "ACCOUNTS_TRANSACTIONS_READ"

	// Permission1ACCOUNTSOVERDRAFTLIMITSREAD captures enum value "ACCOUNTS_OVERDRAFT_LIMITS_READ"
	Permission1ACCOUNTSOVERDRAFTLIMITSREAD Permission1 = "ACCOUNTS_OVERDRAFT_LIMITS_READ"

	// Permission1CREDITCARDSACCOUNTSREAD captures enum value "CREDIT_CARDS_ACCOUNTS_READ"
	Permission1CREDITCARDSACCOUNTSREAD Permission1 = "CREDIT_CARDS_ACCOUNTS_READ"

	// Permission1CREDITCARDSACCOUNTSBILLSREAD captures enum value "CREDIT_CARDS_ACCOUNTS_BILLS_READ"
	Permission1CREDITCARDSACCOUNTSBILLSREAD Permission1 = "CREDIT_CARDS_ACCOUNTS_BILLS_READ"

	// Permission1CREDITCARDSACCOUNTSBILLSTRANSACTIONSREAD captures enum value "CREDIT_CARDS_ACCOUNTS_BILLS_TRANSACTIONS_READ"
	Permission1CREDITCARDSACCOUNTSBILLSTRANSACTIONSREAD Permission1 = "CREDIT_CARDS_ACCOUNTS_BILLS_TRANSACTIONS_READ"

	// Permission1CREDITCARDSACCOUNTSLIMITSREAD captures enum value "CREDIT_CARDS_ACCOUNTS_LIMITS_READ"
	Permission1CREDITCARDSACCOUNTSLIMITSREAD Permission1 = "CREDIT_CARDS_ACCOUNTS_LIMITS_READ"

	// Permission1CREDITCARDSACCOUNTSTRANSACTIONSREAD captures enum value "CREDIT_CARDS_ACCOUNTS_TRANSACTIONS_READ"
	Permission1CREDITCARDSACCOUNTSTRANSACTIONSREAD Permission1 = "CREDIT_CARDS_ACCOUNTS_TRANSACTIONS_READ"

	// Permission1CUSTOMERSPERSONALIDENTIFICATIONSREAD captures enum value "CUSTOMERS_PERSONAL_IDENTIFICATIONS_READ"
	Permission1CUSTOMERSPERSONALIDENTIFICATIONSREAD Permission1 = "CUSTOMERS_PERSONAL_IDENTIFICATIONS_READ"

	// Permission1CUSTOMERSPERSONALADITTIONALINFOREAD captures enum value "CUSTOMERS_PERSONAL_ADITTIONALINFO_READ"
	Permission1CUSTOMERSPERSONALADITTIONALINFOREAD Permission1 = "CUSTOMERS_PERSONAL_ADITTIONALINFO_READ"

	// Permission1CUSTOMERSBUSINESSIDENTIFICATIONSREAD captures enum value "CUSTOMERS_BUSINESS_IDENTIFICATIONS_READ"
	Permission1CUSTOMERSBUSINESSIDENTIFICATIONSREAD Permission1 = "CUSTOMERS_BUSINESS_IDENTIFICATIONS_READ"

	// Permission1CUSTOMERSBUSINESSADITTIONALINFOREAD captures enum value "CUSTOMERS_BUSINESS_ADITTIONALINFO_READ"
	Permission1CUSTOMERSBUSINESSADITTIONALINFOREAD Permission1 = "CUSTOMERS_BUSINESS_ADITTIONALINFO_READ"

	// Permission1FINANCINGSREAD captures enum value "FINANCINGS_READ"
	Permission1FINANCINGSREAD Permission1 = "FINANCINGS_READ"

	// Permission1FINANCINGSSCHEDULEDINSTALMENTSREAD captures enum value "FINANCINGS_SCHEDULED_INSTALMENTS_READ"
	Permission1FINANCINGSSCHEDULEDINSTALMENTSREAD Permission1 = "FINANCINGS_SCHEDULED_INSTALMENTS_READ"

	// Permission1FINANCINGSPAYMENTSREAD captures enum value "FINANCINGS_PAYMENTS_READ"
	Permission1FINANCINGSPAYMENTSREAD Permission1 = "FINANCINGS_PAYMENTS_READ"

	// Permission1FINANCINGSWARRANTIESREAD captures enum value "FINANCINGS_WARRANTIES_READ"
	Permission1FINANCINGSWARRANTIESREAD Permission1 = "FINANCINGS_WARRANTIES_READ"

	// Permission1INVOICEFINANCINGSREAD captures enum value "INVOICE_FINANCINGS_READ"
	Permission1INVOICEFINANCINGSREAD Permission1 = "INVOICE_FINANCINGS_READ"

	// Permission1INVOICEFINANCINGSSCHEDULEDINSTALMENTSREAD captures enum value "INVOICE_FINANCINGS_SCHEDULED_INSTALMENTS_READ"
	Permission1INVOICEFINANCINGSSCHEDULEDINSTALMENTSREAD Permission1 = "INVOICE_FINANCINGS_SCHEDULED_INSTALMENTS_READ"

	// Permission1INVOICEFINANCINGSPAYMENTSREAD captures enum value "INVOICE_FINANCINGS_PAYMENTS_READ"
	Permission1INVOICEFINANCINGSPAYMENTSREAD Permission1 = "INVOICE_FINANCINGS_PAYMENTS_READ"

	// Permission1INVOICEFINANCINGSWARRANTIESREAD captures enum value "INVOICE_FINANCINGS_WARRANTIES_READ"
	Permission1INVOICEFINANCINGSWARRANTIESREAD Permission1 = "INVOICE_FINANCINGS_WARRANTIES_READ"

	// Permission1LOANSREAD captures enum value "LOANS_READ"
	Permission1LOANSREAD Permission1 = "LOANS_READ"

	// Permission1LOANSSCHEDULEDINSTALMENTSREAD captures enum value "LOANS_SCHEDULED_INSTALMENTS_READ"
	Permission1LOANSSCHEDULEDINSTALMENTSREAD Permission1 = "LOANS_SCHEDULED_INSTALMENTS_READ"

	// Permission1LOANSPAYMENTSREAD captures enum value "LOANS_PAYMENTS_READ"
	Permission1LOANSPAYMENTSREAD Permission1 = "LOANS_PAYMENTS_READ"

	// Permission1LOANSWARRANTIESREAD captures enum value "LOANS_WARRANTIES_READ"
	Permission1LOANSWARRANTIESREAD Permission1 = "LOANS_WARRANTIES_READ"

	// Permission1UNARRANGEDACCOUNTSOVERDRAFTREAD captures enum value "UNARRANGED_ACCOUNTS_OVERDRAFT_READ"
	Permission1UNARRANGEDACCOUNTSOVERDRAFTREAD Permission1 = "UNARRANGED_ACCOUNTS_OVERDRAFT_READ"

	// Permission1UNARRANGEDACCOUNTSOVERDRAFTSCHEDULEDINSTALMENTSREAD captures enum value "UNARRANGED_ACCOUNTS_OVERDRAFT_SCHEDULED_INSTALMENTS_READ"
	Permission1UNARRANGEDACCOUNTSOVERDRAFTSCHEDULEDINSTALMENTSREAD Permission1 = "UNARRANGED_ACCOUNTS_OVERDRAFT_SCHEDULED_INSTALMENTS_READ"

	// Permission1UNARRANGEDACCOUNTSOVERDRAFTPAYMENTSREAD captures enum value "UNARRANGED_ACCOUNTS_OVERDRAFT_PAYMENTS_READ"
	Permission1UNARRANGEDACCOUNTSOVERDRAFTPAYMENTSREAD Permission1 = "UNARRANGED_ACCOUNTS_OVERDRAFT_PAYMENTS_READ"

	// Permission1UNARRANGEDACCOUNTSOVERDRAFTWARRANTIESREAD captures enum value "UNARRANGED_ACCOUNTS_OVERDRAFT_WARRANTIES_READ"
	Permission1UNARRANGEDACCOUNTSOVERDRAFTWARRANTIESREAD Permission1 = "UNARRANGED_ACCOUNTS_OVERDRAFT_WARRANTIES_READ"

	// Permission1RESOURCESREAD captures enum value "RESOURCES_READ"
	Permission1RESOURCESREAD Permission1 = "RESOURCES_READ"
)

func NewPermission1

func NewPermission1(value Permission1) *Permission1

func (Permission1) ContextValidate

func (m Permission1) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this permission1 based on context it is used

func (Permission1) Pointer

func (m Permission1) Pointer() *Permission1

Pointer returns a pointer to a freshly-allocated Permission1.

func (Permission1) Validate

func (m Permission1) Validate(formats strfmt.Registry) error

Validate validates this permission1

type ResponseConsent

type ResponseConsent struct {

	// data
	// Required: true
	Data *Data1 `json:"data"`

	// links
	Links *Links `json:"links,omitempty"`

	// meta
	Meta *Meta `json:"meta,omitempty"`
}

ResponseConsent ResponseConsent

swagger:model ResponseConsent

func (*ResponseConsent) ContextValidate

func (m *ResponseConsent) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this response consent based on the context it is used

func (*ResponseConsent) MarshalBinary

func (m *ResponseConsent) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ResponseConsent) UnmarshalBinary

func (m *ResponseConsent) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ResponseConsent) Validate

func (m *ResponseConsent) Validate(formats strfmt.Registry) error

Validate validates this response consent

type ResponseError

type ResponseError struct {

	// errors
	// Required: true
	// Max Items: 13
	// Min Items: 1
	Errors []*Error `json:"errors"`

	// meta
	Meta *Meta `json:"meta,omitempty"`
}

ResponseError ResponseError

swagger:model ResponseError

func (*ResponseError) ContextValidate

func (m *ResponseError) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this response error based on the context it is used

func (*ResponseError) MarshalBinary

func (m *ResponseError) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ResponseError) UnmarshalBinary

func (m *ResponseError) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ResponseError) Validate

func (m *ResponseError) Validate(formats strfmt.Registry) error

Validate validates this response error

type Status

type Status string

Status Status

Estado atual do consentimento cadastrado.

swagger:model Status

const (

	// StatusAUTHORISED captures enum value "AUTHORISED"
	StatusAUTHORISED Status = "AUTHORISED"

	// StatusAWAITINGAUTHORISATION captures enum value "AWAITING_AUTHORISATION"
	StatusAWAITINGAUTHORISATION Status = "AWAITING_AUTHORISATION"

	// StatusREJECTED captures enum value "REJECTED"
	StatusREJECTED Status = "REJECTED"
)

func NewStatus

func NewStatus(value Status) *Status

func (Status) ContextValidate

func (m Status) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this status based on context it is used

func (Status) Pointer

func (m Status) Pointer() *Status

Pointer returns a pointer to a freshly-allocated Status.

func (Status) Validate

func (m Status) Validate(formats strfmt.Registry) error

Validate validates this status

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL