observedholidays

package
v1.9.9 Latest Latest
Warning

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

Go to latest
Published: Dec 17, 2024 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ObservedHolidaysService_ListObservedHolidays_FullMethodName       = "/api.v1alpha1.org.observedholidays.ObservedHolidaysService/ListObservedHolidays"
	ObservedHolidaysService_GetObservedHolidays_FullMethodName        = "/api.v1alpha1.org.observedholidays.ObservedHolidaysService/GetObservedHolidays"
	ObservedHolidaysService_SetObservedHolidays_FullMethodName        = "/api.v1alpha1.org.observedholidays.ObservedHolidaysService/SetObservedHolidays"
	ObservedHolidaysService_AddToObservedHolidays_FullMethodName      = "/api.v1alpha1.org.observedholidays.ObservedHolidaysService/AddToObservedHolidays"
	ObservedHolidaysService_RemoveObservedHolidays_FullMethodName     = "/api.v1alpha1.org.observedholidays.ObservedHolidaysService/RemoveObservedHolidays"
	ObservedHolidaysService_UpdateObservedHolidaysInfo_FullMethodName = "/api.v1alpha1.org.observedholidays.ObservedHolidaysService/UpdateObservedHolidaysInfo"
	ObservedHolidaysService_DeleteObservedHolidays_FullMethodName     = "/api.v1alpha1.org.observedholidays.ObservedHolidaysService/DeleteObservedHolidays"
	ObservedHolidaysService_EvaluateObservedHolidays_FullMethodName   = "/api.v1alpha1.org.observedholidays.ObservedHolidaysService/EvaluateObservedHolidays"
)

Variables

View Source
var File_api_v1alpha1_org_observedholidays_entities_proto protoreflect.FileDescriptor
View Source
var File_api_v1alpha1_org_observedholidays_service_proto protoreflect.FileDescriptor
View Source
var ObservedHolidaysService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "api.v1alpha1.org.observedholidays.ObservedHolidaysService",
	HandlerType: (*ObservedHolidaysServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "ListObservedHolidays",
			Handler:    _ObservedHolidaysService_ListObservedHolidays_Handler,
		},
		{
			MethodName: "GetObservedHolidays",
			Handler:    _ObservedHolidaysService_GetObservedHolidays_Handler,
		},
		{
			MethodName: "SetObservedHolidays",
			Handler:    _ObservedHolidaysService_SetObservedHolidays_Handler,
		},
		{
			MethodName: "AddToObservedHolidays",
			Handler:    _ObservedHolidaysService_AddToObservedHolidays_Handler,
		},
		{
			MethodName: "RemoveObservedHolidays",
			Handler:    _ObservedHolidaysService_RemoveObservedHolidays_Handler,
		},
		{
			MethodName: "UpdateObservedHolidaysInfo",
			Handler:    _ObservedHolidaysService_UpdateObservedHolidaysInfo_Handler,
		},
		{
			MethodName: "DeleteObservedHolidays",
			Handler:    _ObservedHolidaysService_DeleteObservedHolidays_Handler,
		},
		{
			MethodName: "EvaluateObservedHolidays",
			Handler:    _ObservedHolidaysService_EvaluateObservedHolidays_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "api/v1alpha1/org/observedholidays/service.proto",
}

ObservedHolidaysService_ServiceDesc is the grpc.ServiceDesc for ObservedHolidaysService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

Functions

func RegisterObservedHolidaysServiceServer

func RegisterObservedHolidaysServiceServer(s grpc.ServiceRegistrar, srv ObservedHolidaysServiceServer)

Types

type AddToObservedHolidaysRequest

type AddToObservedHolidaysRequest struct {

	// The ID of the ObservedHolidays to be added to
	ObservedHolidaysId string `protobuf:"bytes,1,opt,name=observed_holidays_id,json=observedHolidaysId,proto3" json:"observed_holidays_id,omitempty"`
	// The ObservedHoliday to add (must not conflict with existing ObservedHoliday)
	Day *org.ObservedHoliday `protobuf:"bytes,2,opt,name=day,proto3" json:"day,omitempty"`
	// contains filtered or unexported fields
}

AddToObservedHolidaysRequest is the request message for AddToObservedHolidays

func (*AddToObservedHolidaysRequest) Descriptor deprecated

