Documentation
¶
Index ¶
- type AdditionalItem
- type AdditionalItems
- type Attachment
- type AttendanceResponse
- type Attendee
- type AvailableTime
- type AvailableTimePager
- type AvailableTimeParameter
- type Client
- func (c *Client) CreateEvent(event *Event) (*Event, error)
- func (c *Client) DeleteEvent(id string) error
- func (c *Client) FindEvent(id string) (*Event, error)
- func (c *Client) GetFacilities(values url.Values) (*FacilityPager, error)
- func (c *Client) GetFacilitiesByFacilityGroup(facilityGroupID string, values url.Values) (*FacilityPager, error)
- func (c *Client) GetFacilityGroups(values url.Values) (*FacilityGroupPager, error)
- func (c *Client) GetNotificationItems(values url.Values) (*NotificationItemPager, error)
- func (c *Client) GetOrganizations(values url.Values) (*OrganizationPager, error)
- func (c *Client) GetUsersByOrganization(organizationID string, values url.Values) (*UserPager, error)
- func (c *Client) SearchAvailableTimes(param *AvailableTimeParameter) (*AvailableTimePager, error)
- func (c *Client) SearchEvents(values url.Values) (*EventPager, error)
- func (c *Client) SearchUsers(values url.Values) (*UserPager, error)
- func (c *Client) UpdateEvent(event *Event) (*Event, error)
- type CompanyInfo
- type Creator
- type DatePeriod
- type DateTimePeriod
- type ErrorResponse
- type Event
- type EventPager
- type Facility
- type FacilityGroup
- type FacilityGroupPager
- type FacilityPager
- type FacilityReservationInfo
- type FacilityUsageRequest
- type NotificationItem
- type NotificationItemPager
- type Organization
- type OrganizationPager
- type RepeatInfo
- type TemporaryEventCandidate
- type Time
- type TimePeriod
- type Updater
- type User
- type UserPager
- type Watcher
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AdditionalItem ¶
type AdditionalItem struct {
Value string `json:"value"`
}
type AdditionalItems ¶
type AdditionalItems struct {
Item AdditionalItem `json:"item"`
}
type Attachment ¶
type AttendanceResponse ¶
type Attendee ¶
type Attendee struct {
User
AttendanceResponse AttendanceResponse `json:"attendanceResponse,omitempty"`
}
type AvailableTime ¶
type AvailableTimePager ¶
type AvailableTimePager struct {
AvailableTimes []AvailableTime `json:"availableTimes"`
}
type AvailableTimeParameter ¶
type AvailableTimeParameter struct {
TimeRanges []DateTimePeriod `json:"timeRanges"`
TimeInterval string `json:"timeInterval"`
Attendees []Attendee `json:"attendees,omitempty"`
Facilities []Facility `json:"facilities,omitempty"`
FacilitySearchCondition string `json:"facilitySearchCondition"`
}
type Client ¶
func (*Client) DeleteEvent ¶
func (*Client) GetFacilities ¶
func (c *Client) GetFacilities(values url.Values) (*FacilityPager, error)
func (*Client) GetFacilitiesByFacilityGroup ¶
func (*Client) GetFacilityGroups ¶
func (c *Client) GetFacilityGroups(values url.Values) (*FacilityGroupPager, error)
func (*Client) GetNotificationItems ¶
func (c *Client) GetNotificationItems(values url.Values) (*NotificationItemPager, error)
func (*Client) GetOrganizations ¶
func (c *Client) GetOrganizations(values url.Values) (*OrganizationPager, error)
func (*Client) GetUsersByOrganization ¶
func (*Client) SearchAvailableTimes ¶
func (c *Client) SearchAvailableTimes(param *AvailableTimeParameter) (*AvailableTimePager, error)
func (*Client) SearchEvents ¶
func (c *Client) SearchEvents(values url.Values) (*EventPager, error)
type CompanyInfo ¶
type DatePeriod ¶
type DateTimePeriod ¶
type ErrorResponse ¶ added in v0.1.2
type Event ¶
type Event struct {
ID string `json:"id,omitempty"`
Creator Creator `json:"creator,omitempty"`
CreatedAt time.Time `json:"createdAt,omitempty"`
Updater Updater `json:"updater,omitempty"`
UpdatedAt time.Time `json:"updatedAt,omitempty"`
EventType string `json:"eventType"`
EventMenu string `json:"eventMenu,omitempty"`
Subject string `json:"subject,omitempty"`
Notes string `json:"notes,omitempty"`
VisibilityType string `json:"visibilityType,omitempty"`
UseAttendanceCheck bool `json:"useAttendanceCheck,omitempty"`
CompanyInfo CompanyInfo `json:"companyInfo,omitempty"`
Attachments []Attachment `json:"attachments,omitempty"`
Start Time `json:"start"`
End Time `json:"end,omitempty"`
IsAllDay bool `json:"isAllDay,omitempty"`
IsStartOnly bool `json:"isStartOnly,omitempty"`
OriginalStartTimeZone string `json:"originalStartTimeZone,omitempty"`
OriginalEndTimeZone string `json:"originalEndTimeZone,omitempty"`
Attendees []Attendee `json:"attendees,omitempty"`
Watchers []Watcher `json:"watchers,omitempty"`
Facilities []Facility `json:"facilities,omitempty"`
FacilityUsingPurpose string `json:"facilityUsingPurpose,omitempty"`
FacilityReservationInfo FacilityReservationInfo `json:"facilityReservationInfo,omitempty"`
FacilityUsageRequests []FacilityUsageRequest `json:"facilityUsageRequests,omitempty"`
RepeatInfo RepeatInfo `json:"repeatInfo,omitempty"`
TemporaryEventCandidates []TemporaryEventCandidate `json:"temporaryEventCandidates,omitempty"`
AdditionalItems AdditionalItems `json:"additionalItems,omitempty"`
RepeatID string `json:"repeatId,omitempty"`
}
type EventPager ¶
type FacilityGroup ¶
type FacilityGroupPager ¶
type FacilityGroupPager struct {
FacilityGroups []FacilityGroup `json:"facilityGroups"`
HasNext bool `json:"hasNext"`
}
type FacilityPager ¶
type FacilityReservationInfo ¶
type FacilityReservationInfo struct {
AdditionalProp1 struct {
Type string `json:"type"`
Value string `json:"value"`
} `json:"additionalProp1"`
AdditionalProp2 struct {
Type string `json:"type"`
Value string `json:"value"`
} `json:"additionalProp2"`
AdditionalProp3 struct {
Type string `json:"type"`
Value string `json:"value"`
} `json:"additionalProp3"`
}
type FacilityUsageRequest ¶
type NotificationItem ¶
type NotificationItem struct {
ModuleID string `json:"moduleId"`
Creator User `json:"creator"`
CreatedAt time.Time `json:"createdAt"`
Operation string `json:"operation"`
URL string `json:"url"`
Title string `json:"title"`
Body string `json:"body"`
Icon string `json:"icon"`
IsRead bool `json:"isRead"`
}
type NotificationItemPager ¶
type NotificationItemPager struct {
NotificationItems []NotificationItem `json:"items"`
HasNext bool `json:"hasNext"`
}
type Organization ¶
type OrganizationPager ¶
type OrganizationPager struct {
Organizations []Organization `json:organizations`
HasNext bool `json:"hasNext"`
}
type RepeatInfo ¶
type RepeatInfo struct {
Type string `json:"type"`
Period DatePeriod `json:"period"`
Time TimePeriod `json:"time"`
TimeZone string `json:"timeZone"`
IsAllDay bool `json:"isAllDay,omitempty"`
IsStartOnly bool `json:"isStartOnly,omitempty"`
DayOfWeek string `json:"dayOfWeek,omitempty"`
DayOfMonth string `json:"dayOfMonth,omitempty"`
ExclusiveDateTimes []DateTimePeriod `json:"exclusiveDateTimes,omitempty"`
}
type TemporaryEventCandidate ¶
type TimePeriod ¶
Click to show internal directories.
Click to hide internal directories.