Ggit.DiffFormatEmailOptions

g GObject.Object GObject.Object Ggit.DiffFormatEmailOptions Ggit.DiffFormatEmailOptions GObject.Object->Ggit.DiffFormatEmailOptions

Subclasses:

None

Methods

Inherited:

GObject.Object (37)

Structs:

GObject.ObjectClass (5)

class

new ()

get_author ()

get_body ()

get_flags ()

get_id ()

get_patch_number ()

get_summary ()

get_total_patches ()

set_author (author)

set_body (body)

set_flags (flags)

set_id (id)

set_patch_number (number)

set_summary (summary)

set_total_patches (patches)

Virtual Methods

Inherited:

GObject.Object (7)

Properties

Name

Type

Flags

Short Description

author

Ggit.Signature

r/w

Author

body

str

r/w

Body

flags

Ggit.DiffFormatEmailFlags

r/w

Flags

id

Ggit.OId

r/w

Id

patch-number

int

r/w

Patch number

summary

str

r/w

Summary

total-patches

int

r/w

Total patches

Signals

Inherited:

GObject.Object (1)

Fields

Inherited:

GObject.Object (1)

Name

Type

Access

Description

parent_instance

GObject.Object

r

Class Details

class Ggit.DiffFormatEmailOptions(**kwargs)
Bases:

GObject.Object

Abstract:

No

Structure:

Ggit.DiffFormatEmailOptionsClass

classmethod new()
Returns:

a Ggit.DiffFormatEmailOptions or None.

Return type:

Ggit.DiffFormatEmailOptions or None

Create a new checkout options object.

get_author()
Returns:

a Ggit.Signature or None.

Return type:

Ggit.Signature or None

Get the author.

get_body()
Returns:

the body.

Return type:

str or None

Get the body.

get_flags()
Returns:

a Ggit.DiffFormatEmailFlags.

Return type:

Ggit.DiffFormatEmailFlags

Get the flags.

get_id()
Returns:

a Ggit.OId or None.

Return type:

Ggit.OId or None

Get the object id.

get_patch_number()
Returns:

the patch number.

Return type:

int

Get the patch number.

get_summary()
Returns:

the summary.

Return type:

str or None

Get the summary.

get_total_patches()
Returns:

the total number of patches.

Return type:

int

Get the total number of patches.

set_author(author)
Parameters:

author (Ggit.Signature or None) – a Ggit.Signature.

Set the author.

set_body(body)
Parameters:

body (str or None) – the body.

Set the body.

set_flags(flags)
Parameters:

flags (Ggit.DiffFormatEmailFlags) – a Ggit.DiffFormatEmailFlags.

Set the flags.

set_id(id)
Parameters:

id (Ggit.OId or None) – a Ggit.OId.

Set the object id.

set_patch_number(number)
Parameters:

number (int) – the patch number.

Set the patch number.

set_summary(summary)
Parameters:

summary (str or None) – the summary.

Set the summary.

set_total_patches(patches)
Parameters:

patches (int) – the total number of patches.

Set the total number of patches.

Property Details

Ggit.DiffFormatEmailOptions.props.author
Name:

author

Type:

Ggit.Signature

Default Value:

None

Flags:

READABLE, WRITABLE

Author

Ggit.DiffFormatEmailOptions.props.body
Name:

body

Type:

str

Default Value:

None

Flags:

READABLE, WRITABLE

Body

Ggit.DiffFormatEmailOptions.props.flags
Name:

flags

Type:

Ggit.DiffFormatEmailFlags

Default Value:

Ggit.DiffFormatEmailFlags.NONE

Flags:

READABLE, WRITABLE

Flags

Ggit.DiffFormatEmailOptions.props.id
Name:

id

Type:

Ggit.OId

Default Value:

None

Flags:

READABLE, WRITABLE

Id

Ggit.DiffFormatEmailOptions.props.patch_number
Name:

patch-number

Type:

int

Default Value:

1

Flags:

READABLE, WRITABLE

Patch number

Ggit.DiffFormatEmailOptions.props.summary
Name:

summary

Type:

str

Default Value:

None

Flags:

READABLE, WRITABLE

Summary

Ggit.DiffFormatEmailOptions.props.total_patches
Name:

total-patches

Type:

int

Default Value:

1

Flags:

READABLE, WRITABLE

Total patches