Skip to content

Commit

Permalink
Merge pull request #3 from CiscoISE/develop
Browse files Browse the repository at this point in the history
Develop
  • Loading branch information
wastorga authored Sep 27, 2021
2 parents 11e99fd + 3e430fc commit efc0330
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 15 deletions.
6 changes: 3 additions & 3 deletions sdk/security_groups.go
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ type ResponseSecurityGroupsGetSecurityGroupByIDSgt struct {
Name string `json:"name,omitempty"` //
Description string `json:"description,omitempty"` //
Value *int `json:"value,omitempty"` // Value range: 2 ot 65519 or -1 to auto-generate
GenerationID *int `json:"generationId,omitempty"` //
GenerationID string `json:"generationId,omitempty"` //
IsReadOnly *bool `json:"isReadOnly,omitempty"` //
PropogateToAPIc *bool `json:"propogateToApic,omitempty"` //
DefaultSgACLs *[]interface{} `json:"defaultSGACLs,omitempty"` //
Expand Down Expand Up @@ -143,7 +143,7 @@ type RequestSecurityGroupsUpdateSecurityGroupByIDSgt struct {
Name string `json:"name,omitempty"` //
Description string `json:"description,omitempty"` //
Value *int `json:"value,omitempty"` // Value range: 2 ot 65519 or -1 to auto-generate
GenerationID *int `json:"generationId,omitempty"` //
GenerationID string `json:"generationId,omitempty"` //
IsReadOnly *bool `json:"isReadOnly,omitempty"` //
PropogateToAPIc *bool `json:"propogateToApic,omitempty"` //
DefaultSgACLs *[]interface{} `json:"defaultSGACLs,omitempty"` //
Expand All @@ -157,7 +157,7 @@ type RequestSecurityGroupsCreateSecurityGroupSgt struct {
Name string `json:"name,omitempty"` //
Description string `json:"description,omitempty"` //
Value *int `json:"value,omitempty"` // Value range: 2 ot 65519 or -1 to auto-generate
GenerationID *int `json:"generationId,omitempty"` //
GenerationID string `json:"generationId,omitempty"` //
IsReadOnly *bool `json:"isReadOnly,omitempty"` //
PropogateToAPIc *bool `json:"propogateToApic,omitempty"` //
DefaultSgACLs *[]interface{} `json:"defaultSGACLs,omitempty"` //
Expand Down
18 changes: 9 additions & 9 deletions sdk/self_registered_portal.go
Original file line number Diff line number Diff line change
Expand Up @@ -105,9 +105,9 @@ type ResponseSelfRegisteredPortalGetSelfRegisteredPortalByIDSelfRegPortalSetting
AupDisplay string `json:"aupDisplay,omitempty"` // How the AUP should be displayed, either on page or as a link. Only valid if includeAup = true. Allowed values: - ONPAGE, - ASLINK
RequireAupAcceptance *bool `json:"requireAupAcceptance,omitempty"` // Require the portal user to accept the AUP. Only valid if includeAup = true
EnableGuestEmailWhitelist *bool `json:"enableGuestEmailWhitelist,omitempty"` // Allow guests with an e-mail address from selected domains
GuestEmailWhitelistDomains string `json:"guestEmailWhitelistDomains,omitempty"` // Self-registered guests whose e-mail address is in one of these domains will be allowed. Only valid if enableGuestEmailWhitelist = true
GuestEmailWhitelistDomains []string `json:"guestEmailWhitelistDomains,omitempty"` // Self-registered guests whose e-mail address is in one of these domains will be allowed. Only valid if enableGuestEmailWhitelist = true
EnableGuestEmailBlacklist *bool `json:"enableGuestEmailBlacklist,omitempty"` // Disallow guests with an e-mail address from selected domains
GuestEmailBlacklistDomains string `json:"guestEmailBlacklistDomains,omitempty"` // Disallow guests with an e-mail address from selected domains
GuestEmailBlacklistDomains []string `json:"guestEmailBlacklistDomains,omitempty"` // Disallow guests with an e-mail address from selected domains
RequireGuestApproval *bool `json:"requireGuestApproval,omitempty"` // Require self-registered guests to be approved if true
AutoLoginSelfWait *bool `json:"autoLoginSelfWait,omitempty"` // Allow guests to login automatically from self-registration after sponsor's approval. No need to provide the credentials by guest to login
AutoLoginTimePeriod *int `json:"autoLoginTimePeriod,omitempty"` // Waiting period for auto login until sponsor's approval. If time exceeds, guest has to login manually by providing the credentials. Default value is 5 minutes
Expand All @@ -123,7 +123,7 @@ type ResponseSelfRegisteredPortalGetSelfRegisteredPortalByIDSelfRegPortalSetting
ApproveDenyLinksValidFor *int `json:"approveDenyLinksValidFor,omitempty"` // This attribute, along with approveDenyLinksTimeUnits, specifies how long the link can be used. Only valid if requireGuestApproval = true
ApproveDenyLinksTimeUnits string `json:"approveDenyLinksTimeUnits,omitempty"` // This attribute, along with approveDenyLinksValidFor, specifies how long the link can be used. Only valid if requireGuestApproval = true. Allowed Values: - DAYS, - HOURS, - MINUTES
RequireApproverToAuthenticate *bool `json:"requireApproverToAuthenticate,omitempty"` // When self-registered guests require approval, an approval request is e-mailed to one or more sponsor users. If the Cisco ISE Administrator chooses to include an approval link in the e-mail, a sponsor user who clicks the link will be required to enter their username and password if this attribute is true. Only valid if requireGuestApproval = true
AuthenticateSponsorsUsingPortalList string `json:"authenticateSponsorsUsingPortalList,omitempty"` //
AuthenticateSponsorsUsingPortalList *bool `json:"authenticateSponsorsUsingPortalList,omitempty"` //
SponsorPortalList *[]interface{} `json:"sponsorPortalList,omitempty"` //
}

Expand Down Expand Up @@ -488,9 +488,9 @@ type RequestSelfRegisteredPortalUpdateSelfRegisteredPortalByIDSelfRegPortalSetti
AupDisplay string `json:"aupDisplay,omitempty"` // How the AUP should be displayed, either on page or as a link. Only valid if includeAup = true. Allowed values: - ONPAGE, - ASLINK
RequireAupAcceptance *bool `json:"requireAupAcceptance,omitempty"` // Require the portal user to accept the AUP. Only valid if includeAup = true
EnableGuestEmailWhitelist *bool `json:"enableGuestEmailWhitelist,omitempty"` // Allow guests with an e-mail address from selected domains
GuestEmailWhitelistDomains string `json:"guestEmailWhitelistDomains,omitempty"` // Self-registered guests whose e-mail address is in one of these domains will be allowed. Only valid if enableGuestEmailWhitelist = true
GuestEmailWhitelistDomains []string `json:"guestEmailWhitelistDomains,omitempty"` // Self-registered guests whose e-mail address is in one of these domains will be allowed. Only valid if enableGuestEmailWhitelist = true
EnableGuestEmailBlacklist *bool `json:"enableGuestEmailBlacklist,omitempty"` // Disallow guests with an e-mail address from selected domains
GuestEmailBlacklistDomains string `json:"guestEmailBlacklistDomains,omitempty"` // Disallow guests with an e-mail address from selected domains
GuestEmailBlacklistDomains []string `json:"guestEmailBlacklistDomains,omitempty"` // Disallow guests with an e-mail address from selected domains
RequireGuestApproval *bool `json:"requireGuestApproval,omitempty"` // Require self-registered guests to be approved if true
AutoLoginSelfWait *bool `json:"autoLoginSelfWait,omitempty"` // Allow guests to login automatically from self-registration after sponsor's approval. No need to provide the credentials by guest to login
AutoLoginTimePeriod *int `json:"autoLoginTimePeriod,omitempty"` // Waiting period for auto login until sponsor's approval. If time exceeds, guest has to login manually by providing the credentials. Default value is 5 minutes
Expand All @@ -506,7 +506,7 @@ type RequestSelfRegisteredPortalUpdateSelfRegisteredPortalByIDSelfRegPortalSetti
ApproveDenyLinksValidFor *int `json:"approveDenyLinksValidFor,omitempty"` // This attribute, along with approveDenyLinksTimeUnits, specifies how long the link can be used. Only valid if requireGuestApproval = true
ApproveDenyLinksTimeUnits string `json:"approveDenyLinksTimeUnits,omitempty"` // This attribute, along with approveDenyLinksValidFor, specifies how long the link can be used. Only valid if requireGuestApproval = true. Allowed Values: - DAYS, - HOURS, - MINUTES
RequireApproverToAuthenticate *bool `json:"requireApproverToAuthenticate,omitempty"` // When self-registered guests require approval, an approval request is e-mailed to one or more sponsor users. If the Cisco ISE Administrator chooses to include an approval link in the e-mail, a sponsor user who clicks the link will be required to enter their username and password if this attribute is true. Only valid if requireGuestApproval = true
AuthenticateSponsorsUsingPortalList string `json:"authenticateSponsorsUsingPortalList,omitempty"` //
AuthenticateSponsorsUsingPortalList *bool `json:"authenticateSponsorsUsingPortalList,omitempty"` //
SponsorPortalList *[]interface{} `json:"sponsorPortalList,omitempty"` //
}

Expand Down Expand Up @@ -795,9 +795,9 @@ type RequestSelfRegisteredPortalCreateSelfRegisteredPortalSelfRegPortalSettingsS
AupDisplay string `json:"aupDisplay,omitempty"` // How the AUP should be displayed, either on page or as a link. Only valid if includeAup = true. Allowed values: - ONPAGE, - ASLINK
RequireAupAcceptance *bool `json:"requireAupAcceptance,omitempty"` // Require the portal user to accept the AUP. Only valid if includeAup = true
EnableGuestEmailWhitelist *bool `json:"enableGuestEmailWhitelist,omitempty"` // Allow guests with an e-mail address from selected domains
GuestEmailWhitelistDomains string `json:"guestEmailWhitelistDomains,omitempty"` // Self-registered guests whose e-mail address is in one of these domains will be allowed. Only valid if enableGuestEmailWhitelist = true
GuestEmailWhitelistDomains []string `json:"guestEmailWhitelistDomains,omitempty"` // Self-registered guests whose e-mail address is in one of these domains will be allowed. Only valid if enableGuestEmailWhitelist = true
EnableGuestEmailBlacklist *bool `json:"enableGuestEmailBlacklist,omitempty"` // Disallow guests with an e-mail address from selected domains
GuestEmailBlacklistDomains string `json:"guestEmailBlacklistDomains,omitempty"` // Disallow guests with an e-mail address from selected domains
GuestEmailBlacklistDomains []string `json:"guestEmailBlacklistDomains,omitempty"` // Disallow guests with an e-mail address from selected domains
RequireGuestApproval *bool `json:"requireGuestApproval,omitempty"` // Require self-registered guests to be approved if true
AutoLoginSelfWait *bool `json:"autoLoginSelfWait,omitempty"` // Allow guests to login automatically from self-registration after sponsor's approval. No need to provide the credentials by guest to login
AutoLoginTimePeriod *int `json:"autoLoginTimePeriod,omitempty"` // Waiting period for auto login until sponsor's approval. If time exceeds, guest has to login manually by providing the credentials. Default value is 5 minutes
Expand All @@ -813,7 +813,7 @@ type RequestSelfRegisteredPortalCreateSelfRegisteredPortalSelfRegPortalSettingsS
ApproveDenyLinksValidFor *int `json:"approveDenyLinksValidFor,omitempty"` // This attribute, along with approveDenyLinksTimeUnits, specifies how long the link can be used. Only valid if requireGuestApproval = true
ApproveDenyLinksTimeUnits string `json:"approveDenyLinksTimeUnits,omitempty"` // This attribute, along with approveDenyLinksValidFor, specifies how long the link can be used. Only valid if requireGuestApproval = true. Allowed Values: - DAYS, - HOURS, - MINUTES
RequireApproverToAuthenticate *bool `json:"requireApproverToAuthenticate,omitempty"` // When self-registered guests require approval, an approval request is e-mailed to one or more sponsor users. If the Cisco ISE Administrator chooses to include an approval link in the e-mail, a sponsor user who clicks the link will be required to enter their username and password if this attribute is true. Only valid if requireGuestApproval = true
AuthenticateSponsorsUsingPortalList string `json:"authenticateSponsorsUsingPortalList,omitempty"` //
AuthenticateSponsorsUsingPortalList *bool `json:"authenticateSponsorsUsingPortalList,omitempty"` //
SponsorPortalList *[]interface{} `json:"sponsorPortalList,omitempty"` //
}

Expand Down
Loading

0 comments on commit efc0330

Please sign in to comment.