func (*AddToObservedHolidaysRequest) Descriptor() ([]byte, []int)

Deprecated: Use AddToObservedHolidaysRequest.ProtoReflect.Descriptor instead.

func (*AddToObservedHolidaysRequest) GetDay

func (*AddToObservedHolidaysRequest) GetObservedHolidaysId

func (x *AddToObservedHolidaysRequest) GetObservedHolidaysId() string

func (*AddToObservedHolidaysRequest) ProtoMessage

func (*AddToObservedHolidaysRequest) ProtoMessage()

func (*AddToObservedHolidaysRequest) ProtoReflect

func (*AddToObservedHolidaysRequest) Reset

func (x *AddToObservedHolidaysRequest) Reset()

func (*AddToObservedHolidaysRequest) String

type AddToObservedHolidaysResponse

type AddToObservedHolidaysResponse struct {
	// contains filtered or unexported fields
}

AddToObservedHolidaysResponse is the response message for AddToObservedHolidays

func (*AddToObservedHolidaysResponse) Descriptor deprecated

func (*AddToObservedHolidaysResponse) Descriptor() ([]byte, []int)

Deprecated: Use AddToObservedHolidaysResponse.ProtoReflect.Descriptor instead.

func (*AddToObservedHolidaysResponse) ProtoMessage

func (*AddToObservedHolidaysResponse) ProtoMessage()

func (*AddToObservedHolidaysResponse) ProtoReflect

func (*AddToObservedHolidaysResponse) Reset

func (x *AddToObservedHolidaysResponse) Reset()

func (*AddToObservedHolidaysResponse) String

type DeleteObservedHolidaysRequest

type DeleteObservedHolidaysRequest struct {

	// The ID of the ObservedHolidays to delete
	ObservedHolidaysId string `protobuf:"bytes,1,opt,name=observed_holidays_id,json=observedHolidaysId,proto3" json:"observed_holidays_id,omitempty"`
	// contains filtered or unexported fields
}

DeleteObservedHolidaysRequest is the request message for DeleteObservedHolidays

func (*DeleteObservedHolidaysRequest) Descriptor deprecated

func (*DeleteObservedHolidaysRequest) Descriptor() ([]byte, []int)

Deprecated: Use DeleteObservedHolidaysRequest.ProtoReflect.Descriptor instead.

func (*DeleteObservedHolidaysRequest) GetObservedHolidaysId

func (x *DeleteObservedHolidaysRequest) GetObservedHolidaysId() string

func (*DeleteObservedHolidaysRequest) ProtoMessage

func (*DeleteObservedHolidaysRequest) ProtoMessage()

func (*DeleteObservedHolidaysRequest) ProtoReflect

func (*DeleteObservedHolidaysRequest) Reset

func (x *DeleteObservedHolidaysRequest) Reset()

func (*DeleteObservedHolidaysRequest) String

type DeleteObservedHolidaysResponse

type DeleteObservedHolidaysResponse struct {

	// The ID of the deleted ObservedHolidays
	ObservedHolidaysId string `protobuf:"bytes,1,opt,name=observed_holidays_id,json=observedHolidaysId,proto3" json:"observed_holidays_id,omitempty"`
	// contains filtered or unexported fields
}

DeleteObservedHolidaysResponse is the response message for DeleteObservedHolidays

func (*DeleteObservedHolidaysResponse) Descriptor deprecated

func (*DeleteObservedHolidaysResponse) Descriptor() ([]byte, []int)

Deprecated: Use DeleteObservedHolidaysResponse.ProtoReflect.Descriptor instead.

func (*DeleteObservedHolidaysResponse) GetObservedHolidaysId

func (x *DeleteObservedHolidaysResponse) GetObservedHolidaysId() string

func (*DeleteObservedHolidaysResponse) ProtoMessage

func (*DeleteObservedHolidaysResponse) ProtoMessage()

func (*DeleteObservedHolidaysResponse) ProtoReflect

func (*DeleteObservedHolidaysResponse) Reset

func (x *DeleteObservedHolidaysResponse) Reset()

func (*DeleteObservedHolidaysResponse) String

type EvaluateObservedHolidaysRequest

