businesshours

package
v1.9.7 Latest Latest
Warning

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

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

Documentation

Index

Constants

View Source
const (
	BusinessHoursService_ListBusinessHours_FullMethodName               = "/api.v1alpha1.org.businesshours.BusinessHoursService/ListBusinessHours"
	BusinessHoursService_GetBusinessHours_FullMethodName                = "/api.v1alpha1.org.businesshours.BusinessHoursService/GetBusinessHours"
	BusinessHoursService_SetBusinessHours_FullMethodName                = "/api.v1alpha1.org.businesshours.BusinessHoursService/SetBusinessHours"
	BusinessHoursService_AddIntervalToBusinessHours_FullMethodName      = "/api.v1alpha1.org.businesshours.BusinessHoursService/AddIntervalToBusinessHours"
	BusinessHoursService_RemoveIntervalFromBusinessHours_FullMethodName = "/api.v1alpha1.org.businesshours.BusinessHoursService/RemoveIntervalFromBusinessHours"
	BusinessHoursService_UpdateBusinessHoursInfo_FullMethodName         = "/api.v1alpha1.org.businesshours.BusinessHoursService/UpdateBusinessHoursInfo"
	BusinessHoursService_DeleteBusinessHours_FullMethodName             = "/api.v1alpha1.org.businesshours.BusinessHoursService/DeleteBusinessHours"
	BusinessHoursService_EvaluateBusinessHours_FullMethodName           = "/api.v1alpha1.org.businesshours.BusinessHoursService/EvaluateBusinessHours"
)

Variables

View Source
var BusinessHoursService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "api.v1alpha1.org.businesshours.BusinessHoursService",
	HandlerType: (*BusinessHoursServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "ListBusinessHours",
			Handler:    _BusinessHoursService_ListBusinessHours_Handler,
		},
		{
			MethodName: "GetBusinessHours",
			Handler:    _BusinessHoursService_GetBusinessHours_Handler,
		},
		{
			MethodName: "SetBusinessHours",
			Handler:    _BusinessHoursService_SetBusinessHours_Handler,
		},
		{
			MethodName: "AddIntervalToBusinessHours",
			Handler:    _BusinessHoursService_AddIntervalToBusinessHours_Handler,
		},
		{
			MethodName: "RemoveIntervalFromBusinessHours",
			Handler:    _BusinessHoursService_RemoveIntervalFromBusinessHours_Handler,
		},
		{
			MethodName: "UpdateBusinessHoursInfo",
			Handler:    _BusinessHoursService_UpdateBusinessHoursInfo_Handler,
		},
		{
			MethodName: "DeleteBusinessHours",
			Handler:    _BusinessHoursService_DeleteBusinessHours_Handler,
		},
		{
			MethodName: "EvaluateBusinessHours",
			Handler:    _BusinessHoursService_EvaluateBusinessHours_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "api/v1alpha1/org/businesshours/service.proto",
}

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

View Source
var File_api_v1alpha1_org_businesshours_entities_proto protoreflect.FileDescriptor
View Source
var File_api_v1alpha1_org_businesshours_service_proto protoreflect.FileDescriptor

Functions

func RegisterBusinessHoursServiceServer

func RegisterBusinessHoursServiceServer(s grpc.ServiceRegistrar, srv BusinessHoursServiceServer)

Types

type AddIntervalToBusinessHoursRequest

type AddIntervalToBusinessHoursRequest struct {

	// The id of the business hours to add an interval
	BusinessHoursId string `protobuf:"bytes,1,opt,name=business_hours_id,json=businessHoursId,proto3" json:"business_hours_id,omitempty"`
	// The day interval to be added
	DayInterval *org.DayInterval `protobuf:"bytes,2,opt,name=day_interval,json=dayInterval,proto3" json:"day_interval,omitempty"`
	// contains filtered or unexported fields
}

Request for adding an interval to a business hours object

func (*AddIntervalToBusinessHoursRequest) Descriptor deprecated

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

Deprecated: Use AddIntervalToBusinessHoursRequest.ProtoReflect.Descriptor instead.

func (*AddIntervalToBusinessHoursRequest) GetBusinessHoursId

func (x *AddIntervalToBusinessHoursRequest) GetBusinessHoursId() string

func (*AddIntervalToBusinessHoursRequest) GetDayInterval

