github.com/johnnyeven/libtools@v0.0.0-20191126065708-61829c1adf46/clients/client_configurations/types__generated.go (about)

     1  package client_configurations
     2  
     3  import (
     4  	github_com_johnnyeven_libtools_courier_status_error "github.com/johnnyeven/libtools/courier/status_error"
     5  	github_com_johnnyeven_libtools_courier_swagger "github.com/johnnyeven/libtools/courier/swagger"
     6  	github_com_johnnyeven_libtools_sqlx_presets "github.com/johnnyeven/libtools/sqlx/presets"
     7  	github_com_johnnyeven_libtools_timelib "github.com/johnnyeven/libtools/timelib"
     8  )
     9  
    10  type Configuration struct {
    11  	//
    12  	PrimaryID
    13  	//
    14  	OperateTime
    15  	//
    16  	SoftDelete
    17  	// 业务ID
    18  	ConfigurationID uint64 `json:"configurationID,string"`
    19  	// Key
    20  	Key string `json:"key"`
    21  	// StackID
    22  	StackID uint64 `json:"stackID,string"`
    23  	// Value
    24  	Value string `json:"value"`
    25  }
    26  
    27  type ConfigurationList []Configuration
    28  
    29  type CreateConfigurationBody struct {
    30  	// Key
    31  	Key string `json:"key"`
    32  	// StackID
    33  	StackID uint64 `json:"stackID,string"`
    34  	// Value
    35  	Value string `json:"value"`
    36  }
    37  
    38  type ErrorField = github_com_johnnyeven_libtools_courier_status_error.ErrorField
    39  
    40  type ErrorFields = github_com_johnnyeven_libtools_courier_status_error.ErrorFields
    41  
    42  type GetConfigurationResult struct {
    43  	//
    44  	Data ConfigurationList `json:"data"`
    45  	//
    46  	Total int32 `json:"total"`
    47  }
    48  
    49  type JSONBytes = github_com_johnnyeven_libtools_courier_swagger.JSONBytes
    50  
    51  type MySQLTimestamp = github_com_johnnyeven_libtools_timelib.MySQLTimestamp
    52  
    53  type OperateTime = github_com_johnnyeven_libtools_sqlx_presets.OperateTime
    54  
    55  type PrimaryID = github_com_johnnyeven_libtools_sqlx_presets.PrimaryID
    56  
    57  type SoftDelete = github_com_johnnyeven_libtools_sqlx_presets.SoftDelete
    58  
    59  type StatusError = github_com_johnnyeven_libtools_courier_status_error.StatusError