type EvaluateObservedHolidaysRequest struct {

	// The ID of the ObservedHolidays to evaluate
	ObservedHolidaysId string `protobuf:"bytes,1,opt,name=observed_holidays_id,json=observedHolidaysId,proto3" json:"observed_holidays_id,omitempty"`
	// contains filtered or unexported fields
}

EvaluateObservedHolidaysRequest is the request message for EvaluateObservedHolidays

func (*EvaluateObservedHolidaysRequest) Descriptor deprecated

func (*EvaluateObservedHolidaysRequest) Descriptor() ([]byte, []int)

Deprecated: Use EvaluateObservedHolidaysRequest.ProtoReflect.Descriptor instead.

func (*EvaluateObservedHolidaysRequest) GetObservedHolidaysId

func (x *EvaluateObservedHolidaysRequest) GetObservedHolidaysId() string

func (*EvaluateObservedHolidaysRequest) ProtoMessage

func (*EvaluateObservedHolidaysRequest) ProtoMessage()

func (*EvaluateObservedHolidaysRequest) ProtoReflect

func (*EvaluateObservedHolidaysRequest) Reset

func (*EvaluateObservedHolidaysRequest) String

type EvaluateObservedHolidaysResponse

type EvaluateObservedHolidaysResponse struct {

	// The boolean to determine if the date is matched within the ObservedHolidays
	DateMatched bool `protobuf:"varint,1,opt,name=date_matched,json=dateMatched,proto3" json:"date_matched,omitempty"`
	// indicates how long this result can be used.
	ResultExpiration *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=result_expiration,json=resultExpiration,proto3" json:"result_expiration,omitempty"`
	// contains filtered or unexported fields
}

EvaluateObservedHolidaysResponse is the response message for EvaluateObservedHolidays

func (*EvaluateObservedHolidaysResponse) Descriptor deprecated

func (*EvaluateObservedHolidaysResponse) Descriptor() ([]byte, []int)

Deprecated: Use EvaluateObservedHolidaysResponse.ProtoReflect.Descriptor instead.

func (*EvaluateObservedHolidaysResponse) GetDateMatched

func (x *EvaluateObservedHolidaysResponse) GetDateMatched() bool

func (*EvaluateObservedHolidaysResponse) GetResultExpiration added in v1.7.80

func (x *EvaluateObservedHolidaysResponse) GetResultExpiration() *timestamppb.Timestamp

func (*EvaluateObservedHolidaysResponse) ProtoMessage

func (*EvaluateObservedHolidaysResponse) ProtoMessage()

func (*EvaluateObservedHolidaysResponse) ProtoReflect

func (*EvaluateObservedHolidaysResponse) Reset

func (*EvaluateObservedHolidaysResponse) String

type GetObservedHolidaysRequest

type GetObservedHolidaysRequest struct {

	// The ID of the desired ObservedHolidays
	ObservedHolidaysId string `protobuf:"bytes,1,opt,name=observed_holidays_id,json=observedHolidaysId,proto3" json:"observed_holidays_id,omitempty"`
	// contains filtered or unexported fields
}

GetObservedHolidaysRequest is the request message for GetObservedHolidays

func (*GetObservedHolidaysRequest) Descriptor deprecated

func (*GetObservedHolidaysRequest) Descriptor() ([]byte, []int)

Deprecated: Use GetObservedHolidaysRequest.ProtoReflect.Descriptor instead.

func (*GetObservedHolidaysRequest) GetObservedHolidaysId

func (x *GetObservedHolidaysRequest) GetObservedHolidaysId() string

func (*GetObservedHolidaysRequest) ProtoMessage

func (*GetObservedHolidaysRequest) ProtoMessage()

func (*GetObservedHolidaysRequest) ProtoReflect

func (*GetObservedHolidaysRequest) Reset

func (x *GetObservedHolidaysRequest) Reset()

func (*GetObservedHolidaysRequest) String

func (x *GetObservedHolidaysRequest) String() string

type GetObservedHolidaysResponse

type GetObservedHolidaysResponse struct {

	// The retrieved ObservedHolidays
	ObservedHolidays *org.ObservedHolidays `protobuf:"bytes,1,opt,name=observed_holidays,json=observedHolidays,proto3" json:"observed_holidays,omitempty"`
	// contains filtered or unexported fields
}

GetObservedHolidaysResponse is the response message for GetObservedHolidays