func (x *AddIntervalToBusinessHoursRequest) GetDayInterval() *org.DayInterval

func (*AddIntervalToBusinessHoursRequest) ProtoMessage

func (*AddIntervalToBusinessHoursRequest) ProtoMessage()

func (*AddIntervalToBusinessHoursRequest) ProtoReflect

func (*AddIntervalToBusinessHoursRequest) Reset

func (*AddIntervalToBusinessHoursRequest) String

type AddIntervalToBusinessHoursResponse

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

Response for adding an interval to a business hours object

func (*AddIntervalToBusinessHoursResponse) Descriptor deprecated

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

Deprecated: Use AddIntervalToBusinessHoursResponse.ProtoReflect.Descriptor instead.

func (*AddIntervalToBusinessHoursResponse) ProtoMessage

func (*AddIntervalToBusinessHoursResponse) ProtoMessage()

func (*AddIntervalToBusinessHoursResponse) ProtoReflect

func (*AddIntervalToBusinessHoursResponse) Reset

func (*AddIntervalToBusinessHoursResponse) String

type BusinessHoursServiceClient

type BusinessHoursServiceClient interface {
	// ListBusinessHours returns all business hours for an Org.
	ListBusinessHours(ctx context.Context, in *ListBusinessHoursRequest, opts ...grpc.CallOption) (*ListBusinessHoursResponse, error)
	// GetBusinessHours returns the business hours for the ID.
	GetBusinessHours(ctx context.Context, in *GetBusinessHoursRequest, opts ...grpc.CallOption) (*GetBusinessHoursResponse, error)
	// SetBusinessHours initializes a business hours object
	SetBusinessHours(ctx context.Context, in *SetBusinessHoursRequest, opts ...grpc.CallOption) (*SetBusinessHoursResponse, error)
	// AddIntervalToBusinessHours adds a day interval to a business hours object
	AddIntervalToBusinessHours(ctx context.Context, in *AddIntervalToBusinessHoursRequest, opts ...grpc.CallOption) (*AddIntervalToBusinessHoursResponse, error)
	// RemoveIntervalFromBusinessHours removes a day interval from a business hours object
	RemoveIntervalFromBusinessHours(ctx context.Context, in *RemoveIntervalFromBusinessHoursRequest, opts ...grpc.CallOption) (*RemoveIntervalFromBusinessHoursResponse, error)
	// UpdateBusinessHoursInfo updates the general info of a business hours object
	UpdateBusinessHoursInfo(ctx context.Context, in *UpdateBusinessHoursInfoRequest, opts ...grpc.CallOption) (*UpdateBusinessHoursInfoResponse, error)
	// DeleteBusinessHours removes business hours.
	DeleteBusinessHours(ctx context.Context, in *DeleteBusinessHoursRequest, opts ...grpc.CallOption) (*DeleteBusinessHoursResponse, error)
	// EvaluateBusinessHours determines whether or not the current time is within a business hours day interval
	EvaluateBusinessHours(ctx context.Context, in *EvaluateBusinessHoursRequest, opts ...grpc.CallOption) (*EvaluateBusinessHoursResponse, error)
}

BusinessHoursServiceClient is the client API for BusinessHoursService 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 BusinessHoursServiceServer

type BusinessHoursServiceServer interface {
	// ListBusinessHours returns all business hours for an Org.
	ListBusinessHours(context.Context, *ListBusinessHoursRequest) (*ListBusinessHoursResponse, error)
	// GetBusinessHours returns the business hours for the ID.
	GetBusinessHours(context.Context, *GetBusinessHoursRequest) (*GetBusinessHoursResponse, error)
	// SetBusinessHours initializes a business hours object
	SetBusinessHours(context.Context, *SetBusinessHoursRequest) (*SetBusinessHoursResponse, error)
	// AddIntervalToBusinessHours adds a day interval to a business hours object
	AddIntervalToBusinessHours(context.Context, *AddIntervalToBusinessHoursRequest) (*AddIntervalToBusinessHoursResponse, error)
	// RemoveIntervalFromBusinessHours removes a day interval from a business hours object
	RemoveIntervalFromBusinessHours(context.Context, *RemoveIntervalFromBusinessHoursRequest) (*RemoveIntervalFromBusinessHoursResponse, error)
	// UpdateBusinessHoursInfo updates the general info of a business hours object
	UpdateBusinessHoursInfo(context.Context, *UpdateBusinessHoursInfoRequest) (*UpdateBusinessHoursInfoResponse, error)
	// DeleteBusinessHours removes business hours.
	DeleteBusinessHours(context.Context, *DeleteBusinessHoursRequest) (*DeleteBusinessHoursResponse, error)
	// EvaluateBusinessHours determines whether or not the current time is within a business hours day interval
	EvaluateBusinessHours(context.Context, *EvaluateBusinessHoursRequest) (*EvaluateBusinessHoursResponse, error)
	// contains filtered or unexported methods
}

