Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AuditLogsClient ¶
type AuditLogsClient struct {
// contains filtered or unexported fields
}
func NewClient ¶
func NewClient(opts ...client.ClientOption) (*AuditLogsClient, error)
func (*AuditLogsClient) List ¶
func (c *AuditLogsClient) List(lo AuditLogsListOptions) (*AuditLogsListResult, *client.PaginationMeta, error)
type AuditLogsListOptions ¶
type AuditLogsListOptions struct {
Cursor string `json:"cursor"` // Pagination cursor.
PerPage *int `json:"per_page"` // Number of items to list per page. [ 1 .. 100 ]
DateBefore *time.Time `json:"date_before"` // Entries found before this date.
DateAfter *time.Time `json:"date_after"` // Entries found after this date.
EventName string `json:"event_name"` // Entries matching this event name.
MemberId *int `json:"member_id"` // The id of the member to retrieve.
MemberName string `json:"member_name"` // Entries matching this member name.
MemberEmail string `json:"member_email"` // Entries matching this member email.
}
type AuditLogsListResponse ¶
type AuditLogsListResponse struct {
ID int64 `json:"id"`
Date time.Time `json:"date"`
MemberEmail string `json:"member_email"`
MemberName string `json:"member_name"`
MemberID int64 `json:"member_id"`
APITokenID int64 `json:"api_token_id"`
IPAddress string `json:"ip_address"`
TargetIDS []string `json:"target_ids"`
ActionType string `json:"action_type"`
EventName string `json:"event_name"`
Data map[string]interface{} `json:"data"`
}
type AuditLogsListResult ¶
type AuditLogsListResult struct {
Result []AuditLogsListResponse `json:"result"`
Error *Error `json:"error"`
}
Click to show internal directories.
Click to hide internal directories.