func (*GetObservedHolidaysResponse) Descriptor deprecated

func (*GetObservedHolidaysResponse) Descriptor() ([]byte, []int)

Deprecated: Use GetObservedHolidaysResponse.ProtoReflect.Descriptor instead.

func (*GetObservedHolidaysResponse) GetObservedHolidays

func (x *GetObservedHolidaysResponse) GetObservedHolidays() *org.ObservedHolidays

func (*GetObservedHolidaysResponse) ProtoMessage

func (*GetObservedHolidaysResponse) ProtoMessage()

func (*GetObservedHolidaysResponse) ProtoReflect

func (*GetObservedHolidaysResponse) Reset

func (x *GetObservedHolidaysResponse) Reset()

func (*GetObservedHolidaysResponse) String

func (x *GetObservedHolidaysResponse) String() string

type ListObservedHolidaysRequest

type ListObservedHolidaysRequest struct {
	// contains filtered or unexported fields
}

ListObservedHolidaysRequest is the request message for ListObservedHolidays

func (*ListObservedHolidaysRequest) Descriptor deprecated

func (*ListObservedHolidaysRequest) Descriptor() ([]byte, []int)

Deprecated: Use ListObservedHolidaysRequest.ProtoReflect.Descriptor instead.

func (*ListObservedHolidaysRequest) ProtoMessage

func (*ListObservedHolidaysRequest) ProtoMessage()

func (*ListObservedHolidaysRequest) ProtoReflect

func (*ListObservedHolidaysRequest) Reset

func (x *ListObservedHolidaysRequest) Reset()

func (*ListObservedHolidaysRequest) String

func (x *ListObservedHolidaysRequest) String() string

type ListObservedHolidaysResponse

type ListObservedHolidaysResponse struct {

	// A list of ObservedHolidays
	ObservedHolidays []*org.ObservedHolidays `protobuf:"bytes,1,rep,name=observed_holidays,json=observedHolidays,proto3" json:"observed_holidays,omitempty"`
	// contains filtered or unexported fields
}

ListObservedHolidaysResponse is the response message for ListObservedHolidays

func (*ListObservedHolidaysResponse) Descriptor deprecated

func (*ListObservedHolidaysResponse) Descriptor() ([]byte, []int)

Deprecated: Use ListObservedHolidaysResponse.ProtoReflect.Descriptor instead.

func (*ListObservedHolidaysResponse) GetObservedHolidays

func (x *ListObservedHolidaysResponse) GetObservedHolidays() []*org.ObservedHolidays

func (*ListObservedHolidaysResponse) ProtoMessage

func (*ListObservedHolidaysResponse) ProtoMessage()

func (*ListObservedHolidaysResponse) ProtoReflect

func (*ListObservedHolidaysResponse) Reset

func (x *ListObservedHolidaysResponse) Reset()

func (*ListObservedHolidaysResponse) String

type ObservedHolidaysServiceClient

type ObservedHolidaysServiceClient interface {
	// ListObservedHolidays returns all ObservedHolidays for an Org.
	ListObservedHolidays(ctx context.Context, in *ListObservedHolidaysRequest, opts ...grpc.CallOption) (*ListObservedHolidaysResponse, error)
	// GetObservedHolidays returns the ObservedHolidays for the ID.
	GetObservedHolidays(ctx context.Context, in *GetObservedHolidaysRequest, opts ...grpc.CallOption) (*GetObservedHolidaysResponse, error)
	// SetObservedHolidays creates a new ObservedHolidays for an Org.
	SetObservedHolidays(ctx context.Context, in *SetObservedHolidaysRequest, opts ...grpc.CallOption) (*SetObservedHolidaysResponse, error)
	// AddToObservedHolidays adds a new ObservedHolidays for an Org.
	AddToObservedHolidays(ctx context.Context, in *AddToObservedHolidaysRequest, opts ...grpc.CallOption) (*AddToObservedHolidaysResponse, error)
	// RemoveObservedHolidays removes an existing ObservedHolidays from an Org.
	RemoveObservedHolidays(ctx context.Context, in *RemoveFromObservedHolidaysRequest, opts ...grpc.CallOption) (*RemoveFromObservedHolidaysResponse, error)
	// UpdateObservedHolidaysInfo updates the general info for a specified ObservedHolidays.
	UpdateObservedHolidaysInfo(ctx context.Context, in *UpdateObservedHolidaysInfoRequest, opts ...grpc.CallOption) (*UpdateObservedHolidaysInfoResponse, error)
	// DeleteObservedHolidays deletes an existing ObservedHolidays.
	DeleteObservedHolidays(ctx context.Context, in *DeleteObservedHolidaysRequest, opts ...grpc.CallOption) (*DeleteObservedHolidaysResponse, error)
	// EvaluateObservedHolidays evaluates the ObservedHolidays.
	EvaluateObservedHolidays(ctx context.Context, in *EvaluateObservedHolidaysRequest, opts ...grpc.CallOption) (*EvaluateObservedHolidaysResponse, error)
}

