Actionlog.go raw

   1  // Copyright 2018 JDCLOUD.COM
   2  //
   3  // Licensed under the Apache License, Version 2.0 (the "License");
   4  // you may not use this file except in compliance with the License.
   5  // You may obtain a copy of the License at
   6  //
   7  //     http://www.apache.org/licenses/LICENSE-2.0
   8  //
   9  // Unless required by applicable law or agreed to in writing, software
  10  // distributed under the License is distributed on an "AS IS" BASIS,
  11  // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  12  // See the License for the specific language governing permissions and
  13  // limitations under the License.
  14  //
  15  // NOTE: This class is auto generated by the jdcloud code generator program.
  16  
  17  package models
  18  
  19  type Actionlog struct {
  20  
  21  	/* 操作记录的ID (Optional) */
  22  	Id int `json:"id"`
  23  
  24  	/* 用户名 (Optional) */
  25  	UserPin string `json:"userPin"`
  26  
  27  	/* 操作的域名 (Optional) */
  28  	Domain string `json:"domain"`
  29  
  30  	/* 操作类型:1新增 2修改 3删除 (Optional) */
  31  	Type int `json:"type"`
  32  
  33  	/* 操作的详细情况 (Optional) */
  34  	Detail string `json:"detail"`
  35  
  36  	/* 操作发生的时间 (Optional) */
  37  	Time int64 `json:"time"`
  38  
  39  	/* 操作的结果,成功true, 失败false (Optional) */
  40  	Success bool `json:"success"`
  41  
  42  	/* 操作失败的原因 (Optional) */
  43  	FailReason string `json:"failReason"`
  44  
  45  	/* 操作者的IP (Optional) */
  46  	ClientIp string `json:"clientIp"`
  47  }
  48