7.3 KiB
TransportAllowlistView
Properties
| Name | Type | Description | Notes |
|---|---|---|---|
| AccessGroups | Pointer to map[string]map[string][]string | AccessGroups is the org's named sender sets, as group name -> transport -> member entries, held once for the whole org. A DM or Group entry written `accessGroup:<name>` admits any sender listed under that name for THIS transport, or under the transport `*`, which is how one set covers every transport at once. Replaced wholesale by the PUT. | [optional] |
| Dm | Pointer to []string | DM is the CONFIG-managed DM allow entries — the list PUT /v1/transport/allowlist owns and replaces wholesale. An entry matches a sender either EXACTLY, as the transport-native id inbox messages carry, or as `accessGroup:<name>` resolved through AccessGroups. A bare `*` admits everyone, but only while DMPolicy is "open": it is gate syntax, not an identity, so under "allowlist" it matches nobody. | [optional] |
| DmPolicy | Pointer to string | DMPolicy decides every inbound DIRECT message, defaulting to "pairing" when the org has never set one. "pairing": a sender with no entry is sent a pairing code and the message is DROPPED — it never reaches the inbox — and they are admitted only once an admin approves. "allowlist": only DM admits, and Paired senders are suspended, since a pairing grant counts under "pairing" alone. "open" is not unconditional either — it still requires `*` or a matching entry in DM. | [optional] |
| Group | Pointer to []string | Group is the CONFIG-managed group allow entries, consulted only while GroupPolicy is "allowlist". Entries match the same two ways as DM, and here a bare `*` admits every sender in the channel. | [optional] |
| GroupPolicy | Pointer to string | GroupPolicy decides every inbound GROUP or THREAD message — a thread is a group surface — defaulting to "open". "open" admits every sender in the channel. "allowlist" admits only what Group lists, so an EMPTY Group blocks the transport's group channels outright. "disabled" drops all of them. | [optional] |
| Paired | Pointer to []string | Paired is the senders admitted by PAIRING — the entries POST /v1/transport/pairing/approve minted, DM scope only. READ-ONLY on this endpoint: the PUT writes config entries and can never revoke one of these (listing a paired sender under DM instead promotes that entry to config, which the admin then owns). They admit only while DMPolicy is "pairing". | [optional] |
Methods
NewTransportAllowlistView
func NewTransportAllowlistView() *TransportAllowlistView
NewTransportAllowlistView instantiates a new TransportAllowlistView object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
NewTransportAllowlistViewWithDefaults
func NewTransportAllowlistViewWithDefaults() *TransportAllowlistView
NewTransportAllowlistViewWithDefaults instantiates a new TransportAllowlistView object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
GetAccessGroups
func (o *TransportAllowlistView) GetAccessGroups() map[string]map[string][]string
GetAccessGroups returns the AccessGroups field if non-nil, zero value otherwise.
GetAccessGroupsOk
func (o *TransportAllowlistView) GetAccessGroupsOk() (*map[string]map[string][]string, bool)
GetAccessGroupsOk returns a tuple with the AccessGroups field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetAccessGroups
func (o *TransportAllowlistView) SetAccessGroups(v map[string]map[string][]string)
SetAccessGroups sets AccessGroups field to given value.
HasAccessGroups
func (o *TransportAllowlistView) HasAccessGroups() bool
HasAccessGroups returns a boolean if a field has been set.
GetDm
func (o *TransportAllowlistView) GetDm() []string
GetDm returns the Dm field if non-nil, zero value otherwise.
GetDmOk
func (o *TransportAllowlistView) GetDmOk() (*[]string, bool)
GetDmOk returns a tuple with the Dm field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetDm
func (o *TransportAllowlistView) SetDm(v []string)
SetDm sets Dm field to given value.
HasDm
func (o *TransportAllowlistView) HasDm() bool
HasDm returns a boolean if a field has been set.
GetDmPolicy
func (o *TransportAllowlistView) GetDmPolicy() string
GetDmPolicy returns the DmPolicy field if non-nil, zero value otherwise.
GetDmPolicyOk
func (o *TransportAllowlistView) GetDmPolicyOk() (*string, bool)
GetDmPolicyOk returns a tuple with the DmPolicy field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetDmPolicy
func (o *TransportAllowlistView) SetDmPolicy(v string)
SetDmPolicy sets DmPolicy field to given value.
HasDmPolicy
func (o *TransportAllowlistView) HasDmPolicy() bool
HasDmPolicy returns a boolean if a field has been set.
GetGroup
func (o *TransportAllowlistView) GetGroup() []string
GetGroup returns the Group field if non-nil, zero value otherwise.
GetGroupOk
func (o *TransportAllowlistView) GetGroupOk() (*[]string, bool)
GetGroupOk returns a tuple with the Group field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetGroup
func (o *TransportAllowlistView) SetGroup(v []string)
SetGroup sets Group field to given value.
HasGroup
func (o *TransportAllowlistView) HasGroup() bool
HasGroup returns a boolean if a field has been set.
GetGroupPolicy
func (o *TransportAllowlistView) GetGroupPolicy() string
GetGroupPolicy returns the GroupPolicy field if non-nil, zero value otherwise.
GetGroupPolicyOk
func (o *TransportAllowlistView) GetGroupPolicyOk() (*string, bool)
GetGroupPolicyOk returns a tuple with the GroupPolicy field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetGroupPolicy
func (o *TransportAllowlistView) SetGroupPolicy(v string)
SetGroupPolicy sets GroupPolicy field to given value.
HasGroupPolicy
func (o *TransportAllowlistView) HasGroupPolicy() bool
HasGroupPolicy returns a boolean if a field has been set.
GetPaired
func (o *TransportAllowlistView) GetPaired() []string
GetPaired returns the Paired field if non-nil, zero value otherwise.
GetPairedOk
func (o *TransportAllowlistView) GetPairedOk() (*[]string, bool)
GetPairedOk returns a tuple with the Paired field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetPaired
func (o *TransportAllowlistView) SetPaired(v []string)
SetPaired sets Paired field to given value.
HasPaired
func (o *TransportAllowlistView) HasPaired() bool
HasPaired returns a boolean if a field has been set.