ObservedHolidaysServiceClient is the client API for ObservedHolidaysService service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.

type ObservedHolidaysServiceServer

type ObservedHolidaysServiceServer interface {
	// ListObservedHolidays returns all ObservedHolidays for an Org.
	ListObservedHolidays(context.Context, *ListObservedHolidaysRequest) (*ListObservedHolidaysResponse, error)
	// GetObservedHolidays returns the ObservedHolidays for the ID.
	GetObservedHolidays(context.Context, *GetObservedHolidaysRequest) (*GetObservedHolidaysResponse, error)
	// SetObservedHolidays creates a new ObservedHolidays for an Org.
	SetObservedHolidays(context.Context, *SetObservedHolidaysRequest) (*SetObservedHolidaysResponse, error)
	// AddToObservedHolidays adds a new ObservedHolidays for an Org.
	AddToObservedHolidays(context.Context, *AddToObservedHolidaysRequest) (*AddToObservedHolidaysResponse, error)
	// RemoveObservedHolidays removes an existing ObservedHolidays from an Org.
	RemoveObservedHolidays(context.Context, *RemoveFromObservedHolidaysRequest) (*RemoveFromObservedHolidaysResponse, error)
	// UpdateObservedHolidaysInfo updates the general info for a specified ObservedHolidays.
	UpdateObservedHolidaysInfo(context.Context, *UpdateObservedHolidaysInfoRequest) (*UpdateObservedHolidaysInfoResponse, error)
	// DeleteObservedHolidays deletes an existing ObservedHolidays.
	DeleteObservedHolidays(context.Context, *DeleteObservedHolidaysRequest) (*DeleteObservedHolidaysResponse, error)
	// EvaluateObservedHolidays evaluates the ObservedHolidays.
	EvaluateObservedHolidays(context.Context, *EvaluateObservedHolidaysRequest) (*EvaluateObservedHolidaysResponse, error)
	// contains filtered or unexported methods
}

ObservedHolidaysServiceServer is the server API for ObservedHolidaysService service. All implementations must embed UnimplementedObservedHolidaysServiceServer for forward compatibility.

type RemoveFromObservedHolidaysRequest

type RemoveFromObservedHolidaysRequest struct {

	// The ID of the ObservedHolidays to remove from
	ObservedHolidaysId string `protobuf:"bytes,1,opt,name=observed_holidays_id,json=observedHolidaysId,proto3" json:"observed_holidays_id,omitempty"`
	// The specified ObservedHoliday to remove (must already exist within the ObservedHoliday)
	Day *org.ObservedHoliday `protobuf:"bytes,2,opt,name=day,proto3" json:"day,omitempty"`
	// contains filtered or unexported fields
}

RemoveFromObservedHolidaysRequest is request message for RemoveFromObservedHolidays

func (*RemoveFromObservedHolidaysRequest) Descriptor deprecated

func (*RemoveFromObservedHolidaysRequest) Descriptor() ([]byte, []int)

Deprecated: Use RemoveFromObservedHolidaysRequest.ProtoReflect.Descriptor instead.

func (*RemoveFromObservedHolidaysRequest) GetDay

func (*RemoveFromObservedHolidaysRequest) GetObservedHolidaysId

func (x *RemoveFromObservedHolidaysRequest) GetObservedHolidaysId() string

func (*RemoveFromObservedHolidaysRequest) ProtoMessage

func (*RemoveFromObservedHolidaysRequest) ProtoMessage()

func (*RemoveFromObservedHolidaysRequest) ProtoReflect

