Documentation ¶
Overview ¶
Package networklists provides access to the Akamai Networklist APIs
Index ¶
- Constants
- Variables
- type ActivationValue
- type Activations
- type ClientFunc
- type CreateActivationsRequest
- type CreateActivationsResponse
- type CreateNetworkListRequest
- type CreateNetworkListResponse
- type Error
- type GetActivationRequest
- type GetActivationResponse
- type GetActivationsRequest
- type GetActivationsResponse
- type GetNetworkListDescriptionRequest
- type GetNetworkListDescriptionResponse
- type GetNetworkListRequest
- type GetNetworkListResponse
- type GetNetworkListSubscriptionRequest
- type GetNetworkListSubscriptionResponse
- type GetNetworkListsRequest
- type GetNetworkListsResponse
- type GetNetworkListsResponseListElement
- type LinkInfo
- type NTWRKLISTS
- type NetworkList
- type NetworkListDescription
- type NetworkListSubscription
- type NetworkListsLinks
- type NetworkListsResponseLinks
- type NetworkValue
- type Option
- type Recipients
- type RemoveActivationsRequest
- type RemoveActivationsResponse
- type RemoveNetworkListRequest
- type RemoveNetworkListResponse
- type RemoveNetworkListSubscriptionRequest
- type RemoveNetworkListSubscriptionResponse
- type StatusValue
- type UpdateNetworkListDescriptionRequest
- type UpdateNetworkListDescriptionResponse
- type UpdateNetworkListRequest
- type UpdateNetworkListResponse
- type UpdateNetworkListSubscriptionRequest
- type UpdateNetworkListSubscriptionResponse
Constants ¶
const ( // ActivationTypeActivate Activation.ActivationType value ACTIVATE ActivationTypeActivate ActivationValue = "ACTIVATE" // ActivationTypeDeactivate Activation.ActivationType value DEACTIVATE ActivationTypeDeactivate ActivationValue = "DEACTIVATE" // NetworkProduction Activation.Network value PRODUCTION NetworkProduction NetworkValue = "PRODUCTION" // NetworkStaging Activation.Network value STAGING NetworkStaging NetworkValue = "STAGING" // StatusActive Activation.Status value ACTIVE StatusActive StatusValue = "ACTIVATED" // StatusInactive Activation.Status value INACTIVE StatusInactive StatusValue = "INACTIVE" // StatusPending Activation.Status value RECEIVED StatusPending StatusValue = "RECEIVED" // StatusAborted Activation.Status value ABORTED StatusAborted StatusValue = "ABORTED" // StatusFailed Activation.Status value FAILED StatusFailed StatusValue = "FAILED" // StatusDeactivated Activation.Status value DEACTIVATED StatusDeactivated StatusValue = "DEACTIVATED" // StatusPendingDeactivation Activation.Status value PENDING_DEACTIVATION StatusPendingDeactivation StatusValue = "PENDING_DEACTIVATION" // StatusNew Activation.Status value NEW StatusNew StatusValue = "NEW" )
Variables ¶
var ( // ErrBadRequest is returned when a required parameter is missing ErrBadRequest = errors.New("missing argument") )
var ( // ErrStructValidation is returned returned when given struct validation failed ErrStructValidation = errors.New("struct validation") )
Functions ¶
This section is empty.
Types ¶
type ActivationValue ¶
type ActivationValue string
ActivationValue is used to create an "enum" of possible Activation.ActivationType values
type Activations ¶
type Activations interface { // https://developer.akamai.com/api/cloud_security/network_lists/v2.html#getactivationstatus GetActivations(ctx context.Context, params GetActivationsRequest) (*GetActivationsResponse, error) // https://developer.akamai.com/api/cloud_security/network_lists/v2.html#getactivationstatus GetActivation(ctx context.Context, params GetActivationRequest) (*GetActivationResponse, error) // https://developer.akamai.com/api/cloud_security/network_lists/v2.html#postactivate CreateActivations(ctx context.Context, params CreateActivationsRequest) (*CreateActivationsResponse, error) // https://developer.akamai.com/api/cloud_security/network_lists/v2.html#postactivate RemoveActivations(ctx context.Context, params RemoveActivationsRequest) (*RemoveActivationsResponse, error) }
The Activations interface supports activating and deactivating network lists.
https://developer.akamai.com/api/cloud_security/network_lists/v2.html#activationrequest
type ClientFunc ¶
type ClientFunc func(sess session.Session, opts ...Option) NTWRKLISTS
ClientFunc is a networklist client new method, this can used for mocking
type CreateActivationsRequest ¶
type CreateActivationsRequest struct { UniqueID string `json:"-"` Action string `json:"-"` Network string `json:"network"` Comments string `json:"comments"` NotificationRecipients []string `json:"notificationRecipients"` }
CreateActivationsRequest contains request parameters for creating new activation
type CreateActivationsResponse ¶
type CreateActivationsResponse struct { ActivationID int `json:"activationId"` ActivationComments string `json:"activationComments"` ActivationStatus string `json:"activationStatus"` SyncPoint int `json:"syncPoint"` UniqueID string `json:"uniqueId"` Fast bool `json:"fast"` DispatchCount int `json:"dispatchCount"` Links struct { AppendItems struct { Href string `json:"href"` Method string `json:"method"` } `json:"appendItems"` Retrieve struct { Href string `json:"href"` } `json:"retrieve"` StatusInProduction struct { Href string `json:"href"` } `json:"statusInProduction"` StatusInStaging struct { Href string `json:"href"` } `json:"statusInStaging"` SyncPointHistory struct { Href string `json:"href"` } `json:"syncPointHistory"` Update struct { Href string `json:"href"` Method string `json:"method"` } `json:"update"` ActivationDetails struct { Href string `json:"href"` } `json:"activationDetails"` } `json:"links"` }
CreateActivationsResponse contains response after creating new activation
type CreateNetworkListRequest ¶
type CreateNetworkListRequest struct { Name string `json:"name"` Type string `json:"type"` Description string `json:"description"` ContractID string `json:"contractId,omitempty"` GroupID int `json:"groupId,omitempty"` List []string `json:"list"` }
CreateNetworkListRequest contains request parameters for CreateNetworkList method
func (CreateNetworkListRequest) Validate ¶
func (v CreateNetworkListRequest) Validate() error
Validate validates CreateNetworkListRequest
type CreateNetworkListResponse ¶
type CreateNetworkListResponse struct { Name string `json:"name"` Description string `json:"description,omitempty"` UniqueID string `json:"uniqueId"` SyncPoint int `json:"syncPoint"` Type string `json:"type"` NetworkListType string `json:"networkListType"` ElementCount int `json:"elementCount"` ReadOnly bool `json:"readOnly"` List []string `json:"list"` Links struct { ActivateInProduction struct { Href string `json:"href"` Method string `json:"method"` } `json:"activateInProduction"` ActivateInStaging struct { Href string `json:"href"` Method string `json:"method"` } `json:"activateInStaging"` AppendItems struct { Href string `json:"href"` Method string `json:"method"` } `json:"appendItems"` Retrieve struct { Href string `json:"href"` } `json:"retrieve"` StatusInProduction struct { Href string `json:"href"` } `json:"statusInProduction"` StatusInStaging struct { Href string `json:"href"` } `json:"statusInStaging"` Update struct { Href string `json:"href"` Method string `json:"method"` } `json:"update"` } `json:"links"` }
CreateNetworkListResponse contains response from CreateNetworkList method
type Error ¶
type Error struct { Type string `json:"type"` Title string `json:"title"` Detail string `json:"detail"` Instance string `json:"instance,omitempty"` BehaviorName string `json:"behaviorName,omitempty"` ErrorLocation string `json:"errorLocation,omitempty"` StatusCode int `json:"-"` }
Error is a appsec error interface
type GetActivationRequest ¶
type GetActivationRequest struct {
ActivationID int `json:"activationId"`
}
GetActivationRequest contains request parameters for getting activation details
func (GetActivationRequest) Validate ¶
func (v GetActivationRequest) Validate() error
Validate validates GetActivationRequest
type GetActivationResponse ¶
type GetActivationResponse struct { ActivationID int `json:"activationId"` CreateDate time.Time `json:"createDate"` CreatedBy string `json:"createdBy"` Environment string `json:"environment"` Fast bool `json:"fast"` ActivationStatus string `json:"status"` NetworkList struct { ActivationComments string `json:"activationComments"` ActivationStatus string `json:"activationStatus"` Links struct { AppendItems struct { Href string `json:"href"` Method string `json:"method"` } `json:"appendItems"` Retrieve struct { Href string `json:"href"` } `json:"retrieve"` StatusInProduction struct { Href string `json:"href"` } `json:"statusInProduction"` StatusInStaging struct { Href string `json:"href"` } `json:"statusInStaging"` SyncPointHistory struct { Href string `json:"href"` } `json:"syncPointHistory"` Update struct { Href string `json:"href"` Method string `json:"method"` } `json:"update"` } `json:"links"` SyncPoint int `json:"syncPoint"` UniqueID string `json:"uniqueId"` } `json:"networkList"` }
GetActivationResponse contains response with activation details
type GetActivationsRequest ¶
type GetActivationsRequest struct { UniqueID string `json:"-"` Action string `json:"-"` Network string `json:"network"` ActivationID int `json:"activationId"` }
GetActivationsRequest contains request parameters for getting activation status
func (GetActivationsRequest) Validate ¶
func (v GetActivationsRequest) Validate() error
Validate validates GetActivationsRequest
type GetActivationsResponse ¶
type GetActivationsResponse struct { ActivationID int `json:"activationId"` ActivationComments string `json:"activationComments"` ActivationStatus string `json:"activationStatus"` SyncPoint int `json:"syncPoint"` UniqueID string `json:"uniqueId"` Fast bool `json:"fast"` DispatchCount int `json:"dispatchCount"` Links struct { AppendItems struct { Href string `json:"href"` Method string `json:"method"` } `json:"appendItems"` Retrieve struct { Href string `json:"href"` } `json:"retrieve"` StatusInProduction struct { Href string `json:"href"` } `json:"statusInProduction"` StatusInStaging struct { Href string `json:"href"` } `json:"statusInStaging"` SyncPointHistory struct { Href string `json:"href"` } `json:"syncPointHistory"` Update struct { Href string `json:"href"` Method string `json:"method"` } `json:"update"` ActivationDetails struct { Href string `json:"href"` } `json:"activationDetails"` } `json:"links"` }
GetActivationsResponse contains response with activation status
type GetNetworkListDescriptionRequest ¶
type GetNetworkListDescriptionRequest struct { UniqueID string `json:"uniqueId"` Name string `json:"name"` Description string `json:"description"` }
GetNetworkListDescriptionRequest contains request parameters for GetNetworkListDescription method
func (GetNetworkListDescriptionRequest) Validate ¶
func (v GetNetworkListDescriptionRequest) Validate() error
Validate validates GetNetworkListDescriptionRequest
type GetNetworkListDescriptionResponse ¶
type GetNetworkListDescriptionResponse struct { Name string `json:"name"` UniqueID string `json:"uniqueId"` Description string `json:"description"` SyncPoint int `json:"syncPoint"` Type string `json:"type"` NetworkListType string `json:"networkListType"` ElementCount int `json:"elementCount"` ReadOnly bool `json:"readOnly"` List []string `json:"list"` Links struct { ActivateInProduction struct { Href string `json:"href"` Method string `json:"method"` } `json:"activateInProduction"` ActivateInStaging struct { Href string `json:"href"` Method string `json:"method"` } `json:"activateInStaging"` AppendItems struct { Href string `json:"href"` Method string `json:"method"` } `json:"appendItems"` Retrieve struct { Href string `json:"href"` } `json:"retrieve"` StatusInProduction struct { Href string `json:"href"` } `json:"statusInProduction"` StatusInStaging struct { Href string `json:"href"` } `json:"statusInStaging"` Update struct { Href string `json:"href"` Method string `json:"method"` } `json:"update"` } `json:"links"` }
GetNetworkListDescriptionResponse contains response from GetNetworkListDescription method
type GetNetworkListRequest ¶
type GetNetworkListRequest struct {
UniqueID string `json:"-"`
}
GetNetworkListRequest contains request parameters for GetNetworkList method
func (GetNetworkListRequest) Validate ¶
func (v GetNetworkListRequest) Validate() error
Validate validates GetNetworkListRequest
type GetNetworkListResponse ¶
type GetNetworkListResponse struct { Name string `json:"name"` UniqueID string `json:"uniqueId"` ContractID string `json:"contractId"` GroupID int `json:"groupId"` SyncPoint int `json:"syncPoint"` Type string `json:"type"` Description string `json:"description,omitempty"` NetworkListType string `json:"networkListType"` ElementCount int `json:"elementCount"` ReadOnly bool `json:"readOnly"` List []string `json:"list"` Links struct { ActivateInProduction struct { Href string `json:"href"` Method string `json:"method"` } `json:"activateInProduction"` ActivateInStaging struct { Href string `json:"href"` Method string `json:"method"` } `json:"activateInStaging"` AppendItems struct { Href string `json:"href"` Method string `json:"method"` } `json:"appendItems"` Retrieve struct { Href string `json:"href"` } `json:"retrieve"` StatusInProduction struct { Href string `json:"href"` } `json:"statusInProduction"` StatusInStaging struct { Href string `json:"href"` } `json:"statusInStaging"` Update struct { Href string `json:"href"` Method string `json:"method"` } `json:"update"` } `json:"links"` }
GetNetworkListResponse contains response from GetNetworkList method
type GetNetworkListSubscriptionRequest ¶
type GetNetworkListSubscriptionRequest struct { Recipients []string `json:"-"` UniqueIds []string `json:"-"` }
GetNetworkListSubscriptionRequest contains request parameters for GetNetworkListSubscription
type GetNetworkListSubscriptionResponse ¶
type GetNetworkListSubscriptionResponse struct { Links struct { Create struct { Href string `json:"href"` Method string `json:"method"` } `json:"create"` } `json:"links"` NetworkLists []struct { ElementCount int `json:"elementCount"` Links struct { ActivateInProduction struct { Href string `json:"href"` Method string `json:"method"` } `json:"activateInProduction"` ActivateInStaging struct { Href string `json:"href"` Method string `json:"method"` } `json:"activateInStaging"` AppendItems struct { Href string `json:"href"` Method string `json:"method"` } `json:"appendItems"` Retrieve struct { Href string `json:"href"` } `json:"retrieve"` StatusInProduction struct { Href string `json:"href"` } `json:"statusInProduction"` StatusInStaging struct { Href string `json:"href"` } `json:"statusInStaging"` Update struct { Href string `json:"href"` Method string `json:"method"` } `json:"update"` } `json:"links"` Name string `json:"name"` NetworkListType string `json:"networkListType"` ReadOnly bool `json:"readOnly"` Shared bool `json:"shared"` SyncPoint int `json:"syncPoint"` Type string `json:"type"` UniqueID string `json:"uniqueId"` AccessControlGroup string `json:"accessControlGroup,omitempty"` Description string `json:"description,omitempty"` } `json:"networkLists"` }
GetNetworkListSubscriptionResponse contains response from GetNetworkListSubscription
type GetNetworkListsRequest ¶
GetNetworkListsRequest contains request parameters for GetNetworkLists method
type GetNetworkListsResponse ¶
type GetNetworkListsResponse struct { Links *NetworkListsResponseLinks `json:"links,omitempty"` NetworkLists []GetNetworkListsResponseListElement `json:"networkLists"` }
GetNetworkListsResponse contains response from GetNetworkLists method
type GetNetworkListsResponseListElement ¶ added in v2.9.0
type GetNetworkListsResponseListElement struct { ElementCount int `json:"elementCount"` Links *NetworkListsLinks `json:"links,omitempty"` Name string `json:"name"` NetworkListType string `json:"networkListType"` ReadOnly bool `json:"readOnly"` SyncPoint int `json:"syncPoint"` Type string `json:"type"` UniqueID string `json:"uniqueId"` AccessControlGroup string `json:"accessControlGroup,omitempty"` Description string `json:"description,omitempty"` }
GetNetworkListsResponseListElement contains information about a single network list
type LinkInfo ¶
type LinkInfo struct { Href string `json:"href,omitempty"` Method string `json:"method,omitempty"` }
LinkInfo contains hypermedia link
type NTWRKLISTS ¶
type NTWRKLISTS interface { Activations NetworkList NetworkListDescription NetworkListSubscription }
NTWRKLISTS is the networklist api interface
type NetworkList ¶
type NetworkList interface { // https://developer.akamai.com/api/cloud_security/network_lists/v2.html#getlists GetNetworkLists(ctx context.Context, params GetNetworkListsRequest) (*GetNetworkListsResponse, error) // https://developer.akamai.com/api/cloud_security/network_lists/v2.html#getlist GetNetworkList(ctx context.Context, params GetNetworkListRequest) (*GetNetworkListResponse, error) // https://developer.akamai.com/api/cloud_security/network_lists/v2.html#postlists CreateNetworkList(ctx context.Context, params CreateNetworkListRequest) (*CreateNetworkListResponse, error) // https://developer.akamai.com/api/cloud_security/network_lists/v2.html#putlist UpdateNetworkList(ctx context.Context, params UpdateNetworkListRequest) (*UpdateNetworkListResponse, error) // https://developer.akamai.com/api/cloud_security/network_lists/v2.html#deletelist RemoveNetworkList(ctx context.Context, params RemoveNetworkListRequest) (*RemoveNetworkListResponse, error) }
The NetworkList interface supports creating, retrieving, modifying and removing network lists.
https://developer.akamai.com/api/cloud_security/network_lists/v2.html#networklist
type NetworkListDescription ¶
type NetworkListDescription interface { // https://developer.akamai.com/api/cloud_security/network_lists/v2.html#getlist GetNetworkListDescription(ctx context.Context, params GetNetworkListDescriptionRequest) (*GetNetworkListDescriptionResponse, error) // https://developer.akamai.com/api/cloud_security/network_lists/v2.html#putdetails UpdateNetworkListDescription(ctx context.Context, params UpdateNetworkListDescriptionRequest) (*UpdateNetworkListDescriptionResponse, error) }
The NetworkListDescription interface supports retrieving and updating a network list's description.
https://developer.akamai.com/api/cloud_security/network_lists/v2.html#networklist
type NetworkListSubscription ¶
type NetworkListSubscription interface { // https://developer.akamai.com/api/cloud_security/network_lists/v2.html#postsubscribe GetNetworkListSubscription(ctx context.Context, params GetNetworkListSubscriptionRequest) (*GetNetworkListSubscriptionResponse, error) // https://developer.akamai.com/api/cloud_security/network_lists/v2.html#postsubscribe UpdateNetworkListSubscription(ctx context.Context, params UpdateNetworkListSubscriptionRequest) (*UpdateNetworkListSubscriptionResponse, error) // https://developer.akamai.com/api/cloud_security/network_lists/v2.html#postunsubscribe RemoveNetworkListSubscription(ctx context.Context, params RemoveNetworkListSubscriptionRequest) (*RemoveNetworkListSubscriptionResponse, error) }
The NetworkListSubscription interface supports creating, modifying and removing network list subscriptions.
https://developer.akamai.com/api/cloud_security/network_lists/v2.html#networklist
type NetworkListsLinks ¶
type NetworkListsLinks struct { ActivateInProduction *LinkInfo `json:"activateInProduction,omitempty"` ActivateInStaging *LinkInfo `json:"activateInStaging,omitempty"` AppendItems *LinkInfo `json:"appendItems,omitempty"` Retrieve *LinkInfo `json:"retrieve,omitempty"` StatusInProduction *LinkInfo `json:"statusInProduction,omitempty"` StatusInStaging *LinkInfo `json:"statusInStaging,omitempty"` Update *LinkInfo `json:"update,omitempty"` }
nolint:revive NetworkListsLinks encapsulates the set of API hypermedia
type NetworkListsResponseLinks ¶
type NetworkListsResponseLinks struct {
Create *LinkInfo `json:"create,omitempty"`
}
nolint:revive NetworkListsResponseLinks contains LinkInfo
type NetworkValue ¶
type NetworkValue string
NetworkValue is used to create an "enum" of possible Activation.Network values
type Recipients ¶
type Recipients struct {
Recipients string `json:"notificationRecipients"`
}
Recipients contains recipients
type RemoveActivationsRequest ¶
type RemoveActivationsRequest struct { UniqueID string `json:"-"` ActivationID int `json:"-"` Action string `json:"action"` Network string `json:"network"` Comments string `json:"comments"` NotificationRecipients []string `json:"notificationRecipients"` }
RemoveActivationsRequest contains request parameters of Activation to deactivate
type RemoveActivationsResponse ¶
type RemoveActivationsResponse struct { ActivationID int `json:"activationId"` ActivationComments string `json:"activationComments"` ActivationStatus string `json:"activationStatus"` SyncPoint int `json:"syncPoint"` UniqueID string `json:"uniqueId"` Fast bool `json:"fast"` DispatchCount int `json:"dispatchCount"` Links struct { AppendItems struct { Href string `json:"href"` Method string `json:"method"` } `json:"appendItems"` Retrieve struct { Href string `json:"href"` } `json:"retrieve"` StatusInProduction struct { Href string `json:"href"` } `json:"statusInProduction"` StatusInStaging struct { Href string `json:"href"` } `json:"statusInStaging"` SyncPointHistory struct { Href string `json:"href"` } `json:"syncPointHistory"` Update struct { Href string `json:"href"` Method string `json:"method"` } `json:"update"` ActivationDetails struct { Href string `json:"href"` } `json:"activationDetails"` } `json:"links"` }
RemoveActivationsResponse contains response of Activation deactivation
type RemoveNetworkListRequest ¶
type RemoveNetworkListRequest struct {
UniqueID string `json:"-"`
}
RemoveNetworkListRequest contains request parameters for RemoveNetworkList method
func (RemoveNetworkListRequest) Validate ¶
func (v RemoveNetworkListRequest) Validate() error
Validate validates RemoveNetworkListRequest
type RemoveNetworkListResponse ¶
type RemoveNetworkListResponse struct { Status int `json:"status"` UniqueID string `json:"uniqueId"` SyncPoint int `json:"syncPoint"` }
RemoveNetworkListResponse contains response from RemoveNetworkList method
type RemoveNetworkListSubscriptionRequest ¶
type RemoveNetworkListSubscriptionRequest struct { Recipients []string `json:"recipients"` UniqueIds []string `json:"uniqueIds"` }
RemoveNetworkListSubscriptionRequest contains request parameters for RemoveNetworkListSubscription method
type RemoveNetworkListSubscriptionResponse ¶
type RemoveNetworkListSubscriptionResponse struct {
Empty string `json:"-"`
}
RemoveNetworkListSubscriptionResponse contains response from RemoveNetworkListSubscription method
type StatusValue ¶
type StatusValue string
StatusValue is used to create an "enum" of possible Activation.Status values
type UpdateNetworkListDescriptionRequest ¶
type UpdateNetworkListDescriptionRequest struct { UniqueID string `json:"-"` Name string `json:"name"` Description string `json:"description"` }
UpdateNetworkListDescriptionRequest contains request parameters for UpdateNetworkListDescription method
func (UpdateNetworkListDescriptionRequest) Validate ¶
func (v UpdateNetworkListDescriptionRequest) Validate() error
Validate validates UpdateNetworkListDescriptionRequest
type UpdateNetworkListDescriptionResponse ¶
type UpdateNetworkListDescriptionResponse struct {
Empty string `json:"-"`
}
UpdateNetworkListDescriptionResponse contains response from UpdateNetworkListDescription method
type UpdateNetworkListRequest ¶
type UpdateNetworkListRequest struct { Name string `json:"name"` Type string `json:"type"` Description string `json:"description"` ContractID string `json:"contractId,omitempty"` GroupID int `json:"groupId,omitempty"` SyncPoint int `json:"syncPoint"` List []string `json:"list"` UniqueID string `json:"uniqueId"` }
UpdateNetworkListRequest contains request parameters for CreateNetworkLists method
func (UpdateNetworkListRequest) Validate ¶
func (v UpdateNetworkListRequest) Validate() error
Validate validates UpdateNetworkListRequest
type UpdateNetworkListResponse ¶
type UpdateNetworkListResponse struct { Links struct { Create struct { Href string `json:"href"` Method string `json:"method"` } `json:"create"` } `json:"links"` NetworkLists []struct { ElementCount int `json:"elementCount"` Links struct { ActivateInProduction struct { Href string `json:"href"` Method string `json:"method"` } `json:"activateInProduction"` ActivateInStaging struct { Href string `json:"href"` Method string `json:"method"` } `json:"activateInStaging"` AppendItems struct { Href string `json:"href"` Method string `json:"method"` } `json:"appendItems"` Retrieve struct { Href string `json:"href"` } `json:"retrieve"` StatusInProduction struct { Href string `json:"href"` } `json:"statusInProduction"` StatusInStaging struct { Href string `json:"href"` } `json:"statusInStaging"` Update struct { Href string `json:"href"` Method string `json:"method"` } `json:"update"` } `json:"links"` Name string `json:"name"` NetworkListType string `json:"networkListType"` ReadOnly bool `json:"readOnly"` Shared bool `json:"shared"` SyncPoint int `json:"syncPoint"` Type string `json:"type"` UniqueID string `json:"uniqueId"` AccessControlGroup string `json:"accessControlGroup,omitempty"` Description string `json:"description,omitempty"` } `json:"networkLists"` }
UpdateNetworkListResponse contains response from CreateNetworkList method
type UpdateNetworkListSubscriptionRequest ¶
type UpdateNetworkListSubscriptionRequest struct { Recipients []string `json:"recipients"` UniqueIds []string `json:"uniqueIds"` }
UpdateNetworkListSubscriptionRequest contains request parameters for UpdateNetworkListSubscription method
type UpdateNetworkListSubscriptionResponse ¶
type UpdateNetworkListSubscriptionResponse struct {
Empty string `json:"-"`
}
UpdateNetworkListSubscriptionResponse contains response from UpdateNetworkListSubscription method