users

package
v0.8.4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 18, 2024 License: Apache-2.0 Imports: 6 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type UserConnectorMembership added in v0.8.0

type UserConnectorMembership struct {
	ConnectorId string `json:"id"`
	UserMembership
}

type UserConnectorMembershipCreateResponse added in v0.8.0

type UserConnectorMembershipCreateResponse struct {
	common.CommonResponse
	Data UserConnectorMembership `json:"data"`
}

type UserConnectorMembershipCreateService added in v0.8.0

type UserConnectorMembershipCreateService struct {
	httputils.HttpService
	// contains filtered or unexported fields
}

UserConnectorsCreateService implements the User Management, Add connector membership Ref. https://fivetran.com/docs/rest-api/users#addconnectormembership

func (*UserConnectorMembershipCreateService) ConnectorId added in v0.8.0

func (*UserConnectorMembershipCreateService) Do added in v0.8.0

func (*UserConnectorMembershipCreateService) Role added in v0.8.0

func (*UserConnectorMembershipCreateService) UserId added in v0.8.0

type UserConnectorMembershipDeleteService added in v0.8.0

type UserConnectorMembershipDeleteService struct {
	httputils.HttpService
	// contains filtered or unexported fields
}

UserConnectorMembershipDeleteService implements the User Management, Delete connector membership Ref. https://fivetran.com/docs/rest-api/users#deleteconnectormembership

func (*UserConnectorMembershipDeleteService) ConnectorId added in v0.8.0

func (*UserConnectorMembershipDeleteService) Do added in v0.8.0

func (*UserConnectorMembershipDeleteService) UserId added in v0.8.0

type UserConnectorMembershipDetailsResponse added in v0.8.0

type UserConnectorMembershipDetailsResponse struct {
	Code string                  `json:"code"`
	Data UserConnectorMembership `json:"data"`
}

type UserConnectorMembershipDetailsService added in v0.8.0

type UserConnectorMembershipDetailsService struct {
	httputils.HttpService
	// contains filtered or unexported fields
}

UserConnectorMembershipDetailsService implements the User Management, Retrieve connector membership Ref. https://fivetran.com/docs/rest-api/users#retrieveconnectormembership

func (*UserConnectorMembershipDetailsService) ConnectorId added in v0.8.0

func (*UserConnectorMembershipDetailsService) Do added in v0.8.0

func (*UserConnectorMembershipDetailsService) UserId added in v0.8.0

type UserConnectorMembershipModifyService added in v0.8.0

type UserConnectorMembershipModifyService struct {
	httputils.HttpService
	// contains filtered or unexported fields
}

UserConnectorMembershipModifyService implements the User Management, Update connector membership Ref. https://fivetran.com/docs/rest-api/users#updateconnectormembership

func (*UserConnectorMembershipModifyService) ConnectorId added in v0.8.0

func (*UserConnectorMembershipModifyService) Do added in v0.8.0

func (*UserConnectorMembershipModifyService) Role added in v0.8.0

func (*UserConnectorMembershipModifyService) UserId added in v0.8.0

type UserConnectorMembershipsListResponse added in v0.8.0

type UserConnectorMembershipsListResponse struct {
	Code string `json:"code"`
	Data struct {
		Items      []UserConnectorMembership `json:"items"`
		NextCursor string                    `json:"next_cursor"`
	} `json:"data"`
}

type UserConnectorMembershipsListService added in v0.8.0

type UserConnectorMembershipsListService struct {
	httputils.HttpService
	// contains filtered or unexported fields
}

UserConnectorMembershipsListService implements the User Management, List all connector memberships Ref. https://fivetran.com/docs/rest-api/users#listallconnectormemberships

func (*UserConnectorMembershipsListService) Cursor added in v0.8.0

func (*UserConnectorMembershipsListService) Do added in v0.8.0

func (*UserConnectorMembershipsListService) Limit added in v0.8.0

func (*UserConnectorMembershipsListService) UserId added in v0.8.0

type UserDeleteService added in v0.8.0

type UserDeleteService struct {
	httputils.HttpService
	// contains filtered or unexported fields
}

UserDeleteService implements the User Management, Delete a user API. Ref. https://fivetran.com/docs/rest-api/users#deleteauser