BusinessHoursServiceServer is the server API for BusinessHoursService service. All implementations must embed UnimplementedBusinessHoursServiceServer for forward compatibility.

type DeleteBusinessHoursRequest

type DeleteBusinessHoursRequest struct {

	// The id of the business hours object to be deleted
	BusinessHoursId string `protobuf:"bytes,1,opt,name=business_hours_id,json=businessHoursId,proto3" json:"business_hours_id,omitempty"`
	// contains filtered or unexported fields
}

Request for deleting business hours.

func (*DeleteBusinessHoursRequest) Descriptor deprecated

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

Deprecated: Use DeleteBusinessHoursRequest.ProtoReflect.Descriptor instead.

func (*DeleteBusinessHoursRequest) GetBusinessHoursId

func (x *DeleteBusinessHoursRequest) GetBusinessHoursId() string

func (*DeleteBusinessHoursRequest) ProtoMessage

func (*DeleteBusinessHoursRequest) ProtoMessage()

func (*DeleteBusinessHoursRequest) ProtoReflect

func (*DeleteBusinessHoursRequest) Reset

func (x *DeleteBusinessHoursRequest) Reset()

func (*DeleteBusinessHoursRequest) String

func (x *DeleteBusinessHoursRequest) String() string

type DeleteBusinessHoursResponse

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

Response for deleting business hours.

func (*DeleteBusinessHoursResponse) Descriptor deprecated

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

Deprecated: Use DeleteBusinessHoursResponse.ProtoReflect.Descriptor instead.

func (*DeleteBusinessHoursResponse) ProtoMessage

func (*DeleteBusinessHoursResponse) ProtoMessage()

func (*DeleteBusinessHoursResponse) ProtoReflect

func (*DeleteBusinessHoursResponse) Reset

func (x *DeleteBusinessHoursResponse) Reset()

func (*DeleteBusinessHoursResponse) String

func (x *DeleteBusinessHoursResponse) String() string

type EvaluateBusinessHoursRequest

type EvaluateBusinessHoursRequest struct {

	// The id of the business hours to evaluate
	BusinessHoursId string `protobuf:"bytes,1,opt,name=business_hours_id,json=businessHoursId,proto3" json:"business_hours_id,omitempty"`
	// contains filtered or unexported fields
}

Request for EvaluateBusinessHours

func (*EvaluateBusinessHoursRequest) Descriptor deprecated

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

Deprecated: Use EvaluateBusinessHoursRequest.ProtoReflect.Descriptor instead.

func (*EvaluateBusinessHoursRequest) GetBusinessHoursId

func (x *EvaluateBusinessHoursRequest) GetBusinessHoursId() string

func (*EvaluateBusinessHoursRequest) ProtoMessage

func (*EvaluateBusinessHoursRequest) ProtoMessage()

func (*EvaluateBusinessHoursRequest) ProtoReflect

func (*EvaluateBusinessHoursRequest) Reset

func (x *EvaluateBusinessHoursRequest) Reset()

func (*EvaluateBusinessHoursRequest) String

type EvaluateBusinessHoursResponse