func (*RemoveFromObservedHolidaysRequest) Reset

func (*RemoveFromObservedHolidaysRequest) String

type RemoveFromObservedHolidaysResponse

type RemoveFromObservedHolidaysResponse struct {
	// contains filtered or unexported fields
}

RemoveFromObservedHolidaysResponse is the response message for RemoveFromObservedHolidays

func (*RemoveFromObservedHolidaysResponse) Descriptor deprecated

func (*RemoveFromObservedHolidaysResponse) Descriptor() ([]byte, []int)

Deprecated: Use RemoveFromObservedHolidaysResponse.ProtoReflect.Descriptor instead.

func (*RemoveFromObservedHolidaysResponse) ProtoMessage

func (*RemoveFromObservedHolidaysResponse) ProtoMessage()

func (*RemoveFromObservedHolidaysResponse) ProtoReflect

func (*RemoveFromObservedHolidaysResponse) Reset

func (*RemoveFromObservedHolidaysResponse) String

type SetObservedHolidaysRequest

type SetObservedHolidaysRequest struct {

	// The name of the ObservedHolidays
	ObservedHolidaysName string `protobuf:"bytes,1,opt,name=observed_holidays_name,json=observedHolidaysName,proto3" json:"observed_holidays_name,omitempty"`
	// The description of the ObservedHolidays
	Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"`
	// The timezone of the ObservedHolidays
	Timezone commons.TimeZone `protobuf:"varint,3,opt,name=timezone,proto3,enum=api.commons.TimeZone" json:"timezone,omitempty"`
	// The ObservedHoliday
	Days []*org.ObservedHoliday `protobuf:"bytes,4,rep,name=days,proto3" json:"days,omitempty"`
	// contains filtered or unexported fields
}

SetObservedHolidaysRequest is the request message for SetObservedHolidays

func (*SetObservedHolidaysRequest) Descriptor deprecated

func (*SetObservedHolidaysRequest) Descriptor() ([]byte, []int)

Deprecated: Use SetObservedHolidaysRequest.ProtoReflect.Descriptor instead.

func (*SetObservedHolidaysRequest) GetDays

func (*SetObservedHolidaysRequest) GetDescription

func (x *SetObservedHolidaysRequest) GetDescription() string

func (*SetObservedHolidaysRequest) GetObservedHolidaysName

func (x *SetObservedHolidaysRequest) GetObservedHolidaysName() string

func (*SetObservedHolidaysRequest) GetTimezone

func (x *SetObservedHolidaysRequest) GetTimezone() commons.TimeZone

func (*SetObservedHolidaysRequest) ProtoMessage

func (*SetObservedHolidaysRequest) ProtoMessage()

func (*SetObservedHolidaysRequest) ProtoReflect

func (*SetObservedHolidaysRequest) Reset

func (x *SetObservedHolidaysRequest) Reset()

func (*SetObservedHolidaysRequest) String

func (x *SetObservedHolidaysRequest) String() string

type SetObservedHolidaysResponse

type SetObservedHolidaysResponse struct {

	// The ID of the created ObservedHolidays
	ObservedHolidaysId string `protobuf:"bytes,1,opt,name=observed_holidays_id,json=observedHolidaysId,proto3" json:"observed_holidays_id,omitempty"`
	// contains filtered or unexported fields
}

SetObservedHolidaysResponse is the response message for SetObservedHolidays

func (*SetObservedHolidaysResponse) Descriptor deprecated

func (*SetObservedHolidaysResponse) Descriptor() ([]byte, []int)

Deprecated: Use SetObservedHolidaysResponse.ProtoReflect.Descriptor instead.

func (*SetObservedHolidaysResponse) GetObservedHolidaysId

func (x *SetObservedHolidaysResponse) GetObservedHolidaysId() string

func (*SetObservedHolidaysResponse) ProtoMessage

func (*SetObservedHolidaysResponse) ProtoMessage()

func (*SetObservedHolidaysResponse) ProtoReflect

func (*SetObservedHolidaysResponse) Reset

func (x *SetObservedHolidaysResponse) Reset()

func (*SetObservedHolidaysResponse) String

func (x *SetObservedHolidaysResponse) String() string

type UnimplementedObservedHolidaysServiceServer