func (*UserDeleteService) Do added in v0.8.0

func (*UserDeleteService) UserID added in v0.8.0

func (s *UserDeleteService) UserID(value string) *UserDeleteService

type UserDetailsData

type UserDetailsData struct {
	ID         string    `json:"id"`
	Email      string    `json:"email"`
	GivenName  string    `json:"given_name"`
	FamilyName string    `json:"family_name"`
	Verified   *bool     `json:"verified"`
	Invited    *bool     `json:"invited"`
	Picture    string    `json:"picture"`
	Phone      string    `json:"phone"`
	LoggedInAt time.Time `json:"logged_in_at"`
	CreatedAt  time.Time `json:"created_at"`
	Role       string    `json:"role"`
	Active     *bool     `json:"active"`
}

type UserDetailsResponse

type UserDetailsResponse struct {
	common.CommonResponse
	Data UserDetailsData `json:"data"`
}

type UserDetailsService added in v0.8.0

type UserDetailsService struct {
	httputils.HttpService
	// contains filtered or unexported fields
}

UserDetailsService implements the User Management, Retrieve user details API. Ref. https://fivetran.com/docs/rest-api/users#retrieveuserdetails

func (*UserDetailsService) Do added in v0.8.0

func (*UserDetailsService) UserID added in v0.8.0

func (s *UserDetailsService) UserID(value string) *UserDetailsService

type UserGroupMembership added in v0.8.0

type UserGroupMembership struct {
	GroupId string `json:"id"`
	UserMembership
}

type UserGroupMembershipCreateResponse added in v0.8.0

type UserGroupMembershipCreateResponse struct {
	common.CommonResponse
	Data UserGroupMembership `json:"data"`
}

type UserGroupMembershipCreateService added in v0.8.0

type UserGroupMembershipCreateService struct {
	httputils.HttpService
	// contains filtered or unexported fields
}

UserGroupMembershipCreateService implements the User Management, Add group membership Ref. https://fivetran.com/docs/rest-api/users#addgroupmembership

func (*UserGroupMembershipCreateService) Do added in v0.8.0

func (*UserGroupMembershipCreateService) GroupId added in v0.8.0

func (*UserGroupMembershipCreateService) Role added in v0.8.0

func (*UserGroupMembershipCreateService) UserId added in v0.8.0

type UserGroupMembershipDeleteService added in v0.8.0

type UserGroupMembershipDeleteService struct {
	httputils.HttpService
	// contains filtered or unexported fields
}

UserGroupMembershipDeleteService implements the User Management, Delete group membership Ref. https://fivetran.com/docs/rest-api/users#deletegroupmembership

func (*UserGroupMembershipDeleteService) Do added in v0.8.0

func (*UserGroupMembershipDeleteService) GroupId added in v0.8.0

func (*UserGroupMembershipDeleteService) UserId added in v0.8.0

type UserGroupMembershipDetailsResponse added in v0.8.0

type UserGroupMembershipDetailsResponse struct {
	Code string              `json:"code"`
	Data UserGroupMembership `json:"data"`
}

type UserGroupMembershipDetailsService added in v0.8.0

type UserGroupMembershipDetailsService struct {
	httputils.HttpService
	// contains filtered or unexported fields
}

UserGroupMembershipDetailsService implements the User Management, Retrieve group membership Ref. https://fivetran.com/docs/rest-api/users#retrievegroupmembership

func (*UserGroupMembershipDetailsService) Do added in v0.8.0

func (*UserGroupMembershipDetailsService) GroupId added in v0.8.0

func (*UserGroupMembershipDetailsService) UserId added in v0.8.0

type UserGroupMembershipModifyService added in v0.8.0

type UserGroupMembershipModifyService struct {
	httputils.HttpService
	// contains filtered or unexported fields
}

UserGroupMembershipModifyService implements the User Management, Update group membership Ref. https://fivetran.com/docs/rest-api/users#updategroupmembership

func (*UserGroupMembershipModifyService) Do added in v0.8.0

func (*UserGroupMembershipModifyService) GroupId added in v0.8.0

func (*UserGroupMembershipModifyService) Role added in v0.8.0