type EvaluateBusinessHoursResponse struct {

	// Resulting boolean if the current time is within
	// a day interval of a business hours object
	WithinRange bool `protobuf:"varint,1,opt,name=within_range,json=withinRange,proto3" json:"within_range,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
}

Response for EvaluateBusinessHours

func (*EvaluateBusinessHoursResponse) Descriptor deprecated

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

Deprecated: Use EvaluateBusinessHoursResponse.ProtoReflect.Descriptor instead.

func (*EvaluateBusinessHoursResponse) GetResultExpiration added in v1.7.80

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

func (*EvaluateBusinessHoursResponse) GetWithinRange

func (x *EvaluateBusinessHoursResponse) GetWithinRange() bool

func (*EvaluateBusinessHoursResponse) ProtoMessage

func (*EvaluateBusinessHoursResponse) ProtoMessage()

func (*EvaluateBusinessHoursResponse) ProtoReflect

func (*EvaluateBusinessHoursResponse) Reset

func (x *EvaluateBusinessHoursResponse) Reset()

func (*EvaluateBusinessHoursResponse) String

type GetBusinessHoursRequest

type GetBusinessHoursRequest struct {

	// The id of the business hours object
	BusinessHoursId string `protobuf:"bytes,1,opt,name=business_hours_id,json=businessHoursId,proto3" json:"business_hours_id,omitempty"`
	// contains filtered or unexported fields
}

Request for fetching a business hours.

func (*GetBusinessHoursRequest) Descriptor deprecated

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

Deprecated: Use GetBusinessHoursRequest.ProtoReflect.Descriptor instead.

func (*GetBusinessHoursRequest) GetBusinessHoursId

func (x *GetBusinessHoursRequest) GetBusinessHoursId() string

func (*GetBusinessHoursRequest) ProtoMessage

func (*GetBusinessHoursRequest) ProtoMessage()

func (*GetBusinessHoursRequest) ProtoReflect

func (x *GetBusinessHoursRequest) ProtoReflect() protoreflect.Message

func (*GetBusinessHoursRequest) Reset

func (x *GetBusinessHoursRequest) Reset()

func (*GetBusinessHoursRequest) String

func (x *GetBusinessHoursRequest) String() string

type GetBusinessHoursResponse

type GetBusinessHoursResponse struct {

	// The retrieved business hours
	BusinessHours *org.BusinessHours `protobuf:"bytes,1,opt,name=business_hours,json=businessHours,proto3" json:"business_hours,omitempty"`
	// contains filtered or unexported fields
}

Response for fetching a business hours.

func (*GetBusinessHoursResponse) Descriptor deprecated

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

Deprecated: Use GetBusinessHoursResponse.ProtoReflect.Descriptor instead.

func (*GetBusinessHoursResponse) GetBusinessHours

func (x *GetBusinessHoursResponse) GetBusinessHours() *org.BusinessHours

func (*GetBusinessHoursResponse) ProtoMessage

func (*GetBusinessHoursResponse) ProtoMessage()

func (*GetBusinessHoursResponse) ProtoReflect

func (x *GetBusinessHoursResponse) ProtoReflect() protoreflect.Message

func (*GetBusinessHoursResponse) Reset

func (x *GetBusinessHoursResponse) Reset()

func (*GetBusinessHoursResponse) String

func (x *GetBusinessHoursResponse) String() string

type ListBusinessHoursRequest

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

Request for listing business hours.

func (*ListBusinessHoursRequest) Descriptor deprecated

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

Deprecated: Use ListBusinessHoursRequest.ProtoReflect.Descriptor instead.

func (*ListBusinessHoursRequest) ProtoMessage

func (*ListBusinessHoursRequest) ProtoMessage()

func (*ListBusinessHoursRequest) ProtoReflect

func (x *ListBusinessHoursRequest) ProtoReflect() protoreflect.Message

func (*ListBusinessHoursRequest) Reset

func (x *ListBusinessHoursRequest) Reset()

func (*ListBusinessHoursRequest) String

func (x *ListBusinessHoursRequest) String() string

type ListBusinessHoursResponse

type ListBusinessHoursResponse struct {

	// The list of business hours
	BusinessHours []*org.BusinessHours `protobuf:"bytes,1,rep,name=business_hours,json=businessHours,proto3" json:"business_hours,omitempty"`
	// contains filtered or unexported fields
}

Response for listing business hours.

func (*ListBusinessHoursResponse) Descriptor deprecated

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

Deprecated: Use ListBusinessHoursResponse.ProtoReflect.Descriptor instead.

func (*ListBusinessHoursResponse) GetBusinessHours

func (x *ListBusinessHoursResponse) GetBusinessHours() []*org.BusinessHours

func (*ListBusinessHoursResponse) ProtoMessage

func (*ListBusinessHoursResponse) ProtoMessage()

func (*ListBusinessHoursResponse) ProtoReflect

func (*ListBusinessHoursResponse) Reset

func (x *ListBusinessHoursResponse) Reset()

func (*ListBusinessHoursResponse) String

func (x *ListBusinessHoursResponse) String() string

type RemoveIntervalFromBusinessHoursRequest

type RemoveIntervalFromBusinessHoursRequest struct {

	// The id of the business hours to remove an interval
	BusinessHoursId string `protobuf:"bytes,1,opt,name=business_hours_id,json=businessHoursId,proto3" json:"business_hours_id,omitempty"`
	// The day interval to be removed
	DayInterval *org.DayInterval `protobuf:"bytes,2,opt,name=day_interval,json=dayInterval,proto3" json:"day_interval,omitempty"`
	// contains filtered or unexported fields
}

Request for removing an interval from a business hours object

func (*RemoveIntervalFromBusinessHoursRequest) Descriptor deprecated

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

Deprecated: Use RemoveIntervalFromBusinessHoursRequest.ProtoReflect.Descriptor instead.

func (*RemoveIntervalFromBusinessHoursRequest) GetBusinessHoursId

func (x *RemoveIntervalFromBusinessHoursRequest) GetBusinessHoursId() string

func (*RemoveIntervalFromBusinessHoursRequest) GetDayInterval

func (*RemoveIntervalFromBusinessHoursRequest) ProtoMessage

func (*RemoveIntervalFromBusinessHoursRequest) ProtoReflect

func (*RemoveIntervalFromBusinessHoursRequest) Reset

func (*RemoveIntervalFromBusinessHoursRequest) String

type RemoveIntervalFromBusinessHoursResponse

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

Response for removing an interval from a business hours object

func (*RemoveIntervalFromBusinessHoursResponse) Descriptor deprecated

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

Deprecated: Use RemoveIntervalFromBusinessHoursResponse.ProtoReflect.Descriptor instead.

func (*RemoveIntervalFromBusinessHoursResponse) ProtoMessage

func (*RemoveIntervalFromBusinessHoursResponse) ProtoReflect

func (*RemoveIntervalFromBusinessHoursResponse) Reset

func (*RemoveIntervalFromBusinessHoursResponse) String

type SetBusinessHoursRequest

type SetBusinessHoursRequest struct {

	// The name of the business hours
	BusinessHoursName string `protobuf:"bytes,1,opt,name=business_hours_name,json=businessHoursName,proto3" json:"business_hours_name,omitempty"`
	// The description of the business hours
	Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"`
	// The list of day intervals for the business hours
	DayIntervals []*org.DayInterval `protobuf:"bytes,3,rep,name=day_intervals,json=dayIntervals,proto3" json:"day_intervals,omitempty"`
	// The timezone of the business hours
	Timezone commons.TimeZone `protobuf:"varint,4,opt,name=timezone,proto3,enum=api.commons.TimeZone" json:"timezone,omitempty"`
	// contains filtered or unexported fields
}