type UnimplementedObservedHolidaysServiceServer struct{}

UnimplementedObservedHolidaysServiceServer must be embedded to have forward compatible implementations.

NOTE: this should be embedded by value instead of pointer to avoid a nil pointer dereference when methods are called.

func (UnimplementedObservedHolidaysServiceServer) AddToObservedHolidays

func (UnimplementedObservedHolidaysServiceServer) DeleteObservedHolidays

func (UnimplementedObservedHolidaysServiceServer) GetObservedHolidays

func (UnimplementedObservedHolidaysServiceServer) ListObservedHolidays

func (UnimplementedObservedHolidaysServiceServer) SetObservedHolidays

type UnsafeObservedHolidaysServiceServer

type UnsafeObservedHolidaysServiceServer interface {
	// contains filtered or unexported methods
}

UnsafeObservedHolidaysServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to ObservedHolidaysServiceServer will result in compilation errors.

type UpdateObservedHolidaysInfoRequest

type UpdateObservedHolidaysInfoRequest struct {

	// The ID of the ObservedHolidays to update
	ObservedHolidaysId string `protobuf:"bytes,1,opt,name=observed_holidays_id,json=observedHolidaysId,proto3" json:"observed_holidays_id,omitempty"`
	// The updated name of the ObservedHolidays
	ObservedHolidaysName string `protobuf:"bytes,2,opt,name=observed_holidays_name,json=observedHolidaysName,proto3" json:"observed_holidays_name,omitempty"`
	// The updated description of the ObservedHolidays
	Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"`
	// The updated timezone
	Timezone commons.TimeZone `protobuf:"varint,4,opt,name=timezone,proto3,enum=api.commons.TimeZone" json:"timezone,omitempty"`
	// The FieldMask to determine which field to update
	FieldMask *fieldmaskpb.FieldMask `protobuf:"bytes,5,opt,name=field_mask,json=fieldMask,proto3" json:"field_mask,omitempty"`
	// contains filtered or unexported fields
}

UpdateObservedHolidaysInfoRequest is the request message for UpdateObservedHolidaysInfo

func (*UpdateObservedHolidaysInfoRequest) Descriptor deprecated

func (*UpdateObservedHolidaysInfoRequest) Descriptor() ([]byte, []int)

Deprecated: Use UpdateObservedHolidaysInfoRequest.ProtoReflect.Descriptor instead.

func (*UpdateObservedHolidaysInfoRequest) GetDescription

func (x *UpdateObservedHolidaysInfoRequest) GetDescription() string

func (*UpdateObservedHolidaysInfoRequest) GetFieldMask

func (*UpdateObservedHolidaysInfoRequest) GetObservedHolidaysId

func (x *UpdateObservedHolidaysInfoRequest) GetObservedHolidaysId() string

func (*UpdateObservedHolidaysInfoRequest) GetObservedHolidaysName

func (x *UpdateObservedHolidaysInfoRequest) GetObservedHolidaysName() string

func (*UpdateObservedHolidaysInfoRequest) GetTimezone

func (*UpdateObservedHolidaysInfoRequest) ProtoMessage

func (*UpdateObservedHolidaysInfoRequest) ProtoMessage()

func (*UpdateObservedHolidaysInfoRequest) ProtoReflect

func (*UpdateObservedHolidaysInfoRequest) Reset

func (*UpdateObservedHolidaysInfoRequest) String

type UpdateObservedHolidaysInfoResponse

type UpdateObservedHolidaysInfoResponse struct {
	// contains filtered or unexported fields
}

UpdateObservedHolidaysInfoResponse is the response message for UpdateObservedHolidaysInfo

func (*UpdateObservedHolidaysInfoResponse) Descriptor deprecated

func (*UpdateObservedHolidaysInfoResponse) Descriptor() ([]byte, []int)

Deprecated: Use UpdateObservedHolidaysInfoResponse.ProtoReflect.Descriptor instead.

func (*UpdateObservedHolidaysInfoResponse) ProtoMessage

func (*UpdateObservedHolidaysInfoResponse) ProtoMessage()

func (*UpdateObservedHolidaysInfoResponse) ProtoReflect

func (*UpdateObservedHolidaysInfoResponse) Reset

func (*UpdateObservedHolidaysInfoResponse) String

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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