mo_filerequest

package
v0.6.0 Latest Latest
Warning

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

Go to latest
Published: Nov 27, 2021 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FileRequest

type FileRequest struct {
	Raw                      json.RawMessage
	Id                       string `path:"id" json:"id"`
	Url                      string `path:"url" json:"url"`
	Title                    string `path:"title" json:"title"`
	Created                  string `path:"created" json:"created"`
	IsOpen                   bool   `path:"is_open" json:"is_open"`
	FileCount                int    `path:"file_count" json:"file_count"`
	Destination              string `path:"destination" json:"destination"`
	Deadline                 string `path:"deadline.deadline" json:"deadline"`
	DeadlineAllowLateUploads string `path:"deadline.allow_late_uploads.\\.tag" json:"deadline_allow_late_uploads"`
}

func (*FileRequest) IsSame

func (z *FileRequest) IsSame(other *FileRequest) bool

type MemberFileRequest

type MemberFileRequest struct {
	Raw                      json.RawMessage
	AccountId                string `path:"member.profile.account_id" json:"account_id"`
	TeamMemberId             string `path:"member.profile.team_member_id" json:"team_member_id"`
	Email                    string `path:"member.profile.email" json:"email"`
	Status                   string `path:"member.profile.status.\\.tag" json:"status"`
	Surname                  string `path:"member.profile.name.surname" json:"surname"`
	GivenName                string `path:"member.profile.name.given_name" json:"given_name"`
	FileRequestId            string `path:"file_request.id" json:"file_request_id"`
	Url                      string `path:"file_request.url" json:"url"`
	Title                    string `path:"file_request.title" json:"title"`
	Created                  string `path:"file_request.created" json:"created"`
	IsOpen                   bool   `path:"file_request.is_open" json:"is_open"`
	FileCount                int    `path:"file_request.file_count" json:"file_count"`
	Destination              string `path:"file_request.destination" json:"destination"`
	Deadline                 string `path:"file_request.deadline.deadline" json:"deadline"`
	DeadlineAllowLateUploads string `path:"file_request.deadline.allow_late_uploads.\\.tag" json:"deadline_allow_late_uploads"`
}

func NewMemberFileRequest

func NewMemberFileRequest(fr *FileRequest, member *mo_member.Member) *MemberFileRequest

Jump to

Keyboard shortcuts

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