Request for initializing a business hours object

func (*SetBusinessHoursRequest) Descriptor deprecated

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

Deprecated: Use SetBusinessHoursRequest.ProtoReflect.Descriptor instead.

func (*SetBusinessHoursRequest) GetBusinessHoursName

func (x *SetBusinessHoursRequest) GetBusinessHoursName() string

func (*SetBusinessHoursRequest) GetDayIntervals

func (x *SetBusinessHoursRequest) GetDayIntervals() []*org.DayInterval

func (*SetBusinessHoursRequest) GetDescription

func (x *SetBusinessHoursRequest) GetDescription() string

func (*SetBusinessHoursRequest) GetTimezone

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

func (*SetBusinessHoursRequest) ProtoMessage

func (*SetBusinessHoursRequest) ProtoMessage()

func (*SetBusinessHoursRequest) ProtoReflect

func (x *SetBusinessHoursRequest) ProtoReflect() protoreflect.Message

func (*SetBusinessHoursRequest) Reset

func (x *SetBusinessHoursRequest) Reset()

func (*SetBusinessHoursRequest) String

func (x *SetBusinessHoursRequest) String() string

type SetBusinessHoursResponse

type SetBusinessHoursResponse struct {

	// The id of the new business hours
	BusinessHoursId string `protobuf:"bytes,1,opt,name=business_hours_id,json=businessHoursId,proto3" json:"business_hours_id,omitempty"`
	// contains filtered or unexported fields
}