func (*UserGroupMembershipModifyService) UserId added in v0.8.0

type UserGroupMembershipsListResponse added in v0.8.0

type UserGroupMembershipsListResponse struct {
	Code string `json:"code"`
	Data struct {
		Items      []UserGroupMembership `json:"items"`
		NextCursor string                `json:"next_cursor"`
	} `json:"data"`
}

type UserGroupMembershipsListService added in v0.8.0

type UserGroupMembershipsListService struct {
	httputils.HttpService
	// contains filtered or unexported fields
}

UserListGroupsService implements the User Management, List all group memberships Ref. https://fivetran.com/docs/rest-api/users#listallgroupmemberships

func (*UserGroupMembershipsListService) Cursor added in v0.8.0

func (*UserGroupMembershipsListService) Do added in v0.8.0

func (*UserGroupMembershipsListService) Limit added in v0.8.0

func (*UserGroupMembershipsListService) UserId added in v0.8.0

type UserInviteService added in v0.8.0

type UserInviteService struct {
	httputils.HttpService
	// contains filtered or unexported fields
}

UserInviteService implements the User Management, Invite a User API. Ref. https://fivetran.com/docs/rest-api/users#inviteauser

func (*UserInviteService) Do added in v0.8.0

func (*UserInviteService) Email added in v0.8.0

func (s *UserInviteService) Email(value string) *UserInviteService

func (*UserInviteService) FamilyName added in v0.8.0

func (s *UserInviteService) FamilyName(value string) *UserInviteService

func (*UserInviteService) GivenName added in v0.8.0

func (s *UserInviteService) GivenName(value string) *UserInviteService

func (*UserInviteService) Phone added in v0.8.0

func (s *UserInviteService) Phone(value string) *UserInviteService

func (*UserInviteService) Picture added in v0.8.0

func (s *UserInviteService) Picture(value string) *UserInviteService

func (*UserInviteService) Role added in v0.8.0

func (s *UserInviteService) Role(value string) *UserInviteService

type UserMembership added in v0.8.0

type UserMembership struct {
	Role      string `json:"role"`
	CreatedAt string `json:"created_at"`
}

type UserModifyService added in v0.8.0

type UserModifyService struct {
	httputils.HttpService
	// contains filtered or unexported fields
}

UserModifyService implements the User Management, Modify a User API. Ref. https://fivetran.com/docs/rest-api/users#modifyauser

func (*UserModifyService) ClearPhone added in v0.8.0

func (s *UserModifyService) ClearPhone() *UserModifyService

func (*UserModifyService) ClearPicture added in v0.8.0

func (s *UserModifyService) ClearPicture() *UserModifyService

func (*UserModifyService) Do added in v0.8.0

func (*UserModifyService) FamilyName added in v0.8.0

func (s *UserModifyService) FamilyName(value string) *UserModifyService

func (*UserModifyService) GivenName added in v0.8.0

func (s *UserModifyService) GivenName(value string) *UserModifyService

func (*UserModifyService) Phone added in v0.8.0

func (s *UserModifyService) Phone(value string) *UserModifyService

func (*UserModifyService) Picture added in v0.8.0

func (s *UserModifyService) Picture(value string) *UserModifyService

func (*UserModifyService) Role added in v0.8.0

func (s *UserModifyService) Role(value string) *UserModifyService

func (*UserModifyService) UserID added in v0.8.0

func (s *UserModifyService) UserID(value string) *UserModifyService

type UsersListResponse

type UsersListResponse struct {
	common.CommonResponse
	Data struct {
		Items      []UserDetailsData `json:"items"`
		NextCursor string            `json:"next_cursor"`
	} `json:"data"`
}

type UsersListService added in v0.8.0

type UsersListService struct {
	httputils.HttpService
	// contains filtered or unexported fields
}

UsersListService implements the User Management, List All Users API. Ref. https://fivetran.com/docs/rest-api/users#listallusers

func (*UsersListService) Cursor added in v0.8.0

func (s *UsersListService) Cursor(value string) *UsersListService

func (*UsersListService) Do added in v0.8.0

func (*UsersListService) Limit added in v0.8.0

func (s *UsersListService) Limit(value int) *UsersListService

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL