packer-cn/vendor/github.com/hyperonecom/h1-client-go/model_payment.go

39 lines
1.5 KiB
Go
Raw Normal View History

2019-02-08 05:15:45 -05:00
/*
* HyperOne API
*
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
*
* API version: 0.0.2
* Generated by: OpenAPI Generator (https://openapi-generator.tech)
*/
package openapi
2019-02-08 05:15:45 -05:00
import (
"time"
)
// Payment struct for Payment
2019-02-08 05:15:45 -05:00
type Payment struct {
Id string `json:"id,omitempty"`
Name string `json:"name,omitempty"`
Services string `json:"services,omitempty"`
Flavour string `json:"flavour,omitempty"`
ModifiedOn time.Time `json:"modifiedOn,omitempty"`
ModifiedBy string `json:"modifiedBy,omitempty"`
CreatedBy string `json:"createdBy,omitempty"`
CreatedOn time.Time `json:"createdOn,omitempty"`
AccessRights []string `json:"accessRights,omitempty"`
Processing bool `json:"processing,omitempty"`
Created bool `json:"created,omitempty"`
Queue []Event `json:"queue,omitempty"`
State string `json:"state,omitempty"`
Tag map[string]string `json:"tag,omitempty"`
Project string `json:"project,omitempty"`
CreditsFree float32 `json:"creditsFree,omitempty"`
Credits float32 `json:"credits,omitempty"`
Channel string `json:"channel,omitempty"`
Amount float32 `json:"amount,omitempty"`
Type string `json:"type,omitempty"`
2019-02-08 05:15:45 -05:00
}