Response for initializing a business hours object

func (*SetBusinessHoursResponse) Descriptor deprecated

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

Deprecated: Use SetBusinessHoursResponse.ProtoReflect.Descriptor instead.

func (*SetBusinessHoursResponse) GetBusinessHoursId

func (x *SetBusinessHoursResponse) GetBusinessHoursId() string

func (*SetBusinessHoursResponse) ProtoMessage

func (*SetBusinessHoursResponse) ProtoMessage()

func (*SetBusinessHoursResponse) ProtoReflect

func (x *SetBusinessHoursResponse) ProtoReflect() protoreflect.Message

func (*SetBusinessHoursResponse) Reset

func (x *SetBusinessHoursResponse) Reset()

func (*SetBusinessHoursResponse) String

func (x *SetBusinessHoursResponse) String() string

type UnimplementedBusinessHoursServiceServer

type UnimplementedBusinessHoursServiceServer struct{}

UnimplementedBusinessHoursServiceServer 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 (UnimplementedBusinessHoursServiceServer) DeleteBusinessHours

func (UnimplementedBusinessHoursServiceServer) EvaluateBusinessHours

func (UnimplementedBusinessHoursServiceServer) GetBusinessHours

func (UnimplementedBusinessHoursServiceServer) ListBusinessHours

func (UnimplementedBusinessHoursServiceServer) SetBusinessHours

type UnsafeBusinessHoursServiceServer

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

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

type UpdateBusinessHoursInfoRequest

type UpdateBusinessHoursInfoRequest struct {

	// The id of the business hours object
	BusinessHoursId string `protobuf:"bytes,1,opt,name=business_hours_id,json=businessHoursId,proto3" json:"business_hours_id,omitempty"`
	// The updated name of the business hours
	BusinessHoursName string `protobuf:"bytes,2,opt,name=business_hours_name,json=businessHoursName,proto3" json:"business_hours_name,omitempty"`
	// The updated description of the business hours
	Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"`
	// The updated timezone of the business hours
	Timezone commons.TimeZone `protobuf:"varint,4,opt,name=timezone,proto3,enum=api.commons.TimeZone" json:"timezone,omitempty"`
	// Field mask for the update request
	FieldMask *fieldmaskpb.FieldMask `protobuf:"bytes,5,opt,name=field_mask,json=fieldMask,proto3" json:"field_mask,omitempty"`
	// contains filtered or unexported fields
}

Request for updating the business hours info

func (*UpdateBusinessHoursInfoRequest) Descriptor deprecated

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

Deprecated: Use UpdateBusinessHoursInfoRequest.ProtoReflect.Descriptor instead.

func (*UpdateBusinessHoursInfoRequest) GetBusinessHoursId

func (x *UpdateBusinessHoursInfoRequest) GetBusinessHoursId() string

func (*UpdateBusinessHoursInfoRequest) GetBusinessHoursName

func (x *UpdateBusinessHoursInfoRequest) GetBusinessHoursName() string

func (*UpdateBusinessHoursInfoRequest) GetDescription

func (x *UpdateBusinessHoursInfoRequest) GetDescription() string

func (*UpdateBusinessHoursInfoRequest) GetFieldMask

func (*UpdateBusinessHoursInfoRequest) GetTimezone

func (*UpdateBusinessHoursInfoRequest) ProtoMessage

func (*UpdateBusinessHoursInfoRequest) ProtoMessage()

func (*UpdateBusinessHoursInfoRequest) ProtoReflect

func (*UpdateBusinessHoursInfoRequest) Reset

func (x *UpdateBusinessHoursInfoRequest) Reset()

func (*UpdateBusinessHoursInfoRequest) String

type UpdateBusinessHoursInfoResponse

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

Response for updating the business hours info

func (*UpdateBusinessHoursInfoResponse) Descriptor deprecated

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

Deprecated: Use UpdateBusinessHoursInfoResponse.ProtoReflect.Descriptor instead.

func (*UpdateBusinessHoursInfoResponse) ProtoMessage

func (*UpdateBusinessHoursInfoResponse) ProtoMessage()

func (*UpdateBusinessHoursInfoResponse) ProtoReflect

func (*UpdateBusinessHoursInfoResponse) Reset

func (*UpdateBusinessHoursInfoResponse) String

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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