// Code generated by private/model/cli/gen-api/main.go. DO NOT EDIT. package directconnect type AddressFamily string // Enum values for AddressFamily const ( AddressFamilyIpv4 AddressFamily = "ipv4" AddressFamilyIpv6 AddressFamily = "ipv6" ) func (enum AddressFamily) MarshalValue() (string, error) { return string(enum), nil } func (enum AddressFamily) MarshalValueBuf(b []byte) ([]byte, error) { b = b[0:0] return append(b, enum...), nil } type BGPPeerState string // Enum values for BGPPeerState const ( BGPPeerStateVerifying BGPPeerState = "verifying" BGPPeerStatePending BGPPeerState = "pending" BGPPeerStateAvailable BGPPeerState = "available" BGPPeerStateDeleting BGPPeerState = "deleting" BGPPeerStateDeleted BGPPeerState = "deleted" ) func (enum BGPPeerState) MarshalValue() (string, error) { return string(enum), nil } func (enum BGPPeerState) MarshalValueBuf(b []byte) ([]byte, error) { b = b[0:0] return append(b, enum...), nil } type BGPStatus string // Enum values for BGPStatus const ( BGPStatusUp BGPStatus = "up" BGPStatusDown BGPStatus = "down" BGPStatusUnknown BGPStatus = "unknown" ) func (enum BGPStatus) MarshalValue() (string, error) { return string(enum), nil } func (enum BGPStatus) MarshalValueBuf(b []byte) ([]byte, error) { b = b[0:0] return append(b, enum...), nil } type ConnectionState string // Enum values for ConnectionState const ( ConnectionStateOrdering ConnectionState = "ordering" ConnectionStateRequested ConnectionState = "requested" ConnectionStatePending ConnectionState = "pending" ConnectionStateAvailable ConnectionState = "available" ConnectionStateDown ConnectionState = "down" ConnectionStateDeleting ConnectionState = "deleting" ConnectionStateDeleted ConnectionState = "deleted" ConnectionStateRejected ConnectionState = "rejected" ConnectionStateUnknown ConnectionState = "unknown" ) func (enum ConnectionState) MarshalValue() (string, error) { return string(enum), nil } func (enum ConnectionState) MarshalValueBuf(b []byte) ([]byte, error) { b = b[0:0] return append(b, enum...), nil } type DirectConnectGatewayAssociationProposalState string // Enum values for DirectConnectGatewayAssociationProposalState const ( DirectConnectGatewayAssociationProposalStateRequested DirectConnectGatewayAssociationProposalState = "requested" DirectConnectGatewayAssociationProposalStateAccepted DirectConnectGatewayAssociationProposalState = "accepted" DirectConnectGatewayAssociationProposalStateDeleted DirectConnectGatewayAssociationProposalState = "deleted" ) func (enum DirectConnectGatewayAssociationProposalState) MarshalValue() (string, error) { return string(enum), nil } func (enum DirectConnectGatewayAssociationProposalState) MarshalValueBuf(b []byte) ([]byte, error) { b = b[0:0] return append(b, enum...), nil } type DirectConnectGatewayAssociationState string // Enum values for DirectConnectGatewayAssociationState const ( DirectConnectGatewayAssociationStateAssociating DirectConnectGatewayAssociationState = "associating" DirectConnectGatewayAssociationStateAssociated DirectConnectGatewayAssociationState = "associated" DirectConnectGatewayAssociationStateDisassociating DirectConnectGatewayAssociationState = "disassociating" DirectConnectGatewayAssociationStateDisassociated DirectConnectGatewayAssociationState = "disassociated" DirectConnectGatewayAssociationStateUpdating DirectConnectGatewayAssociationState = "updating" ) func (enum DirectConnectGatewayAssociationState) MarshalValue() (string, error) { return string(enum), nil } func (enum DirectConnectGatewayAssociationState) MarshalValueBuf(b []byte) ([]byte, error) { b = b[0:0] return append(b, enum...), nil } type DirectConnectGatewayAttachmentState string // Enum values for DirectConnectGatewayAttachmentState const ( DirectConnectGatewayAttachmentStateAttaching DirectConnectGatewayAttachmentState = "attaching" DirectConnectGatewayAttachmentStateAttached DirectConnectGatewayAttachmentState = "attached" DirectConnectGatewayAttachmentStateDetaching DirectConnectGatewayAttachmentState = "detaching" DirectConnectGatewayAttachmentStateDetached DirectConnectGatewayAttachmentState = "detached" ) func (enum DirectConnectGatewayAttachmentState) MarshalValue() (string, error) { return string(enum), nil } func (enum DirectConnectGatewayAttachmentState) MarshalValueBuf(b []byte) ([]byte, error) { b = b[0:0] return append(b, enum...), nil } type DirectConnectGatewayAttachmentType string // Enum values for DirectConnectGatewayAttachmentType const ( DirectConnectGatewayAttachmentTypeTransitVirtualInterface DirectConnectGatewayAttachmentType = "TransitVirtualInterface" DirectConnectGatewayAttachmentTypePrivateVirtualInterface DirectConnectGatewayAttachmentType = "PrivateVirtualInterface" ) func (enum DirectConnectGatewayAttachmentType) MarshalValue() (string, error) { return string(enum), nil } func (enum DirectConnectGatewayAttachmentType) MarshalValueBuf(b []byte) ([]byte, error) { b = b[0:0] return append(b, enum...), nil } type DirectConnectGatewayState string // Enum values for DirectConnectGatewayState const ( DirectConnectGatewayStatePending DirectConnectGatewayState = "pending" DirectConnectGatewayStateAvailable DirectConnectGatewayState = "available" DirectConnectGatewayStateDeleting DirectConnectGatewayState = "deleting" DirectConnectGatewayStateDeleted DirectConnectGatewayState = "deleted" ) func (enum DirectConnectGatewayState) MarshalValue() (string, error) { return string(enum), nil } func (enum DirectConnectGatewayState) MarshalValueBuf(b []byte) ([]byte, error) { b = b[0:0] return append(b, enum...), nil } type GatewayType string // Enum values for GatewayType const ( GatewayTypeVirtualPrivateGateway GatewayType = "virtualPrivateGateway" GatewayTypeTransitGateway GatewayType = "transitGateway" ) func (enum GatewayType) MarshalValue() (string, error) { return string(enum), nil } func (enum GatewayType) MarshalValueBuf(b []byte) ([]byte, error) { b = b[0:0] return append(b, enum...), nil } type HasLogicalRedundancy string // Enum values for HasLogicalRedundancy const ( HasLogicalRedundancyUnknown HasLogicalRedundancy = "unknown" HasLogicalRedundancyYes HasLogicalRedundancy = "yes" HasLogicalRedundancyNo HasLogicalRedundancy = "no" ) func (enum HasLogicalRedundancy) MarshalValue() (string, error) { return string(enum), nil } func (enum HasLogicalRedundancy) MarshalValueBuf(b []byte) ([]byte, error) { b = b[0:0] return append(b, enum...), nil } type InterconnectState string // Enum values for InterconnectState const ( InterconnectStateRequested InterconnectState = "requested" InterconnectStatePending InterconnectState = "pending" InterconnectStateAvailable InterconnectState = "available" InterconnectStateDown InterconnectState = "down" InterconnectStateDeleting InterconnectState = "deleting" InterconnectStateDeleted InterconnectState = "deleted" InterconnectStateUnknown InterconnectState = "unknown" ) func (enum InterconnectState) MarshalValue() (string, error) { return string(enum), nil } func (enum InterconnectState) MarshalValueBuf(b []byte) ([]byte, error) { b = b[0:0] return append(b, enum...), nil } type LagState string // Enum values for LagState const ( LagStateRequested LagState = "requested" LagStatePending LagState = "pending" LagStateAvailable LagState = "available" LagStateDown LagState = "down" LagStateDeleting LagState = "deleting" LagStateDeleted LagState = "deleted" LagStateUnknown LagState = "unknown" ) func (enum LagState) MarshalValue() (string, error) { return string(enum), nil } func (enum LagState) MarshalValueBuf(b []byte) ([]byte, error) { b = b[0:0] return append(b, enum...), nil } type LoaContentType string // Enum values for LoaContentType const ( LoaContentTypeApplicationPdf LoaContentType = "application/pdf" ) func (enum LoaContentType) MarshalValue() (string, error) { return string(enum), nil } func (enum LoaContentType) MarshalValueBuf(b []byte) ([]byte, error) { b = b[0:0] return append(b, enum...), nil } type VirtualInterfaceState string // Enum values for VirtualInterfaceState const ( VirtualInterfaceStateConfirming VirtualInterfaceState = "confirming" VirtualInterfaceStateVerifying VirtualInterfaceState = "verifying" VirtualInterfaceStatePending VirtualInterfaceState = "pending" VirtualInterfaceStateAvailable VirtualInterfaceState = "available" VirtualInterfaceStateDown VirtualInterfaceState = "down" VirtualInterfaceStateDeleting VirtualInterfaceState = "deleting" VirtualInterfaceStateDeleted VirtualInterfaceState = "deleted" VirtualInterfaceStateRejected VirtualInterfaceState = "rejected" VirtualInterfaceStateUnknown VirtualInterfaceState = "unknown" ) func (enum VirtualInterfaceState) MarshalValue() (string, error) { return string(enum), nil } func (enum VirtualInterfaceState) MarshalValueBuf(b []byte) ([]byte, error) { b = b[0:0] return append(b, enum...), nil }