models

package
v1.0.2 Latest Latest
Warning

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

Go to latest
Published: May 28, 2018 License: Apache-2.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AddTopic

type AddTopic struct {

	/*  (Optional) */
	Topic *interface{} `json:"topic"`

	/*  (Optional) */
	Target *interface{} `json:"target"`

	/* 归档相关的具体参数 (Optional) */
	ParameterList []interface{} `json:"parameterList"`
}

type TopicListInfo

type TopicListInfo struct {

	/* 是否归档(0:未归档,1:已归档) (Optional) */
	Archived int `json:"archived"`

	/* 创建topic的时间戳 (Optional) */
	CreatedTime int `json:"createdTime"`

	/* topic是否已删除(0:未删除,1:删除) (Optional) */
	Deleted int `json:"deleted"`

	/* topic的id值 (Optional) */
	Id int `json:"id"`

	/* 数据写入后的保留时间 (Optional) */
	Lifecycle int `json:"lifecycle"`

	/* 流数据总线中topic的名字 (Optional) */
	Name string `json:"name"`

	/* 对应kafka中的分区数 (Optional) */
	PartitionNum string `json:"partitionNum"`

	/* 备注 (Optional) */
	Remark string `json:"remark"`

	/* 流数据总线shard的数量 (Optional) */
	ShardNum string `json:"shardNum"`

	/* 0: 已创建, 1: 创建中 (Optional) */
	Status int `json:"status"`

	/* 对应kafka中的topic名字 (Optional) */
	TopicName string `json:"topicName"`

	/* 对应kafka中的uid (Optional) */
	Uid string `json:"uid"`

	/* 更新topic的时间戳 (Optional) */
	UpdatedTime int `json:"updatedTime"`

	/* 用户的userPin (Optional) */
	UserPin string `json:"userPin"`
}

Jump to

Keyboard shortcuts

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