This repository has been archived by the owner on Nov 23, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 2
/
account_security_deposit_row.go
76 lines (56 loc) · 1.93 KB
/
account_security_deposit_row.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
// Code generated by go-swagger; DO NOT EDIT.
package models
// This file was generated by the swagger tool.
// Editing this file might prove futile when you re-run the swagger generate command
import (
strfmt "github.com/go-openapi/strfmt"
"github.com/go-openapi/swag"
)
// AccountSecurityDepositRow account security deposit row
// swagger:model AccountSecurityDepositRow
type AccountSecurityDepositRow struct {
// actual blocks deposit
ActualBlocksDeposit int64 `json:"actual_blocks_deposit,omitempty"`
// actual endorsement deposit
ActualEndorsementDeposit int64 `json:"actual_endorsement_deposit,omitempty"`
// actual total deposit
ActualTotalDeposit int64 `json:"actual_total_deposit,omitempty"`
// available bond
AvailableBond int64 `json:"available_bond,omitempty"`
// cycle
Cycle int64 `json:"cycle,omitempty"`
// cycle end
CycleEnd int64 `json:"cycleEnd,omitempty"`
// cycle start
CycleStart int64 `json:"cycleStart,omitempty"`
// expected blocks deposit
ExpectedBlocksDeposit int64 `json:"expected_blocks_deposit,omitempty"`
// expected endorsement deposit
ExpectedEndorsementDeposit int64 `json:"expected_endorsement_deposit,omitempty"`
// expected total deposit
ExpectedTotalDeposit int64 `json:"expected_total_deposit,omitempty"`
// staking balance
StakingBalance int64 `json:"staking_balance,omitempty"`
// status
Status string `json:"status,omitempty"`
}
// Validate validates this account security deposit row
func (m *AccountSecurityDepositRow) Validate(formats strfmt.Registry) error {
return nil
}
// MarshalBinary interface implementation
func (m *AccountSecurityDepositRow) MarshalBinary() ([]byte, error) {
if m == nil {
return nil, nil
}
return swag.WriteJSON(m)
}
// UnmarshalBinary interface implementation
func (m *AccountSecurityDepositRow) UnmarshalBinary(b []byte) error {
var res AccountSecurityDepositRow
if err := swag.ReadJSON(b, &res); err != nil {
return err
}
*m = res
return nil
}